this application failed to start because no qt platform plugin could be initialized что делать

Qt creator fails to open on Windows 10 «no Qt platform plugin could be initialized»

I had removed Qt from my Surface pro 4 and reinstall it since it seemed unable to find QtQuick controls and othe qml related modules. After performing the install procedure, I tried to open qt creator and I got this message

This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Available platform plugins are: direct2d, minimal, offscreen, windows

6 Answers 6

Copy the folder plugins/platforms from your Qt build to the folder containing your executable. This should get it running.

Check whether you have an environment variable (system-wide or user-level) QT_PLUGIN_PATH defined. If so, try to remove it (or rename for later restoration). I had one Qt program installed which added this environment variable during its installation procedure and afterwards was unable to even start QtCreator or other self-built Qt5 programs even though the ‘platforms’ subdirectory was present and contained the required dlls. You may have to reboot for the change to take effect.

This is one of the methods to fix the issue:

It replaces the qwindows.dll file and it all works smooth.

METHOD 2: Go to (or wherever you have python installed) C:\Python38-32\Scripts and look for desginer. Click on it and voila you have a working desginer.

Источник

This application failed to start because not Qt platform plugin could be initialized

Привет! Я делаю релиз для своего приложения, но получаю следующую ошибку при запуске приложения:
This application failed to start because not the Qt platform plugin could be initialized
Я начал получать эту ошибку после добавления dll-файлов в мое приложение. Qt переустановил, но все равно появляется. Есть ли какие-то способы решить эту проблему?

Вот что выводится в консоль:
qt.qpa.plugin: Could not find the Qt platform plugin «windows» in «»
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Ошибка This application failed to start because no Qt platform plugin could be initialized
Здравствуйте. При запуске QT приложения возникает такая ошибка: This application failed to start.

This application failed to start because it could not find or load the Qt platform plugin «windows»
Да, я знаю, что этим вопросом заполнен весь интернет, включая англоязычный. Перечитано много тем и.

This application failed to start
Собрал нужные библиотеки для развёртывания 32-х битного приложения Qt. На сколько я знаю, такие.

Annemesski, Проделал все ваши действия, но к сожалению не получилось. На Qt Forum мне один человек другое предложил:

Start by running your application from a shell where you have typed in set QT_DEBUG_PLUGINS=1 first, and look at debug output about what it was trying to find where.

Но я так и не понял этот совет, даже с переводом.

Источник

How to fix “Application failed to start because no Qt platform plugin could be initialized” error in Windows?

Issue: How to fix “Application failed to start because no Qt platform plugin could be initialized” error in Windows?

Hello. Recently, after a Windows update, I was unable to get OneDrive to work. Whenever my PC boots, I receive an error “Application failed to start because no Qt platform plugin could be initialized.” Any advice on how to deal with this issue? Thanks in advance.

Windows operating system consists of many components – some are already pre-installed while others need to be implemented manually. For example, Node.js is one of the third-party components you would see on almost any Windows computer.

Qt is a C++-based [1] framework that is designed to create applications on Windows, Android, Linux, [2] and other platforms. While it is not a programming language on its own, apps that are based on it need to have the framework installed on their machines to be able to run. Unfortunately, these dependencies can create certain issues due to one reason or another.

When something goes wrong with the Qt platform, users may receive the “Application failed to start because no Qt platform plugin could be initialized” error.

Several applications could be affected by this error, including games such as Apex Legends, [3] standalone components (Dllhost), or commonly-used apps as OneDrive. The latter resides in every Windows computer and is an extremely useful app commonly used for system/file backups or additional storage for user files.

Here’s the full message that users receive upon encountering the error (the error message text may vary in some instances):

This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: minimal, offscreen, windows.

While it may seem like enabling or installing the Qt platform would fix the “Application failed to start because no Qt platform plugin could be initialized” error, it is not the case. Reinstalling the app that is having difficulties detecting the plugin might help, however.

this application failed to start because no qt platform plugin could be initialized что делать. Смотреть фото this application failed to start because no qt platform plugin could be initialized что делать. Смотреть картинку this application failed to start because no qt platform plugin could be initialized что делать. Картинка про this application failed to start because no qt platform plugin could be initialized что делать. Фото this application failed to start because no qt platform plugin could be initialized что делать

Unfortunately, that is not always possible, as users reported that they then received the “Can’t be found” error while trying to do so. The reason for this being is that a newer version of the app may be already present on the device, hence uninstallation is not possible. There is a way around it.

