[SailfishDevel] Can't use QDeviceInfo

tw_bolek tw_bolek at op.pl
Wed Sep 16 20:55:10 UTC 2015


> do you have such in your .pro
> CONFIG += link_pkgconfig
> PKGCONFIG += Qt5SystemInfo

Just added:

CONFIG += sailfishapp \
       link_pkgconfig
PKGCONFIG += Qt5SystemInfo

Now I get:

undefined reference to `SailfishApp::main(int&, char**)'



More information about the Devel mailing list