mirror of
https://github.com/Fishwaldo/ozw-admin.git
synced 2025-03-15 19:31:38 +00:00
Merge pull request #30 from bwachter/master
Fix building with system wide qt-openzwave
This commit is contained in:
commit
c10258c75f
2 changed files with 5 additions and 5 deletions
|
@ -117,13 +117,13 @@ unix {
|
|||
INCLUDEPATH+=$$QTOZW_INCLUDE_PATH
|
||||
LIBS+=$$QTOZW_LIBS
|
||||
} else {
|
||||
packagesExist("libqt-openzwave") {
|
||||
PKGCONFIG += libqt-openzwave
|
||||
packagesExist("qt-openzwave") {
|
||||
PKGCONFIG += qt-openzwave
|
||||
message(" ")
|
||||
message("QT-OpenZWave Summary:")
|
||||
message(" Using QT-OpenZWave from pkg-config:")
|
||||
message(" CXXFLAGS: $$system($$PKG_CONFIG --cflags libqt-openzwave)")
|
||||
message(" LDFLAGS: $$system($$PKG_CONFIG --libs libqt-openzwave)")
|
||||
message(" CXXFLAGS: $$system($$PKG_CONFIG --cflags qt-openzwave)")
|
||||
message(" LDFLAGS: $$system($$PKG_CONFIG --libs qt-openzwave)")
|
||||
message(" ")
|
||||
} else {
|
||||
error("Can't find QT-OpenZWave Library and Headers");
|
||||
|
|
|
@ -66,7 +66,7 @@ include(../ozw-admin.pri)
|
|||
unix {
|
||||
target.path = /usr/local/bin
|
||||
INSTALLS += target
|
||||
LIBS += -L../devicedb-lib/ -ldevicedb-lib -L../ozwadmin-widgets/ -lozwadmin-widgets
|
||||
LIBS += -L../devicedb-lib/ -ldevicedb-lib -L../ozwadmin-widgets/ -lozwadmin-widgets -lqt-openzwavedatabase
|
||||
}
|
||||
windows {
|
||||
CONFIG(debug, debug|release) {
|
||||
|
|
Loading…
Add table
Reference in a new issue