diff --git a/plugins/samplesource/filesource/filesource.pro b/plugins/samplesource/filesource/filesource.pro new file mode 100644 index 000000000..0d960808c --- /dev/null +++ b/plugins/samplesource/filesource/filesource.pro @@ -0,0 +1,33 @@ +#-------------------------------------------------------- +# +# Pro file for Android and Windows builds with Qt Creator +# +#-------------------------------------------------------- + +TEMPLATE = lib +CONFIG += plugin + +QT += core gui widgets multimedia + +TARGET = inputfilesource +INCLUDEPATH += $$PWD +INCLUDEPATH += ../../../sdrbase + +CONFIG(release): build_subdir = release +CONFIG(debug): build_subdir = debug + +SOURCES += filesourcegui.cpp\ + filesourceinput.cpp\ + filesourceplugin.cpp\ + filesourcethread.cpp + +HEADERS += filesourcegui.h\ + filesourceinput.h\ + filesourceplugin.h\ + filesourcethread.h + +FORMS += filesourcegui.ui + +LIBS += -L../../../sdrbase/$${build_subdir} -lsdrbase + +RESOURCES = ../../../sdrbase/resources/res.qrc diff --git a/sdrangel.windows.pro b/sdrangel.windows.pro index dffc6adf4..15c106429 100644 --- a/sdrangel.windows.pro +++ b/sdrangel.windows.pro @@ -6,6 +6,7 @@ TEMPLATE = subdirs SUBDIRS = sdrbase +SUBDIRS += plugins/samplesource/filesource # Main app must be last CONFIG += ordered diff --git a/sdrbase/plugin/pluginmanager.cpp b/sdrbase/plugin/pluginmanager.cpp index 3192c1a92..d111bf09f 100644 --- a/sdrbase/plugin/pluginmanager.cpp +++ b/sdrbase/plugin/pluginmanager.cpp @@ -448,7 +448,7 @@ void PluginManager::loadPlugins(const QDir& dir) foreach (QString fileName, pluginsDir.entryList(QDir::Files)) { - if (fileName.endsWith(".so")) + if (fileName.endsWith(".so") || fileName.endsWith(".dll")) { qDebug() << "PluginManager::loadPlugins: fileName: " << qPrintable(fileName);