MiKTeX / miktex

the MiKTeX source code

Home Page:https://miktex.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

miktex-console failed to start because no Qt platform plugin could be initialized.

marcohernandez-git opened this issue · comments

  • I have read and acknowledged this HOWTO article:
    Submitting a MiKTeX problem report
    I updated MikTex today, and now the miktex-console fails to start and I get an error windows with the message "application failed to start because no Qt platform plugin could be initialized,..". MikTex works, just the miktex-console fails to start after the update. I submit the miktex-report and logs.
    miktex-report.txt
    log.zip

same for me (#1488)

Maybe another Qt6 installation is in the way. Please open a command prompt and enter

set PATH=%USERPROFILE%\AppData\Local\Programs\MiKTeX\miktex\bin\x64;%PATH%
miktex-console.exe

Please also try this workaround: #1486 (comment)

ok, confirmed, #1486 works.
Thanks!

Yes, the workaround works.
Thank you very much.

Same problem, don't know how to fix it at the moment

My colleague had the same problem, and the only solution we found was manually removing miktex altogether (as the console refused to open). This was before we discovered this thread. Now I did just try updating on my own PC, had the same problem and the solution from the workaround posted in the other thread does work. However, not everyone will be able to find their way to github, so there is an urgent need to have this fixed!

Go to this (https://ctan.net/systems/win32/miktex/tm/packages/)
download miktex-qt6-bin-x64.tar.lzma
Unzip and copy to the appropriate folder

I just encountered this issue. The workaround from #1486 of running miktex --admin packages update worked for me. I don't understand why this has been closed though.

Same error.

After an update using the UI, I had this issue. The fix stated at the comment works:

c:\>miktex  packages update
Installing package fancyhdr...
Installing package hyperref...
Installing package hyperref__doc...
Installing package latexindent...
Installing package lni...
Installing package luaxml...
Installing package markdown...
Installing package markdown__doc...
Installing package miktex-qt6-bin-x64...
Installing package moderncv...
Installing package moloch...
Installing package reledmac...
Installing package tcolorbox...