From: Luís P. <lui...@gm...> - 2013-11-26 00:04:09
|
On Sat, Nov 23, 2013 at 6:14 AM, Damian Ivanov <dam...@gm...> wrote: > The question was not about to compile libqtxdg with qmake but how to > use it within another project (using qmake). > I figured it out anyway: > > unix:!macx: LIBS += -L$PWD/../../../usr/lib64/ -lQt5Xdg > INCLUDEPATH += $PWD/../../../usr/lib64 > DEPENDPATH += $PWD/../../../usr/lib64 > > replace the path with yours. You can use pkg-config with qmake. Check the Configuration Features at: http://qt-project.org/doc/qt-4.8/qmake-project-files.html#configuration-features Regards, -- Luís Pereira |