diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2015-08-11 09:36:32 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2015-08-11 09:36:32 +0000 |
| commit | eb7068445dc17ce5f4b163fa3f4bb95b433da259 (patch) | |
| tree | ddc77b90f0e00385f4746b5b012c4bbdc40cb06c /src/plugins/Ui/qsui | |
| parent | 4bdc9e68cc092a5a445022cf07a561d884cb2a13 (diff) | |
| download | qmmp-eb7068445dc17ce5f4b163fa3f4bb95b433da259.tar.gz qmmp-eb7068445dc17ce5f4b163fa3f4bb95b433da259.tar.bz2 qmmp-eb7068445dc17ce5f4b163fa3f4bb95b433da259.zip | |
fixed qmake support
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@5370 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Ui/qsui')
| -rw-r--r-- | src/plugins/Ui/qsui/qsui.pro | 42 |
1 files changed, 18 insertions, 24 deletions
diff --git a/src/plugins/Ui/qsui/qsui.pro b/src/plugins/Ui/qsui/qsui.pro index 457e11d8d..8363c8eec 100644 --- a/src/plugins/Ui/qsui/qsui.pro +++ b/src/plugins/Ui/qsui/qsui.pro @@ -70,7 +70,6 @@ HEADERS += mainwindow.h \ listwidgetdrawer.h \ playlistheader.h \ hotkeyeditor.h -TEMPLATE = lib FORMS += forms/mainwindow.ui \ forms/shortcutdialog.ui \ @@ -81,37 +80,32 @@ FORMS += forms/mainwindow.ui \ forms/hotkeyeditor.ui RESOURCES += translations/translations.qrc resources/qsui_resources.qrc txt/qsui_txt.qrc -contains(CONFIG, SVN_VERSION){ - DEFINES += QMMP_PLUGIN_PACK_VERSION=\\\"$$QMMP_PLUGIN_PACK_VERSION-dev\\\" -} -else{ - DEFINES += QMMP_PLUGIN_PACK_VERSION=\\\"$$QMMP_PLUGIN_PACK_VERSION\\\" -} - -unix { - isEmpty(LIB_DIR):LIB_DIR = /lib - target.path = $$LIB_DIR/qmmp/Ui - INSTALLS += target - - PKGCONFIG += qmmp qmmpui - QMAKE_CLEAN = $$PLUGINS_PREFIX/Ui/libqsui.so -} - -win32 { - INCLUDEPATH += ../../ ./ - QMAKE_LIBDIR += ../../../../bin - LIBS += -lqmmp0 -lqmmpui0 -} - - +TEMPLATE = lib +unix:QMAKE_LIBDIR += ../../../../lib +unix:LIBS += -lqmmpui -lqmmp +win32:QMAKE_LIBDIR += ../../../../bin +win32:LIBS += -lqmmpui0 -lqmmp0 +CONFIG += warn_on \ + plugin +TARGET = $$PLUGINS_PREFIX/Ui/qsui +unix:LIBS += -lqmmp -lqmmpui +win32:LIBS += -lqmmp0 -lqmmpui0 +unix{ +isEmpty(LIB_DIR){ +LIB_DIR = /lib +} +target.path = $$LIB_DIR/qmmp/Ui +INSTALLS += target +} +INCLUDEPATH += ../../../ |
