libnm-qt Qt5 port: -fPIC or fPIE needed?
Stephen Kelly
steveire at gmail.com
Thu Oct 10 16:18:44 UTC 2013
Sebastian Kügler wrote:
> Could anyone give me a hint how to fix this?
>
You are apparently using empty variables like ${QT_QTCORE_LIBRARY}. Those
are not defined in Qt 5.
-target_link_libraries(NetworkManagerQt ${MODEMMANAGERQT_LIBRARY}
${QT_QTCORE_LIBRARY} ${QT_QTDBUS_LIBRARY} ${QT_QTNETWORK_LIBRARY})
+target_link_libraries(NetworkManagerQt ${MODEMMANAGERQT_LIBRARY} Qt5::DBus
Qt5::Network)
Thanks,
Steve.
More information about the Kde-frameworks-devel
mailing list