In some cases, the reasons for the error could be unrelated to the ones mentioned above. For example, system file corruption might also cause this error, so we recommend you try running a scan with Reimage Mac Washing Machine X9 repair software that could fix underlying Windows issues automatically. Otherwise, proceed with the below methods that should help you solve this error for good.

Method 1. Copy relevant folder to a different location

this application failed to start because no qt platform plugin could be initialized что делать. Смотреть фото this application failed to start because no qt platform plugin could be initialized что делать. Смотреть картинку this application failed to start because no qt platform plugin could be initialized что делать. Картинка про this application failed to start because no qt platform plugin could be initialized что делать. Фото this application failed to start because no qt platform plugin could be initialized что делать

this application failed to start because no qt platform plugin could be initialized что делать. Смотреть фото this application failed to start because no qt platform plugin could be initialized что делать. Смотреть картинку this application failed to start because no qt platform plugin could be initialized что делать. Картинка про this application failed to start because no qt platform plugin could be initialized что делать. Фото this application failed to start because no qt platform plugin could be initialized что делать

Method 2. Check system files for damage

this application failed to start because no qt platform plugin could be initialized что делать. Смотреть фото this application failed to start because no qt platform plugin could be initialized что делать. Смотреть картинку this application failed to start because no qt platform plugin could be initialized что делать. Картинка про this application failed to start because no qt platform plugin could be initialized что делать. Фото this application failed to start because no qt platform plugin could be initialized что делать

Method 3. Try Clean Boot

this application failed to start because no qt platform plugin could be initialized что делать. Смотреть фото this application failed to start because no qt platform plugin could be initialized что делать. Смотреть картинку this application failed to start because no qt platform plugin could be initialized что делать. Картинка про this application failed to start because no qt platform plugin could be initialized что делать. Фото this application failed to start because no qt platform plugin could be initialized что делать

Once booted back into Windows, try running the app you were having problems with. If that fixes your problem, it means that there is a third-party application that is at fault. In order to fix the “Application failed to start because no Qt platform plugin could be initialized” error, you should uninstall all recently installed applications and see if that solves your problem in normal mode.

Method 4. Reinstall the application in question

You should try uninstalling the app you are having troubles with and then installing it anew. If you are dealing with OneDrive, you should do the following:

this application failed to start because no qt platform plugin could be initialized что делать. Смотреть фото this application failed to start because no qt platform plugin could be initialized что делать. Смотреть картинку this application failed to start because no qt platform plugin could be initialized что делать. Картинка про this application failed to start because no qt platform plugin could be initialized что делать. Фото this application failed to start because no qt platform plugin could be initialized что делать

If this method does not work and you are presented with an error, proceed with the method below and then repeat this step.

Method 5. Uninstall the problematic app via Command Prompt

Uninstalling a program that does not want to uninstall might be difficult, although it is possible via PowerShell, as you can launch it as an administrator. Keep in mind that the below example is for the OneDrive application, and the command would differ depending on the app name and its location.

Источник

This application failed to start because no qt platform plugin could be initialized что делать

I read several posts about this topic here and in other websites, but most were about the older versions of QT. I tried to apply them but whit no results. I also tried to reinstall QT and to update whatever I can update.

The full message I receive is the following:

Got keys from plugin meta data («cocoa»)
QFactoryLoader::QFactoryLoader() looking at «/Users/adrianosavi/opt/anaconda3/plugins/platforms/libqminimal.dylib»
Found metadata in lib /Users/adrianosavi/opt/anaconda3/plugins/platforms/libqminimal.dylib, metadata=
<
«IID»: «org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3»,
«MetaData»: <
«Keys»: [
«minimal»
]
>,
«className»: «QMinimalIntegrationPlugin»,
«debug»: false,
«version»: 329991
>

Got keys from plugin meta data («minimal»)
QFactoryLoader::QFactoryLoader() looking at «/Users/adrianosavi/opt/anaconda3/plugins/platforms/libqoffscreen.dylib»
Found metadata in lib /Users/adrianosavi/opt/anaconda3/plugins/platforms/libqoffscreen.dylib, metadata=
<
«IID»: «org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3»,
«MetaData»: <
«Keys»: [
«offscreen»
]
>,
«className»: «QOffscreenIntegrationPlugin»,
«debug»: false,
«version»: 329991
>

Available platform plugins are: cocoa, minimal, offscreen.

I hope I can receive support for this issue.

Источник

