But if I'm trying to build Qt as follows:
 
set QTDIR=h:\Qt\build-vs2010x32-5.0\qtbase
set PATH=%QTDIR%\bin;%PATH%
 
h:\qt\qt5\configure ^
-debug-and-release ^
-platform win32-msvc2010
-opensource ^
-nomake examples ^
-nomake demos ^
--no-webkit
 
And if then I run a simple GUI application:
 
QT+=widgets
 
#include<QtWidgets/QApplication>
#include<QtWidgets/QLabel>
intmain(intargc,char*argv[])
{
QApplicationa(argc,argv);
QLabelw;
w.setText("blabla");
w.show();
returna.exec();
}
 
then in the console displays the message:
Starting C:\Temp\untitled123-build-desktop-Qt_5_0_0__build-vs2010x32-5_0__Release\release\untitled123.exe...

Cannot retrieve debugging output.

C:\Temp\untitled123-build-desktop-Qt_5_0_0__build-vs2010x32-5_0__Release\release\untitled123.exe exited with code 1

What is it? How to solve the problem?
 
Best regards,
Denis
 
13.03.2012, 23:16, "Denis Shienkov" <[email protected]>:
Hi all.

I can not run GUI application built in "Release" mode.

In the console displays the error:
 "No platform plugin argument was specified and the default plugin "windows" is not available"

What could it be?

PS:
Qt5 (qtbase)  built in Win7 x32 with Windows SDK 7.1:

set QTDIR=c:\Qt\qt5-build\qtbase
set PATH=%QTDIR%\bin;%PATH%

c:\Qt\qt5-src\configure ^
-developer-build ^
-opensource ^
-nomake examples ^
-nomake demos

nmake module-qtbase


Best regards,
Denis

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to