-
#1
windows 10.0.19041.508
Python 3.8.5
pip list
Package Version
————- ————
-yqt5-tools 5.15.1.1.7.2
click 7.1.2
Pillow 7.2.0
pip 20.2.3
PyQt5 5.15.1
PyQt5-sip 12.8.1
pyqt5-tools 5.15.1.1.7.2
python-dotenv 0.14.0
setuptools 47.1.0
Не запускается designer и любое другое приложение в каталоге. Установки пакетов (pyqt5, pyqt5-tools) прошли нормально (см. скрин)
ошибка — This application failed to start because no Qt platform plugin could be initialized.
Делал переустановку пакетов, не помогло.
import PyQt5 работает
В чем возможно ошибка?
0
-
#3
Спасибо большее, помогло!
This topic has been deleted. Only users with topic management privileges can see it.
I’ve been using Qt along with Visual Studio 2017 for about a year now without any problems. I am trying to move over to a different computer, installed everything the same as I had on the other computer, but Qt Designer will not run. I get an error message that Qt Designer has stopped working with the option to close or debug. I’ve uninstalled and reinstalled and have also tried installing older versions but nothing helps. The new computer is a Lenovo ThinkPad running Windows 10 Enterprise 2016.
Hi and welcome to devnet,
What graphic card do you have on that machine ?
Can you run Qt Creator ?
Hi. It’s got an Intel HD Graphics 520. And no, Qt Creator also does not run.
I need to correct my previous post. Qt Creator does run fine. Just Qt Designer seems to be giving me a problem. I can open ui files in Qt Creator, but it fials if I try to open them with Qt Designer:
One more interesting thing I just stumbled across. I had installed an older version that is working on my other PC — vers 5.10.1. I uninstalled this and started installing the latest version. While the install was still going on, I was poking around in the Qt folders and happen to double click on designer.exe in C:Qt5.12.3msvc2015_64bin. It opened fine. I then tried to run designer.exe in some other folders such as C:Qt5.12.3msvc2017bin and they all failed. After the installation completed, I went back to C:Qt5.12.3msvc2015_64bin and tried to run designer.exe again and now it also failed. Looks like some file being added by the install is causing this to fail. When I run the installer am I selecting more than I should causing conflicting versions of files to be installed?
Did you modify your PATH environment variable ?
Yes I did modify the path, but that does not help.
I have noticed something I can not explain. If I run the MaintenanceTool and make a modification to the Qt installation, as it is running, if I keep trying to open Qt Designer, at some point it will run. Once running it will work fine. However, once MaintenanceTool is finished, if I close Qt Designer and try to reopen it, it will once again fail to run. There is a very limited window while MaintenaceTool is running when Qt Designer will open successfully. It seems to be right near the very end of the installation when the progress bar is indicating that is > 90% done. I first thought that the problem was due to a conflict with a file being installed. But by looking at the files that are being installed when I do this, I no longer think this is the case. Does MaintenanceTool make any other system changes such as registry entries, etc? Is it possible that at the end of the install process it is clearing out a registry entry which then allows me to run Qt Designer, but then it rewrites an registry entry that once again breaks it? I did try deleting some registry entries earlier based upon other error reports I found in the forum, but that did not help. I will search for additional entries later when I have time. Right now I do have Qt Designer running (using the above procedure) so I am going ahead with some development I need to get done.
Just in case, Qt Creator provides an editor based on Designer.
Can you check with a tool like Dependency Walker where Designer find its dependencies ?
On a side note, you should not modify your PATH environment variable system wide.
Thanks for your help with this. The Qt Creator editor is a good alternative. I did run Dependency Walker — long time since I have looked at the output from this and not sure what I am seeing right now, but I’ve pasted the an abreviated version of the output below (too long to paste the whole thing) if it tells you something. Thanks again.
| System Information |
| Search Order |
-
*
- Legend: F File E Error (path not valid) *
-
*
Side-by-Side components (Windows 2000/XP/2003/Vista/+)
[F ] c:windowswinsxsx86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.14393.2938_none_c58b03c797c07d8cCOMCTL32.DLL
[F ] c:windowswinsxsx86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.14393.2969_none_f678e0c2f2505d00GDIPLUS.DLL
The system’s «KnownDLLs» list
[F ] c:windowssystem32ADVAPI32.DLL
[F ] c:windowssystem32BCRYPTPRIMITIVES.DLL
[F ] c:windowssystem32CFGMGR32.DLL
[F ] c:windowssystem32CLBCATQ.DLL
[F ] c:windowssystem32COMBASE.DLL
[F ] c:windowssystem32COMCTL32.DLL
[F ] c:windowssystem32COMDLG32.DLL
[F ] c:windowssystem32COML2.DLL
[F ] c:windowssystem32CRYPT32.DLL
[F ] c:windowssystem32DIFXAPI.DLL
[F ] c:windowssystem32GDI32.DLL
[F ] c:windowssystem32GDI32FULL.DLL
[F ] c:windowssystem32GDIPLUS.DLL
[F ] c:windowssystem32IMAGEHLP.DLL
[F ] c:windowssystem32IMM32.DLL
[F ] c:windowssystem32KERNEL.APPCORE.DLL
[F ] c:windowssystem32KERNEL32.DLL
[F ] c:windowssystem32KERNELBASE.DLL
[F ] c:windowssystem32LPK.DLL
[F ] c:windowssystem32MSASN1.DLL
[F ] c:windowssystem32MSCTF.DLL
[F ] c:windowssystem32MSVCP_WIN.DLL
[F ] c:windowssystem32MSVCRT.DLL
[F ] c:windowssystem32NORMALIZ.DLL
[F ] c:windowssystem32NSI.DLL
[F ] c:windowssystem32NTDLL.DLL
[F ] c:windowssystem32NTDLL.DLL
[F ] c:windowssystem32OLE32.DLL
[F ] c:windowssystem32OLEAUT32.DLL
[F ] c:windowssystem32POWRPROF.DLL
[F ] c:windowssystem32PROFAPI.DLL
[F ] c:windowssystem32PSAPI.DLL
[F ] c:windowssystem32RPCRT4.DLL
[F ] c:windowssystem32SECHOST.DLL
[F ] c:windowssystem32SETUPAPI.DLL
[F ] c:windowssystem32SHCORE.DLL
[F ] c:windowssystem32SHELL32.DLL
[F ] c:windowssystem32SHLWAPI.DLL
[F ] c:windowssystem32UCRTBASE.DLL
[F ] c:windowssystem32USER32.DLL
[F ] c:windowssystem32WIN32U.DLL
[F ] c:windowssystem32WINDOWS.STORAGE.DLL
[F ] c:windowssystem32WINTRUST.DLL
[F ] c:windowssystem32WLDAP32.DLL
[F ] c:windowssystem32WOW64.DLL
[F ] c:windowssystem32WOW64CPU.DLL
[F ] c:windowssystem32WOW64WIN.DLL
[F ] c:windowssystem32WS2_32.DLL
The application directory
[ ] C:Qt5.12.3msvc2015_64bin
The 32-bit system directory
[ ] C:Windowssystem32
The 16-bit system directory (Windows NT/2000/XP/2003/Vista/+)
[ ] C:Windowssystem
The system’s root OS directory
[ ] C:Windows
The application’s registered «App Paths» directories
The system’s «PATH» environment variable directories
[ ] C:Program FilesMicrosoft MPIBin
[ ] C:Windowssystem32
[ ] C:Windows
[ ] c:Qt5.12.3bin
| Module Dependency Tree |
-
*
- Legend: F Forwarded Module ? Missing Module 6 64-bit Module *
-
D Delay Load Module ! Invalid Module *
-
* Dynamic Module E Import/Export Mismatch or Load Failure *
-
^ Duplicate Module *
-
*
[ 6] DESIGNER.EXE
[ 6] QT5DESIGNERCOMPONENTS.DLL
[ ^6] QT5DESIGNER.DLL
[ ^6] QT5WIDGETS.DLL
[ ^6] QT5GUI.DLL
[ ^6] QT5XML.DLL
[ ^6] QT5CORE.DLL
[ E ] KERNEL32.DLL
[FE ] NTDLL.DLL
[ E ] VCRUNTIME140.DLL
[ ^6] API-MS-WIN-CRT-RUNTIME-L1-1-0.DLL
[FE ] UCRTBASE.DLL
[ ^6] API-MS-WIN-CRT-STRING-L1-1-0.DLL
[FE ] UCRTBASE.DLL
[ ^6] API-MS-WIN-CRT-HEAP-L1-1-0.DLL
[FE ] UCRTBASE.DLL
[ 6] QT5DESIGNER.DLL
[ ^6] QT5WIDGETS.DLL
[ ^6] QT5GUI.DLL
[ ^6] QT5XML.DLL
[ ^6] QT5CORE.DLL
[ E ] MSVCP140.DLL
[ E ] VCRUNTIME140.DLL
[ ^6] API-MS-WIN-CRT-HEAP-L1-1-0.DLL
[FE ] UCRTBASE.DLL
[ ^6] API-MS-WIN-CRT-LOCALE-L1-1-0.DLL
[FE ] UCRTBASE.DLL
[ ^6] API-MS-WIN-CRT-STRING-L1-1-0.DLL
[FE ] UCRTBASE.DLL
[ ^6] API-MS-WIN-CRT-RUNTIME-L1-1-0.DLL
[FE ] UCRTBASE.DLL
[ ^6] API-MS-WIN-CRT-STDIO-L1-1-0.DLL
[FE ] UCRTBASE.DLL
[ E6] API-MS-WIN-CRT-MATH-L1-1-0.DLL
[FE ] UCRTBASE.DLL
[ ^6] API-MS-WIN-CRT-CONVERT-L1-1-0.DLL
[FE ] UCRTBASE.DLL
[ ^6] API-MS-WIN-CRT-FILESYSTEM-L1-1-0.DLL
[FE ] UCRTBASE.DLL
[ ^6] API-MS-WIN-CRT-TIME-L1-1-0.DLL
[FE ] UCRTBASE.DLL
[ ^6] API-MS-WIN-CRT-ENVIRONMENT-L1-1-0.DLL
[FE ] UCRTBASE.DLL
[ ^6] API-MS-WIN-CRT-UTILITY-L1-1-0.DLL
[FE ] UCRTBASE.DLL
[ E ] KERNEL32.DLL
[FE ] NTDLL.DLL
[DE ] CONCRT140.DLL
[ E ] MSVCP140.DLL
[ E ] VCRUNTIME140.DLL
[ ^6] API-MS-WIN-CRT-RUNTIME-L1-1-0.DLL
[FE ] UCRTBASE.DLL
[ ^6] API-MS-WIN-CRT-HEAP-L1-1-0.DLL
[FE ] UCRTBASE.DLL
[ E6] API-MS-WIN-CRT-MATH-L1-1-0.DLL
[ ^6] API-MS-WIN-CRT-STRING-L1-1-0.DLL
[FE ] UCRTBASE.DLL
[ ^6] API-MS-WIN-CRT-STDIO-L1-1-0.DLL
[FE ] UCRTBASE.DLL
[ E ] KERNEL32.DLL
[FE ] NTDLL.DLL
[ E ] KERNEL32.DLL
[FE ] NTDLL.DLL
[ E ] VCRUNTIME140.DLL
[ ^6] API-MS-WIN-CRT-MATH-L1-1-0.DLL
[FE ] UCRTBASE.DLL
[ ^6] API-MS-WIN-CRT-RUNTIME-L1-1-0.DLL
[FE ] UCRTBASE.DLL
[ ^6] API-MS-WIN-CRT-STRING-L1-1-0.DLL
[FE ] UCRTBASE.DLL
[ ^6] API-MS-WIN-CRT-STDIO-L1-1-0.DLL
[FE ] UCRTBASE.DLL
[ ^6] API-MS-WIN-CRT-HEAP-L1-1-0.DLL
[FE ] UCRTBASE.DLL
[ 6] QT5PRINTSUPPORT.DLL
[ ^6] QT5WIDGETS.DLL
[ ^6] QT5GUI.DLL
[ ^6] QT5CORE.DLL
[ E ] WINSPOOL.DRV
[ E ] COMDLG32.DLL
[ E ] GDI32.DLL
[ E ] USER32.DLL
[ E ] KERNEL32.DLL
[FE ] NTDLL.DLL
[ E ] VCRUNTIME140.DLL
[ ^6] API-MS-WIN-CRT-STDIO-L1-1-0.DLL
[FE ] UCRTBASE.DLL
[ ^6] API-MS-WIN-CRT-HEAP-L1-1-0.DLL
[FE ] UCRTBASE.DLL
[ ^6] API-MS-WIN-CRT-MATH-L1-1-0.DLL
[FE ] UCRTBASE.DLL
[ ^6] API-MS-WIN-CRT-RUNTIME-L1-1-0.DLL
[FE ] UCRTBASE.DLL
[ 6] QT5WIDGETS.DLL
[ ^6] QT5GUI.DLL
[ ^6] QT5CORE.DLL
[ E ] UXTHEME.DLL
[ E ] MSVCRT.DLL
[ ? ] API-MS-WIN-CORE-LIBRARYLOADER-L1-2-0.DLL
[ E6] API-MS-WIN-CORE-SYNCH-L1-2-0.DLL
[FE ] KERNEL32.DLL
[FE6] API-MS-WIN-CORE-SYNCH-L1-1-0.DLL
[ ? ] API-MS-WIN-CORE-HEAP-L1-2-0.DLL
[ ? ] API-MS-WIN-CORE-ERRORHANDLING-L1-1-1.DLL
[ ? ] API-MS-WIN-CORE-PROCESSTHREADS-L1-1-2.DLL
[ ? ] API-MS-WIN-CORE-LOCALIZATION-L1-2-1.DLL
[ ? ] API-MS-WIN-CORE-DEBUG-L1-1-1.DLL
[ ^6] API-MS-WIN-CORE-HANDLE-L1-1-0.DLL
[FE ] KERNEL32.DLL
[ ? ] API-MS-WIN-CORE-SYSINFO-L1-2-1.DLL
[ ? ] API-MS-WIN-CORE-LIBRARYLOADER-L1-2-2.DLL
[ ? ] API-MS-WIN-CORE-FILE-L1-2-1.DLL
[ ^6] API-MS-WIN-CORE-STRING-L1-1-0.DLL
[FE ] KERNEL32.DLL
[ ^6] API-MS-WIN-CORE-UTIL-L1-1-0.DLL
[FE ] KERNEL32.DLL
[FE ] NTDLL.DLL
[ ? ] API-MS-WIN-CORE-WINRT-ERROR-L1-1-1.DLL
[ ? ] API-MS-WIN-CORE-REGISTRY-L1-1-0.DLL
[ ? ] API-MS-WIN-SECURITY-BASE-L1-2-0.DLL
[ ? ] API-MS-WIN-CORE-HEAP-L2-1-0.DLL
[ ? ] API-MS-WIN-CORE-MEMORY-L1-1-2.DLL
[ ^6] API-MS-WIN-CORE-PROFILE-L1-1-0.DLL
[FE ] KERNEL32.DLL
[ ? ] API-MS-WIN-CORE-STRING-L2-1-0.DLL
[ ? ] API-MS-WIN-CORE-PROCESSENVIRONMENT-L1-2-0.DLL
[ ^6] API-MS-WIN-CORE-TIMEZONE-L1-1-0.DLL
[FE ] KERNEL32.DLL
[ ? ] API-MS-WIN-CORE-SIDEBYSIDE-L1-1-0.DLL
[ ? ] API-MS-WIN-CORE-ATOMS-L1-1-0.DLL
[ ? ] API-MS-WIN-CORE-KERNEL32-LEGACY-L1-1-1.DLL
[ ? ] API-MS-WIN-CORE-STRING-OBSOLETE-L1-1-0.DLL
[ ? ] API-MS-WIN-CORE-SHLWAPI-OBSOLETE-L1-2-0.DLL
[ ? ] API-MS-WIN-CORE-LOCALIZATION-OBSOLETE-L1-3-0.DLL
[ E ] NTDLL.DLL
[ E ] GDI32.DLL
[ E ] USER32.DLL
[FE ] NTDLL.DLL
[ ? ] API-MS-WIN-CORE-DELAYLOAD-L1-1-1.DLL
[D? ] API-MS-WIN-CORE-COM-L1-1-1.DLL
[DE ] OLEAUT32.DLL
[D? ] API-MS-WIN-CORE-WINRT-STRING-L1-1-0.DLL
[D? ] API-MS-WIN-SECURITY-SDDL-L1-1-0.DLL
[DE ] CRYPTSP.DLL
[DE ] DWMAPI.DLL
[DE ] WINDOWSCODECS.DLL
…
| Module List |*
-
*
- Legend: D Delay Load Module ? Missing Module 6 64-bit Module *
-
* Dynamic Module ! Invalid Module *
-
E Import/Export Mismatch or Load Failure *
-
*
Module File Time Stamp Link Time Stamp File Size Attr. Link Checksum Real Checksum CPU Subsystem Symbols Preferred Base Actual Base Virtual Size Load Order File Ver Product Ver Image Ver Linker Ver OS Ver Subsystem Ver
[ ? ] API-MS-WIN-CORE-APIQUERY-L1-1-0.DLL Error opening file. The system cannot find the file specified (2).
[ ? ] API-MS-WIN-CORE-APPCOMPAT-L1-1-1.DLL Error opening file. The system cannot find the file specified (2).
[ ? ] API-MS-WIN-CORE-APPINIT-L1-1-0.DLL Error opening file. The system cannot find the file specified (2).
[ ? ] API-MS-WIN-CORE-ATOMS-L1-1-0.DLL Error opening file. The system cannot find the file specified (2).
[ ? ] API-MS-WIN-CORE-CALENDAR-L1-1-0.DLL Error opening file. The system cannot find the file specified (2).
[ ? ] API-MS-WIN-CORE-COM-L1-1-0 Error opening file. The system cannot find the file specified (2).
[ ? ] API-MS-WIN-CORE-COM-L1-1-1.DLL Error opening file. The system cannot find the file specified (2).
[ ? ] API-MS-WIN-CORE-COM-MIDLPROXYSTUB-L1-1-0.DLL Error opening file. The system cannot find the file specified (2).
| Log |*
Error: At least one required implicit or forwarded dependency was not found.
Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module.
Error: Modules with different CPU types were found.
Error: A circular dependency was detected.
Warning: At least one delay-load dependency module was not found.
Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module.
i have a problem with PyQt5 Designer. I install PyQt with -pip install PyQt5 and then -pip install PyQt5-tools
everything OK. But when i try to run Designer it open messagebox with error: This application failed to start because no Qt platform plugin could be initialized!
how to deal with it?
asked Apr 20, 2020 at 14:29
- Go to =>
Python38>lib>site-packages>PyQt5>Qt>plugins - In plugins copy platform folder
- After that go to
Python38>lib>site-packages>PyQt5_tools>Qt>bin - paste folder here . Do copy and replace.
This will surely work..
Now you can use designer tool go and do some fun with python…
Bussller
1,9616 gold badges36 silver badges49 bronze badges
answered Jun 18, 2020 at 5:40
user204242user204242
3852 silver badges2 bronze badges
1
Try running it using command: pyqt5designer
It should set all the paths for libraries.
Works on Python 3.8, pyqt5-tool 5.15
answered Jun 26, 2020 at 6:26
1
I found a way of solving this:
Go to you python instalation folder Python38Libsite-packagesPyQt5Qtbin
Then copy all of that files to your clipboard and paste them at Python38Libsite-packagespyqt5_toolsQtbin
Then open the designer.exe and it should work.
answered May 3, 2020 at 16:25
Jaime02Jaime02
2916 silver badges21 bronze badges
1
I am a newbie who is trying to use the QT creator, I installed the latest version «qt-win-opensource-4.5.1-mingw». Everything was working fine except for launching the QT Designer .. I don’t really know what is the exact problem .. but whenever I try to edit my project visually or even to launch the QT Designer itself, the windows pops up an error message in which it mentions «designer.exe has stopped working».
I tried to debug with visual studio and the problem was in some steps for calling some DLL functions but I didnt really understand what was going on.
asked Nov 15, 2009 at 4:18
This usualy worked for me
- Uninstall QtCreator and other Qt versions.
- Look for any Qt / Trolltech / Nokia keys in windows registry and remove them
- Cleanup Qt directories
- And then Install your IDE
Almost everytime i upgrade Qt Creator there are some problems with it if id don’t remove older version.
answered Mar 17, 2011 at 16:30
Sebastian DuszaSebastian Dusza
2,4502 gold badges29 silver badges53 bronze badges
A bit late perhaps, but clearing the fileListBak and fileListOrg values under HKEY_CURRENT_USER -> SOFTWARE -> Trolltech -> Designer -> backup fixed it for me.
I believe the crash was caused by cutting power when the designer was open, causing the backing up to become corrupt somehow.
answered Jun 29, 2016 at 9:42
2 / 4 / 2 Регистрация: 26.06.2018 Сообщений: 67 |
|
1 |
|
21.11.2020, 10:26. Показов 2574. Ответов 4
Доброго времени суток! This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem Как её исправить? Миниатюры
0 |
Am I evil? Yes, I am! 16817 / 9170 / 2633 Регистрация: 21.10.2017 Сообщений: 20,890 |
|
21.11.2020, 10:36 |
2 |
octsha94, как минимум, питон установить по пути без русских букофф Добавлено через 1 минуту
0 |
2 / 4 / 2 Регистрация: 26.06.2018 Сообщений: 67 |
|
21.11.2020, 10:40 [ТС] |
3 |
iSmokeJC,
как минимум, питон установить по пути без русских букофф Python у меня установлен в C:Program FilesPython39. Не знаю почему pip всё покидал в AppData. И не совсем уверен, что это правильно
0 |
Am I evil? Yes, I am! 16817 / 9170 / 2633 Регистрация: 21.10.2017 Сообщений: 20,890 |
|
21.11.2020, 10:43 |
4 |
Сообщение было отмечено octsha94 как решение Решениеoctsha94, ну установи дизайнер стандартной виндовой инсталяшкой и не парься )))
1 |
Am I evil? Yes, I am! 16817 / 9170 / 2633 Регистрация: 21.10.2017 Сообщений: 20,890 |
|
21.11.2020, 11:29 |
5 |
octsha94, или колхозный вариант — из папки
0 |
IT_Exp Эксперт 87844 / 49110 / 22898 Регистрация: 17.06.2006 Сообщений: 92,604 |
21.11.2020, 11:29 |
Помогаю со студенческими работами здесь QT Designer Designer 8.5 перешли на 8 версию, кодить попросили тоже на 8 QT Designer Designer Qt Designer Искать еще темы с ответами Или воспользуйтесь поиском по форуму: 5 |