Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
5.3.1
-
None
-
Windows XP Pro SP3
Description
Error is with this commit:
https://qt.gitorious.org/qt/qtbase/commit/817fe67839154e43998df2f459becf5e08fa5b8b
Improve COM error handling in the Windows platform plugin.
2014-04-24 13:09
All is ok with previous commit:
https://qt.gitorious.org/qt/qtbase/commit/61ce16d25c1eb837f93ab737cafe36893e27e0d3
Stabilize tst_qfilesystemmodel::rowsInserted() on Windows.
2014-04-23 16:51
I applied this commit by hand in each case:
https://qt.gitorious.org/qt/qtbase/commit/1cb0cd9e7a381636455bb147f93cc0c7cc92565f
Windows printer support: Fix linking problem when built with -no-opengl
2014-04-22 12:01
Problem is with the file:
qtbase\src\plugins\platforms\windows\qwindowscontext.cpp
Test project:
test.pro:
QT += core gui QT += widgets TARGET = test TEMPLATE = app SOURCES += main.cpp
main.cpp:
#include <QApplication> #include <QMainWindow> int main(int argc, char *argv[]) { QApplication a(argc, argv); QMainWindow w; w.show(); return a.exec(); }
Popup window after run:
Microsoft Visual C++ Runtime Library
Runtime Error!
Program: ...\test.exe
This application has requested the Runtime to terminate it in an unusual way
Console out:
Debugging starts This application failed to start because it could not find or load the Qt platform plugin "windows". Available platform plugins are: minimal, offscreen, windows. Reinstalling the application may fix this problem.
Debugger Log out:
=library-loaded,id="E:\\Dev\\Tools\\Qt\\5.3.1-test\\plugins\\platforms\\qwindowsd.dll",target-name="E:\\Dev\\Tools\\Qt\\5.3.1-test\\plugins\\platforms\\qwindowsd.dll",host-name="E:\\Dev\\Tools\\Qt\\5.3.1-test\\plugins\\platforms\\qwindowsd.dll",symbols-loaded="0",thread-group="i1" sLibrary E:\Dev\Tools\Qt\5.3.1-test\plugins\platforms\qwindowsd.dll loaded >=library-unloaded,id="E:\\Dev\\Tools\\Qt\\5.3.1-test\\plugins\\platforms\\qwindowsd.dll",target-name="E:\\Dev\\Tools\\Qt\\5.3.1-test\\plugins\\platforms\\qwindowsd.dll",host-name="E:\\Dev\\Tools\\Qt\\5.3.1-test\\plugins\\platforms\\qwindowsd.dll",thread-group="i1" sLibrary E:\Dev\Tools\Qt\5.3.1-test\plugins\platforms\qwindowsd.dll unloaded This application failed to start because it could not find or load the Qt platform plugin "windows". Available platform plugins are: minimal, offscreen, windows. Reinstalling the application may fix this problem. My environment for build of qtbase: CPU: Intel Core2Duo Windows XP Pro SP3 + updates minGW-w64 (32 bit) from: http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/ Same behavior with such versions of minGW-w64 (from files): i686-4.8.2-release-posix-dwarf-rt_v3-rev3.7z i686-4.8.2-release-posix-dwarf-rt_v3-rev4.7z i686-4.9.0-release-posix-dwarf-rt_v3-rev1.7z set LANG=en set TEMP=C:\temp set TMP=C:\temp set DXSDK_DIR=E:\Dev\libs\Microsoft_DirectX_SDK_June_2010\ set QT_WORK_MY=E:\Dev\Qt-build set QT_SRC_MY=%QT_WORK_MY%\qt5-t set QT_BUILD_MY=%QT_WORK_MY%\qt5-t-build set QT_DST_MY=E:\Dev\Tools\Qt\5.3.1-test set MSYS32_HOME_MY=E:\Dev\Tools\msys32 set MINGW32_HOME_MY=E:\Dev\Tools\mingw32-i686-4.9.0-posix-dwarf-v3-rev1 set PATH=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem set PATH=%QT_SRC_MY%\qtbase\bin;%PATH% set PATH=%QT_SRC_MY%\gnuwin32\bin;%PATH% set PATH=E:\Dev\Tools\Ruby200-p451\bin;%PATH% set PATH=E:\Dev\Tools\PerlActive-5.18.2\bin;%PATH% set PATH=E:\Dev\Tools\Python34;%PATH% set PATH=%MINGW32_HOME_MY%\bin;%PATH% rem OpenSSL set OPENSSL_DST=%MSYS32_HOME_MY%\local32\dst\openssl set PATH=%PATH%;%OPENSSL_DST%\bin set INCLUDE=%INCLUDE%;%OPENSSL_DST%\include set LIB=%LIB%;%OPENSSL_DST%\lib rem ICU set ICU_DST=%MSYS32_HOME_MY%\local32\dst\icu set PATH=%PATH%;%ICU_DST%\lib set INCLUDE=%INCLUDE%;%ICU_DST%\include set LIB=%LIB%;%ICU_DST%\lib mkdir %QT_BUILD_MY% cd %QT_BUILD_MY% %QT_SRC_MY%\configure -prefix %QT_DST_MY% -opensource -confirm-license -debug -shared -platform win32-g++ -c++11 -no-openssl -icu -no-opengl -qt-sql-sqlite -qt-zlib -qt-pcre -fontconfig -no-dbus -no-qml-debug -no-harfbuzz -no-compile-examples -nomake tests -nomake examples 1>log-config-1.txt 2>log-config-2.txt && mingw32-make -j 2 1>log-make-1.txt 2>log-make-2.txt && mingw32-make install 1>log-install-1.txt 2>log-install-2.txt My environment for run test-console in Qt Creator: Windows XP Pro SP3 + updates Qt Creator 3.1.0 set LANG=en set TEMP=C:\temp set TMP=C:\temp set DXSDK_DIR=E:\Dev\libs\Microsoft_DirectX_SDK_June_2010\ set QT_WORK_MY=E:\Dev\Qt-build set QT_SRC_MY=%QT_WORK_MY%\qt5-t set MSYS32_HOME_MY=E:\Dev\Tools\msys32 set PATH=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem set PATH=%QT_SRC_MY%\gnuwin32\bin;%PATH% set PATH=E:\Dev\Tools\Ruby200-p451\bin;%PATH% set PATH=E:\Dev\Tools\PerlActive-5.18.2\bin;%PATH% set PATH=E:\Dev\Tools\Python34;%PATH% set PATH=E:\Dev\Tools\cmake-2.8\bin;%PATH% rem OpenSSL set OPENSSL_DST=%MSYS32_HOME_MY%\local32\dst\openssl set PATH=%PATH%;%OPENSSL_DST%\bin set INCLUDE=%INCLUDE%;%OPENSSL_DST%\include set LIB=%LIB%;%OPENSSL_DST%\lib rem ICU set ICU_DST=%MSYS32_HOME_MY%\local32\dst\icu set PATH=%PATH%;%ICU_DST%\lib set INCLUDE=%INCLUDE%;%ICU_DST%\include set LIB=%LIB%;%ICU_DST%\lib set PATH=E:\Dev\Tools\Qt\Tools\QtCreator\bin;%PATH% qtcreator.exe
Attachments
Issue Links
- is replaced by
-
QTBUG-35617 Entry point not found swprintf_s in the dynamic link library msvcrt.dll
-
- Closed
-