diff options
-rw-r--r-- | lumina-config/lumina-config.pro | 7 | ||||
-rw-r--r-- | lumina-desktop/lumina-desktop.pro | 7 | ||||
-rw-r--r-- | lumina-fm/lumina-fm.pro | 6 | ||||
-rw-r--r-- | lumina-open/lumina-open.pro | 7 | ||||
-rw-r--r-- | lumina-screenshot/lumina-screenshot.pro | 5 | ||||
-rw-r--r-- | lumina-search/lumina-search.pro | 6 |
6 files changed, 28 insertions, 10 deletions
diff --git a/lumina-config/lumina-config.pro b/lumina-config/lumina-config.pro index ba2e96cf..2ddce0ed 100644 --- a/lumina-config/lumina-config.pro +++ b/lumina-config/lumina-config.pro @@ -40,7 +40,12 @@ INCLUDEPATH += ../libLumina $$PREFIX/include LIBS += -L../libLumina -L$$LIBPREFIX -lLuminaUtils -LRELEASE = $$LIBPREFIX/qt5/bin/lrelease +isEmpty(QT5LIBDIR) { + QT5LIBDIR = $$PREFIX/lib/qt5 +} + +LRELEASE = $$QT5LIBDIR/bin/lrelease + QMAKE_LIBDIR = ../libLumina DEPENDPATH += ../libLumina diff --git a/lumina-desktop/lumina-desktop.pro b/lumina-desktop/lumina-desktop.pro index 5258eca3..2d2085fc 100644 --- a/lumina-desktop/lumina-desktop.pro +++ b/lumina-desktop/lumina-desktop.pro @@ -18,7 +18,12 @@ DEPENDPATH += ../libLumina TEMPLATE = app -LRELEASE = $$LIBPREFIX/qt5/bin/lrelease +isEmpty(QT5LIBDIR) { + QT5LIBDIR = $$PREFIX/lib/qt5 +} + +LRELEASE = $$QT5LIBDIR/bin/lrelease + SOURCES += main.cpp \ WMProcess.cpp \ diff --git a/lumina-fm/lumina-fm.pro b/lumina-fm/lumina-fm.pro index ad6b9a2f..8809a2b7 100644 --- a/lumina-fm/lumina-fm.pro +++ b/lumina-fm/lumina-fm.pro @@ -40,11 +40,7 @@ INCLUDEPATH += ../libLumina $$PREFIX/include LIBS += -L../libLumina -L$$LIBPREFIX -lLuminaUtils -openbsd-g++4 { - LRELEASE = lrelease4 -} else { - LRELEASE = $$QT5LIBDIR/bin/lrelease -} +LRELEASE = $$QT5LIBDIR/bin/lrelease QMAKE_LIBDIR = ../libLumina DEPENDPATH += ../libLumina diff --git a/lumina-open/lumina-open.pro b/lumina-open/lumina-open.pro index 37f55e32..ade86be1 100644 --- a/lumina-open/lumina-open.pro +++ b/lumina-open/lumina-open.pro @@ -28,7 +28,12 @@ LIBS += -L../libLumina -L$$LIBPREFIX -lLuminaUtils QMAKE_LIBDIR = ../libLumina DEPENDPATH += ../libLumina -LRELEASE = $$LIBPREFIX/qt5/bin/lrelease +isEmpty(QT5LIBDIR) { + QT5LIBDIR = $$PREFIX/lib/qt5 +} + +LRELEASE = $$QT5LIBDIR/bin/lrelease + TRANSLATIONS = i18n/lumina-open_af.ts \ i18n/lumina-open_ar.ts \ diff --git a/lumina-screenshot/lumina-screenshot.pro b/lumina-screenshot/lumina-screenshot.pro index ed1979bf..fd3609f3 100644 --- a/lumina-screenshot/lumina-screenshot.pro +++ b/lumina-screenshot/lumina-screenshot.pro @@ -25,8 +25,11 @@ INCLUDEPATH += ../libLumina $$PREFIX/include LIBS += -L../libLumina -L$$LIBPREFIX -lLuminaUtils -LRELEASE = $$LIBPREFIX/qt5/bin/lrelease +isEmpty(QT5LIBDIR) { + QT5LIBDIR = $$PREFIX/lib/qt5 +} +LRELEASE = $$QT5LIBDIR/bin/lrelease QMAKE_LIBDIR = ../libLumina DEPENDPATH += ../libLumina diff --git a/lumina-search/lumina-search.pro b/lumina-search/lumina-search.pro index 410592d3..f81b4b4f 100644 --- a/lumina-search/lumina-search.pro +++ b/lumina-search/lumina-search.pro @@ -27,7 +27,11 @@ INCLUDEPATH += ../libLumina $$PREFIX/include LIBS += -L../libLumina -L$$LIBPREFIX -lLuminaUtils -LRELEASE = $$LIBPREFIX/qt5/bin/lrelease +isEmpty(QT5LIBDIR) { + QT5LIBDIR = $$PREFIX/lib/qt5 +} + +LRELEASE = $$QT5LIBDIR/bin/lrelease QMAKE_LIBDIR = ../libLumina |