[Development] A bug of uic.exe in Qt5?

Thiago Macieira thiago.macieira at intel.com
Sat Jul 21 18:11:53 CEST 2012


On sábado, 21 de julho de 2012 23.23.34, Yang Fan wrote:
> Hi list,
> 
> I'm trying to port my application from Qt 4.8 to Qt 5, but I'm stopped at
> the first stage, the compiler complains it can't handle the files generated
> by uic.exe. It seems that there's a new module named QtWidgets, and several
> header files are placed in the QtWidgets folder, but the uic.exe tool
> generates the files which include the headers, for example, QAction, QLabel
> and so on, still point to QtGui folder. Is it a bug of uic.exe in Qt5? Or
> did I miss anything?

You've probably used the wrong uic. Or your .ui file contains hardcoded paths.
-- 
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/20120721/1d6ec741/attachment.sig>


More information about the Development mailing list