On quarta-feira, 28 de junho de 2017 01:53:18 PDT René J. V. Bertin wrote: > I thought it might be something like that. Can one at least be certain that > the headers are normally installed under QT_INSTALL_HEADERS and the > libraries in QT_INSTALL_LIBS, and my approach below should thus work not > just on my own system?
Remember that all of those are static libraries and you need to link to your indirect dependencies. That information is saved in the .prl file for the library (there's also an .la file). For example, EglSupport has: QMAKE_PRL_LIBS = -L/home/tjmaciei/obj/qt/qt5/qtbase/lib -lQt5Gui.t -lQt5Core.t -lpthread -ldl -lXext -lX11 -lm -lEGL -lGL So you must read either the .prl file or the .la file. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
