[Qt-creator] Linking error when building 4.7.2

Christian Kandeler Christian.Kandeler at qt.io
Thu Oct 25 11:02:40 CEST 2018


On Thu, 25 Oct 2018 10:33:54 +0200
Davide Coppola <vivaladav at gmail.com> wrote:

> I can't manage to build 4.7.2 (after checking out the git tag) because of
> the following linking error:
> 
> lib/qtcreator/libqbsqtprofilesetup.so: undefined reference to
> `QQmlPrivate::qmlregister(QQmlPrivate::RegistrationType, void*)'
> 
> I have Qt 5.11.2 installed on my system and everything is fine when I build
> master.

That's https://bugreports.qt.io/browse/QTCREATORBUG-21340. If you are using Qt Creator to build, you need to
uncheck "Enable Qt Quick Compiler" in the qmake build step.


Christian



More information about the Qt-creator mailing list