Re: [Development] Windows: Qt5 does not run the application in release mode.
But if I'm trying to build Qt as follows: set QTDIR=h:\Qt\build-vs2010x32-5.0\qtbaseset 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 #includeQtWidgets/QApplication#includeQtWidgets/QLabelintmain(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 1What is it? How to solve the problem? Best regards, Denis 13.03.2012, 23:16, "Denis Shienkov" scap...@yandex.ru: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 listDevelopment@qt-project.orghttp://lists.qt-project.org/mailman/listinfo/development___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
Re: [Development] Windows: Qt5 does not run the application in release mode.
Hi Denis, It looks like the plugins are only built for debug mode. In qtbase/plugins/platform, there are only windowsd5.* files, and not the windows5.* files for release mode. This problem is repeated through the other plugin directories. The missing plugins can be built by running “nmake release” From: development-bounces+shane.kearns=accenture@qt-project.org [mailto:development-bounces+shane.kearns=accenture@qt-project.org] On Behalf Of Denis Shienkov Sent: 13 March 2012 19:16 To: development@qt-project.org Subject: [Development] Windows: Qt5 does not run the application in release mode. 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 Subject to local law, communications with Accenture and its affiliates including telephone calls and emails (including content), may be monitored by our systems for the purposes of security and the assessment of internal compliance with Accenture policy. __ www.accenture.com Subject to local law, communications with Accenture and its affiliates including telephone calls and emails (including content), may be monitored by our systems for the purposes of security and the assessment of internal compliance with Accenture policy. __ www.accenture.com ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
[Development] Windows: Qt5 does not run the application in release mode.
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 Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development