X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=main.cpp;h=d3c52adb15ebee8c03dbe52bf20c871d7d330440;hb=refs%2Fheads%2Fmaster;hp=3a5ac29fc2bca41ae597f812ee90d88040b2a02f;hpb=f1e9295aa5b9ff538c30b7c799a9c6b0efbfca3b;p=pulseview.git diff --git a/main.cpp b/main.cpp index 3a5ac29f..0867187c 100644 --- a/main.cpp +++ b/main.cpp @@ -70,9 +70,11 @@ #ifdef _WIN32 #include +#ifdef QT_STATIC Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin) Q_IMPORT_PLUGIN(QSvgPlugin) #endif +#endif using std::exception; using std::ifstream; @@ -330,7 +332,7 @@ int main(int argc, char *argv[]) // Create the device manager, initialise the drivers pv::DeviceManager device_manager(context, driver, do_scan); - a.collect_version_info(context); + a.collect_version_info(device_manager); if (show_version) { a.print_version_info(); } else {