Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use qmake PKGCONFIG instead of manual pkg-config
- Loading branch information
Showing
8 changed files
with
12 additions
and
14 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 |
---|---|---|
|
@@ -7,3 +7,5 @@ Makefile | |
/tmp/* | ||
*.dSYM | ||
*.o | ||
*.dylib | ||
*.so |
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,6 +1,6 @@ | ||
magick++ { | ||
message("Configuring Magick++...") | ||
|
||
QMAKE_CXXFLAGS += `Magick++-config --cppflags --cxxflags --ldflags --libs` | ||
QMAKE_CXXFLAGS += `Magick++-config --cppflags --cxxflags` | ||
QMAKE_LIBS += `Magick++-config --cppflags --cxxflags --ldflags --libs` | ||
} |
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 |
---|---|---|
@@ -1,6 +1,4 @@ | ||
cairo-ps { | ||
message("Configuring cairo-ps...") | ||
|
||
QMAKE_CXXFLAGS +="`pkg-config --cflags cairo-ps`" | ||
QMAKE_LIBS +="`pkg-config --libs cairo-ps`" | ||
PKGCONFIG += cairo-ps | ||
} |
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 |
---|---|---|
|
@@ -22,6 +22,7 @@ macx { | |
} | ||
} | ||
|
||
CONFIG += link_pkgconfig | ||
include(boost.pri) | ||
include(ghostscript.pri) | ||
include(X11.pri) | ||
|
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,5 +1,4 @@ | ||
gio { | ||
message("Configuring gio...") | ||
QMAKE_CXXFLAGS +="`pkg-config --cflags gio-unix-2.0`" | ||
QMAKE_LIBS +="`pkg-config --libs gio-unix-2.0`" | ||
PKGCONFIG += gio-unix-2.0 | ||
} |
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,6 +1,4 @@ | ||
libxml++ { | ||
message("Configuring libxml++...") | ||
|
||
QMAKE_CXXFLAGS +="`pkg-config --cflags libxml++-2.6`" | ||
QMAKE_LIBS +="`pkg-config --libs libxml++-2.6`" | ||
PKGCONFIG += libxml++-2.6 | ||
} |
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,6 +1,4 @@ | ||
rsvg { | ||
message("Configuring rsvg...") | ||
|
||
QMAKE_CXXFLAGS += `pkg-config --cflags librsvg-2.0` | ||
QMAKE_LIBS += `pkg-config --libs librsvg-2.0` | ||
PKGCONFIG += librsvg-2.0 | ||
} |