No Qt platform plugin could be initialized. Windows Client #7034

Comments

timetofaceit commented Feb 13, 2019

I have compiled the client for windows from open source. On my PC client is starting and working normal as it should. If am trying to launch the bin directory from the other PC I get this error:

this application failed to start because no qt platform plugin could be initialized что делать. Смотреть фото this application failed to start because no qt platform plugin could be initialized что делать. Смотреть картинку this application failed to start because no qt platform plugin could be initialized что делать. Картинка про this application failed to start because no qt platform plugin could be initialized что делать. Фото this application failed to start because no qt platform plugin could be initialized что делать

My bin folder looks like this:

this application failed to start because no qt platform plugin could be initialized что делать. Смотреть фото this application failed to start because no qt platform plugin could be initialized что делать. Смотреть картинку this application failed to start because no qt platform plugin could be initialized что делать. Картинка про this application failed to start because no qt platform plugin could be initialized что делать. Фото this application failed to start because no qt platform plugin could be initialized что делать

The text was updated successfully, but these errors were encountered:

dschmidt commented Feb 13, 2019

What’s the content of platforms/ folder?

timetofaceit commented Feb 13, 2019

@dschmidt thank’s for the quick answer.

this application failed to start because no qt platform plugin could be initialized что делать. Смотреть фото this application failed to start because no qt platform plugin could be initialized что делать. Смотреть картинку this application failed to start because no qt platform plugin could be initialized что делать. Картинка про this application failed to start because no qt platform plugin could be initialized что делать. Фото this application failed to start because no qt platform plugin could be initialized что делать

dschmidt commented Feb 13, 2019 •

Maybe try to create a qt.conf file in the root application folder with the following content:

timetofaceit commented Feb 13, 2019

@dschmidt thank’s it works. I created that qt.conf file in platforms folder with your given content.

dschmidt commented Feb 13, 2019

FTR I’m currently updating the windows build instructions: #7035
But glad you could make it work too 🙂

qasimali-byte commented Aug 10, 2020

esackbauer commented Dec 7, 2020 •

I am suddenly experiencing this exact error when I logon to Windows and OwnCloud Client is automatically started.
If I start Owncloud client manually, there is no problem.

It is happening since version 2.7.2
2.7.1 was ok.
Running on Windows 10 20H2.

Edit: Now I am puzzled, it seems the latest update installed owncloud client to the C:\ root folder.

michaelstingl commented Dec 7, 2020

@esackbauer this issue is about self-compiled ownCloud Win builds. Do you use self-compiled ownCloud desktop client, or one downloaded from ownCloud website?

esackbauer commented Dec 7, 2020

Its the one downloaded from the website.

esackbauer commented Dec 7, 2020

Ok, its all sorted now. I uninstalled ownCloud client, removed any traces in the file system, rebooted, and then did a clean install.
Now it properly installed into c:\program files\owncloud as its supposed to.
Also the qt error during startup is now gone.

Tomino-RI commented Dec 17, 2020

Hi esackbauer!
Thank you for sharing how you solved your problem.
I have the same problem as you had. Mine ownCloud client is also installed on C:\ root folder and is version 2.7.3
Do I have to synchronize again all data after I uninstall and perform new installation of ownCloud.
I mean, do I have to copy again all data from cloud to my computer or new installation of ownCloud will recognize structure of folders which were synchronized before?

esackbauer commented Dec 17, 2020 •

Actually this happened again to me, when updating to 2.7.3! It seems something is wrong with the update procedures.
I uninstalled 2.7.2, and downloaded 2.7.3, all settings were taken over, no need to sync again.

Which version of Windows are you on?

Can someone reopen this? Or do we need to file a new issue?

Tomino-RI commented Dec 17, 2020

Thank you for your fast reply.
I am on Windows 10 Pro version 1909.
If I have understood well, the problem is still there, but you did not need to sync again.

dschmidt commented Dec 17, 2020

I’m sorry for the inconvenience with the installation to C:/.

This happened when your initial install of the client was from the 64bit MSI and then the autoupdater installed the 32bit version for you.

This was reported in #8297 and fixed since then.

The autoupdater now correctly updates 64bit installs to 64bit binaries, so this won’t happen automatically anymore.

Tomino-RI commented Dec 18, 2020

Thank for your reply and this information!
This inconvenience with the installation to C:/ is not so serious. It is more important that ownCloud function properly 👍
I am again nicely surprised and thankful for help I get from internet community.
Thank you guys! 👍

Источник

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *