Peppy
7th October 2010, 19:51
I have compiled small exe just few kB ( GUI + CORE ) and It requires QtCored4.dll QtGuid4.dll ?! It has 177 MB ! I have Qt 4.7 And code is in main.cpp
#include <QtGui/QApplication>
#include <QMessageBox>
#include <QLibrary>
int main(int argc, char *argv[])
{
QApplication Studio(argc, argv);
if(QLibrary::isLibrary("Studio.Core")) {
//...
} else {
//...
}
return Studio.exec();
}
Why? I remember that it was using QtCore4.dll and QtGui4.dll (33MB) I used CONFIG += static but still nothing...
#include <QtGui/QApplication>
#include <QMessageBox>
#include <QLibrary>
int main(int argc, char *argv[])
{
QApplication Studio(argc, argv);
if(QLibrary::isLibrary("Studio.Core")) {
//...
} else {
//...
}
return Studio.exec();
}
Why? I remember that it was using QtCore4.dll and QtGui4.dll (33MB) I used CONFIG += static but still nothing...