[Development] [Interest] Warining about: Project WARNING: QtGui cannot have a QT of gui

Thiago Macieira thiago.macieira at intel.com
Tue May 22 10:45:46 CEST 2012


On terça-feira, 22 de maio de 2012 07.32.41, song.7.liu at nokia.com wrote:
> Hi,
> 
> I am building the Qt5, but could somebody point out what's the possible
> cause of: Project WARNING: QtGui cannot have a QT of gui
>    ?
> 
> Any information is appreciated ;)

Please keep Qt 5 development discussions to the dev mailing list.

That error means that QtGui's .pro file (gui.pro) has QT += gui, which makes no 
sense. QtGui cannot link to QtGui. That would be an interesting variation of 
the chicken-and-the-egg: the older chicken depends on the young chick. Or 
something along those lines....

Check if someone added that by accident. It's unlikely.

If that isn't the case, use qmake -d -d and analyse the output to see where 
that "gui" came from. More than likely, qmake read some other file it wasn't 
supposed to.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120522/6ec38bfa/attachment.sig>


More information about the Development mailing list