I am working on Qt5.0.0rc2 and build for VS2010 64bit. I installed the VS AddIn for the RC2. Compiling was successful with minor problems as ending 5s in the names of the libs preconfigured with the VSAddIn. Thats all Ok for me. I started a debug session and got the error message stated above. Failed to load platform plugin 'windows'. Sleek bill keygen crack mac.
Qt 5.1.1: Application failed to start because platform plugin “windows” is missing. Edit: Some people started to mark my question as a duplicate. Do not forget that many similar questions existed when I asked this one (see e.g. The list below). However, none of these answers solved my problem.
Available platforms are: none. No platforms were listed. I think there is one more abstraction layer introduced in Qt4.8 and mandatory for Qt5.0 but I do not find a way or hint how to build this plugins. Thanx, Harald. Lukas - can you create sticky threads?
Threads like 'can't run from cmd' or 'work's fine in creator but not on other machines' about the proper deployment on windows seem to flood this forum lately so maybe it would be beneficial to create a sticky thread with a simple 'what you need' for each compiler eg. For MSVC: AppDir/App.exe AppDir/Qt5Core.dll AppDir/Qr5Gui.dll. • install MSVC runtime package What do you think?
[quote author='Krzysztof Kawa' date='] • install MSVC runtime package[/quote] Just a note about this: With VS2008 (MSVC 9.0) we indeed have to install the MSVC Runtime package, by running the MSVC Redistributable setup program. That's because VS2008 (and VS2005 too) uses WinSxS to manage the CRT DLL's - putting the required CRT DLL's into the same folder as the EXE file does not work. They have to be 'registered' with WinSxS.
Fortunately with VS2010 and VS2012 Mircrosoft has changed this again, so now the CRT DLL's are just 'normal' DLL's you can put into the same folder as the EXE file and that's it:-) And another pitfall: If you use a different compiler for your EXE file than for the Qt DLL's - for example you compile your EXE with MSVC 11.0 but then use the pre-compiled Qt DLL's (with MSVC 10.0) from the official 'Qt libraries' package - you will end up with an EXE file that needs the CRT DLL's of MSVC 11.0, but also depends on the Qt DLL's that in turn need the CRT DLL's of MSVC 10.0. In the end you will have to ship both versions of the CRT DLL's for the application to work. This is easy to miss, because on a developer's machine usually all the run-times will be installed globally - because Visual Studio has been installed on the machine. Conclusion: Whenever possible (e.g. License-wise) use the static Qt DLL's with the static MSVC CRT:-))). Hello all I am using MSVC 2012 and I am migrating from Qt4.8 to Qt.5.1 (or.2 I see it is available now) I want to design a program which works on any PC (either XP, W7 and W8): checking this is cumbersome since my design PC has installe Qt and MSVC redistributable (as part of MSVC2012). In fact the program works perfectly on my PC.
I am distributing the program with the InstallShield package which come for free with MSVC2012 I understand I need to support the MSVC run time support (done) If I run my application on most of PC I get the infamous error: 'This application failed to start because it could not find or load the Qt platform plugin 'windows' ' I tried to manually add in the application path of the target pc (not my pc) the directories plugins/platforms/ and put qwindows.dll inside but did not help I am using MSVC project file and InstallShield (as I said). I can see many discussion on this point but I cannot find a conclusive solution for me. What perfectly worked with Qt4 now is not with Qt 5. Thanks for your help. I am having the same problem.
I am working on Qt5.0.0rc2 and build for VS2010 64bit. I installed the VS AddIn for the RC2. Compiling was successful with minor problems as ending 5s in the names of the libs preconfigured with the VSAddIn. Thats all Ok for me. I started a debug session and got the error message stated above. Failed to load platform plugin 'windows'. Sleek bill keygen crack mac.
Qt 5.1.1: Application failed to start because platform plugin “windows” is missing. Edit: Some people started to mark my question as a duplicate. Do not forget that many similar questions existed when I asked this one (see e.g. The list below). However, none of these answers solved my problem.
Available platforms are: none. No platforms were listed. I think there is one more abstraction layer introduced in Qt4.8 and mandatory for Qt5.0 but I do not find a way or hint how to build this plugins. Thanx, Harald. Lukas - can you create sticky threads?
Threads like 'can't run from cmd' or 'work's fine in creator but not on other machines' about the proper deployment on windows seem to flood this forum lately so maybe it would be beneficial to create a sticky thread with a simple 'what you need' for each compiler eg. For MSVC: AppDir/App.exe AppDir/Qt5Core.dll AppDir/Qr5Gui.dll. • install MSVC runtime package What do you think?
[quote author='Krzysztof Kawa' date='] • install MSVC runtime package[/quote] Just a note about this: With VS2008 (MSVC 9.0) we indeed have to install the MSVC Runtime package, by running the MSVC Redistributable setup program. That's because VS2008 (and VS2005 too) uses WinSxS to manage the CRT DLL's - putting the required CRT DLL's into the same folder as the EXE file does not work. They have to be 'registered' with WinSxS.
Fortunately with VS2010 and VS2012 Mircrosoft has changed this again, so now the CRT DLL's are just 'normal' DLL's you can put into the same folder as the EXE file and that's it:-) And another pitfall: If you use a different compiler for your EXE file than for the Qt DLL's - for example you compile your EXE with MSVC 11.0 but then use the pre-compiled Qt DLL's (with MSVC 10.0) from the official 'Qt libraries' package - you will end up with an EXE file that needs the CRT DLL's of MSVC 11.0, but also depends on the Qt DLL's that in turn need the CRT DLL's of MSVC 10.0. In the end you will have to ship both versions of the CRT DLL's for the application to work. This is easy to miss, because on a developer's machine usually all the run-times will be installed globally - because Visual Studio has been installed on the machine. Conclusion: Whenever possible (e.g. License-wise) use the static Qt DLL's with the static MSVC CRT:-))). Hello all I am using MSVC 2012 and I am migrating from Qt4.8 to Qt.5.1 (or.2 I see it is available now) I want to design a program which works on any PC (either XP, W7 and W8): checking this is cumbersome since my design PC has installe Qt and MSVC redistributable (as part of MSVC2012). In fact the program works perfectly on my PC.
I am distributing the program with the InstallShield package which come for free with MSVC2012 I understand I need to support the MSVC run time support (done) If I run my application on most of PC I get the infamous error: 'This application failed to start because it could not find or load the Qt platform plugin 'windows' ' I tried to manually add in the application path of the target pc (not my pc) the directories plugins/platforms/ and put qwindows.dll inside but did not help I am using MSVC project file and InstallShield (as I said). I can see many discussion on this point but I cannot find a conclusive solution for me. What perfectly worked with Qt4 now is not with Qt 5. Thanks for your help. I am having the same problem.