[Qt-interest] Problem including QtUiModule

Patric userqt at gmail.com
Wed Jun 3 20:18:02 CEST 2009


Hello, 
I can't load the Qt Ui Module. 
http://doc.trolltech.com/4.5/qtuitools.html

I added 
CONFIG += uitools in my pro file 
and also 
#include <QtUiTools> in my implementation file. 


# -------------------------------------------------
# Project created by QtCreator 2009-06-03T19:59:44

# -------------------------------------------------

QT += network

CONFIG += uitools







#include "systemconfigurationtab.h"


#include <QtUiTools>


SystemConfigurationTab::SystemConfigurationTab(QWidget *parent)

: QWidget(parent)

{

QUiLoader loader;


}



Here is the error : 



D:\Qt\2009.02\mingw\bin\mingw32-make.exe: Leaving directory `D:/Documents and Settings/Secret/Desktop/workspace/Project

D:\Qt\2009.02\mingw\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -lQtUiToolsd

collect2: ld returned 1 exit status

mingw32-make.exe[1]: *** [debug\Project.exe] Error 1

D:\Qt\2009.02\mingw\bin\mingw32-make.exe: *** [debug] Error 2

Exited with code 2.

Error while building project Project

When executing build step 'Make' 





Where is the problem here ? 



Regards,

Patric



__________ Information from ESET NOD32 Antivirus, version of virus signature database 4098 (20090522) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090603/9d3dc70d/attachment.html 


More information about the Qt-interest-old mailing list