Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change default library target to -qt5. but not sensord
- Loading branch information
Lorn Potter
committed
Apr 23, 2013
1 parent
fd116bc
commit 4f7bd47
Showing
11 changed files
with
117 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,3 +28,7 @@ profile { | |
profile-libc { | ||
QMAKE_LFLAGS += -lc_p | ||
} | ||
|
||
equals(QT_MAJOR_VERSION, 5):{ | ||
TARGET = $$TARGET-qt5 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
prefix=/usr | ||
includedir=${prefix}/include/sensord | ||
libdir=${prefix}/lib/ | ||
|
||
Name: Sensord-qt5 | ||
Description: Sensord for Qt 5 | ||
Version: 0.7.2.1 | ||
Requires: | ||
Libs: -L${libdir} -lsensorclient-qt5 -lsensordatatypes-qt5 | ||
Cflags: -I${includedir} -I${includedir}/datatypes -I${includedir}/filters |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
LIBS += -L/usr/lib/ -lsensorclient -lsensordatatypes | ||
|
||
equals(QT_MAJOR_VERSION, 4):{ | ||
LIBS += -L/usr/lib/ -lsensorclient -lsensordatatypes | ||
} | ||
|
||
equals(QT_MAJOR_VERSION, 5):{ | ||
LIBS += -L/usr/lib/ -lsensorclient-qt5 -lsensordatatypes-qt5 | ||
} | ||
|
||
DEPENDPATH += /usr/include/sensord | ||
INCLUDEPATH += /usr/include/sensord /usr/include/sensord/datatypes /usr/include/sensord/filters |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters