I am implementing qgis 3.4.3 in a custom application, but when I instantiate the QgsApplication() class, I receive the error 'Could not find the Qt platform plugin 'Windows' in '. I've attempted using various installs of qgis 3.x+ including the standalone installer and OSGeo4W web installer. I currently am sticking with the OSGeo4W web installer installation. I am using a Python 3.7 installation separate from what comes with OSGeo4W and attempting to integrate qgis functionality.
This app failed to start because it could not find or load the Qt platform plugin 'windows' in'. Available platform plugins are minimal, windows. Reinstalling the app may fix this problem. Creating a restore point didn't work. Microsoft help didn't help. Reinstalling didn't help. Hoping there is something because I can't access any games =.
I have followed the instructions in the following QGIS help doc under the section: 'Using PyQGIS in Custom Applications' After attempting to run the script I realized a dll plugin was missing. After some research, I found its the qwindows.dll that qt uses. The qwindows.dll is included in the OSGeo4W installation under: C: OSGeo4W apps Qt5 plugins platforms I changed the QT_PLUGIN_PATH variable on the local command prompt to include the directory above, but the same error prevailed. I also changed the QT_DEBUG_PLUGINS variable to 1 which printed out the locations Qt is looking for plugins. Interestingly, it wasn't looking for plugins in the path I specified in the QT_PLUGIN_PATH variable. Add the following environment variables at the beginning of your python script before loading qgis.core: #modify environment variables to find qgis and qt plugins during qgis.core import os.environ['QT_QPA_PLATFORM_PLUGIN_PATH'] = r'~qgis directory apps Qt5 plugins' os.environ['PATH'] += r';~qgis directory apps qgis bin;~qgis directory apps Qt5 bin' The QT_QPA_PLATFORM_PLUGIN_PATH variable is used by Qt to look up certain drivers including the qwindows.dll. It doesn't know the path to the '~qgis directory apps Qt5 plugins' directory, so you need to provide it before using the QgsApplication module imported from qgis.core.
In order for your local version of python to find the qgis.core directory, you will also need to add the following qgis directories to your script before loading qgis.core: sys.path.extend([r'~qgis directory apps qgis python',r'~qgis directory apps Python37 Lib site-packages']).
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'.
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.
• If you already have maps installed, you can view your map by going to View > Switch to Product >, otherwise you can now proceed to into MapSource. You already have MapSource installed), just download and run the latest installation file (steps 2-4 in Methods 1 & 3). Mapsource 6163 patched. Notes • For subsequent MapSource installations (i.e.
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.
Flexisign crack keygen 2016 and full version. FileName: Flexisign-pro 9.9 Full Version FileSize: 9.6 MB Downloads: 87672 Flexisign-pro 9.9 Full Version crack serial number key activation. Jan 23, 2016 - Flexisign Pro 8.6 Serial Numbers. Convert Flexisign Pro 8.6 trail version to full software. Full Download Crack Serials. Crack para flexisign 7 5. Game Backup Instructions for PC, XBox, PS2, PSP, PSX, DC & GBA Games [] Serial 5 estrellas para windows 7 ultimate, 5.6 out of 10 based on 17. AutoCAD 2016 full download version. Xforce keygen AutoCAD 2016. X-Force keygen Autodesk 2013.