Bug 415408 - No Qt platform plugin could be initialized
Summary: No Qt platform plugin could be initialized
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Video Display & Export (show other bugs)
Version: 19.12.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-20 17:20 UTC by Jim
Modified: 2021-03-06 06:41 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
fritzibaby: timeline_corruption+


Attachments
Render Popup message (23.55 KB, image/jpeg)
2019-12-20 17:20 UTC, Jim
Details
qt.conf (20 bytes, text/plain)
2019-12-20 17:24 UTC, emohr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jim 2019-12-20 17:20:21 UTC
Created attachment 124623 [details]
Render Popup message

SUMMARY

Will not render, getting 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.


STEPS TO REPRODUCE
1. Attempted in new project -  same result
2. Old project -  same result
3. 

OBSERVED RESULT: Message popup stating the above, NO MP4 file


EXPECTED RESULT: I expected a rendered MP4 file, failed before creating one.


SOFTWARE/OS VERSIONS
Windows: 10 10.0.18362 Build 18362
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION: Works fine in release 19.08.2 for both project but not on new release 19.12.0. 

Tried the following: 
  Deleting %AppData% kdenlive folder nothing.
  Making sure qt.conf file exists.
  Installed both standalone and full versions.
  Folder permissions are to all.
  and above mentioned files are in bin\platforms folder.
Comment 1 emohr 2019-12-20 17:24:58 UTC
Created attachment 124624 [details]
qt.conf

Please put attached file "qt.conf" into the "bin" folder (the folder where Kdenlive.exe is).
Comment 2 Jim 2019-12-22 18:23:02 UTC
That file already existed with the same values inside but I used yours and there is no difference still not rendering.
Comment 3 emohr 2019-12-22 19:14:35 UTC
Hit CTRL+SHIFT+, (comma) -> environment –> make sure the paths point to the same path as "MLT profiles folder".
Comment 4 Jim 2019-12-22 19:20:57 UTC
That worked!

Many Thanks!
Jim
Comment 5 emohr 2019-12-30 10:39:00 UTC
Thank you for the feedback. Glad to hear it works. 

I updated the Kdenlive manual with this solution.
Comment 6 nyanpasu64 2020-01-22 06:46:19 UTC
When I install kdenlive 19.12.1 for all users (C:\Program Files\kdenlive) and launch kdenlive, it fails to start, instead producing the following error:

> 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.

Not just rendering fails, but starting the program at all doesn't work.

Adding qt.conf (https://bugs.kde.org/attachment.cgi?id=124624) to \bin\ fixes the issue.

Where is this issue and workaround documented in the manual? I tried searching for qt.conf in the KDE wiki (https://userbase.kde.org/index.php?search=qt.conf&title=Special%3ASearch) with no results. I don't see qt.conf mentioned in https://userbase.kde.org/Kdenlive/Manual either.
Comment 7 emohr 2020-01-22 16:57:47 UTC
Thank you for the feedback. I added the solution with qt.config here: https://userbase.kde.org/Kdenlive/Manual/Windows_Issues