Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. No Qt platform plugin could be initialized
Forum Updated to NodeBB v4.3 + New Features

No Qt platform plugin could be initialized

Scheduled Pinned Locked Moved Unsolved General and Desktop
25 Posts 7 Posters 21.0k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    ham13
    wrote on last edited by
    #4

    No suggestions or ideas? Somebody must have fixed this problem before. Right now I'm dead in the water with Qt 6 and Qt5. Help!

    Thanks

    D 1 Reply Last reply
    0
    • mzimmersM Offline
      mzimmersM Offline
      mzimmers
      wrote on last edited by
      #5

      How did you install Qt and Creator?

      1 Reply Last reply
      0
      • H ham13

        No suggestions or ideas? Somebody must have fixed this problem before. Right now I'm dead in the water with Qt 6 and Qt5. Help!

        Thanks

        D Offline
        D Offline
        DragoonXVIII
        wrote on last edited by
        #6

        @ham13 I had the same problem a couple of times, Windows too, installed by an online installer. I reinstalled it twice, created 2-3 new projects and suddenly it worked again (not for so long). I have no idea why this problem occurs but before i got this problem, Qt replied with info about missing .dll, and when i manually added them plugin error appeard. And well, this morning got same problem again :/

        1 Reply Last reply
        0
        • hskoglundH Offline
          hskoglundH Offline
          hskoglund
          wrote on last edited by
          #7

          Hi, just a guess but perhaps your Microsoft OneDrive is acting up? Try updating it.
          (Parts of Microsoft OneDrive is built with Qt and sometimes it puts itself in the PATH thus disturbing other Qt apps.)

          1 Reply Last reply
          0
          • H Offline
            H Offline
            ham13
            wrote on last edited by
            #8

            Thank you all for your responses! I installed Qt and QtCreator using the Qt installer I downloaded from the Qt site. Installed both Qt5 and Qt6 separately
            after removing the previous version. I used the maintenance tool to remove the previous versions before installing the next. Both Qt5 and Qt6 gave the same error.

            The net talks about moving .dll files but the info is old and the directories are not the same in current versions.

            My OneDrive has been down but, I'll try to update it. MS did something to it so that it stopped working on Windows 10.

            Thanks

            1 Reply Last reply
            0
            • H Offline
              H Offline
              ham13
              wrote on last edited by
              #9

              Regarding MS OneDrive. My PC originally had MSW 8.1 installed when I purchased it. Since then we did the "free" upgrade to Windows 10 and have kept up-to-date on the updates. Now the PC its running Windows 10 but the "System page" still show 8.1. The problem is that the OneDrive app came on the PC. Now to use it I have to upgrade Windows. Well since the OS is Windows 10 there are no updates available and the new OneDrive will not install because "update" thinks it is Win8.1. UGG!
              I may just unistall it.

              Looked at all the paths in the environment. None contain any reference to OneDrive or Qt. Is there a path to Qt I should add? If so what should I add to the path?

              Thanks

              JonBJ 1 Reply Last reply
              0
              • hskoglundH Offline
                hskoglundH Offline
                hskoglund
                wrote on last edited by
                #10

                Well I think then OneDrive is not blame for your Qt failing.
                So perhaps start at square 1, open a CMD window and type
                set QT_DEBUG_PLUGINS=1
                then start Qt Creator from that same CMD window, say like this:
                C:\Qt\Tools\QtCreator\bin\qtcreator.exe
                (or wherever your Qt Creator is located)

                To see the debug oiutput you need to download DbgView from here
                Note: start DbgView before starting Qt Creator :-)
                Then post say the last 100 lines or so of the output here (i.e. where it fails)

                1 Reply Last reply
                0
                • H ham13

                  Regarding MS OneDrive. My PC originally had MSW 8.1 installed when I purchased it. Since then we did the "free" upgrade to Windows 10 and have kept up-to-date on the updates. Now the PC its running Windows 10 but the "System page" still show 8.1. The problem is that the OneDrive app came on the PC. Now to use it I have to upgrade Windows. Well since the OS is Windows 10 there are no updates available and the new OneDrive will not install because "update" thinks it is Win8.1. UGG!
                  I may just unistall it.

                  Looked at all the paths in the environment. None contain any reference to OneDrive or Qt. Is there a path to Qt I should add? If so what should I add to the path?

                  Thanks

                  JonBJ Offline
                  JonBJ Offline
                  JonB
                  wrote on last edited by
                  #11

                  @ham13 said in No Qt platform plugin could be initialized:

                  Regarding MS OneDrive

                  Don't rely on me for this, because I would not want you to lose access to any data because I am not correct. But it sounds like you are running some old Win8 OneDrive app on your newer OS. There should be a OneDrive app or just inbuilt support in the newer one. What matters is not which app you use to access OneDrive but just your login so that you can access your data; the client app (so long as it works) should not be relevant. But as I said I don't want you to let me make you lose your data!

                  1 Reply Last reply
                  0
                  • H Offline
                    H Offline
                    ham13
                    wrote on last edited by
                    #12

                    Regarding OneDrive. OneDrive will not run. It since it thinks the OS is win 8.1 it will not start unless I update windows. Windows update has no available updates as the OS is now Win 10. I downloaded the current OneDrive but it will not install. It tells me "You have an preinstalled app for this". Seems like catch 22. Should I copy the OneDrive offline files for BU the uninstall OneDrive using the programs/app from the control panel?

                    I'll post the output of the debugger later today.

                    Thanks

                    JonBJ 1 Reply Last reply
                    0
                    • H ham13

                      Regarding OneDrive. OneDrive will not run. It since it thinks the OS is win 8.1 it will not start unless I update windows. Windows update has no available updates as the OS is now Win 10. I downloaded the current OneDrive but it will not install. It tells me "You have an preinstalled app for this". Seems like catch 22. Should I copy the OneDrive offline files for BU the uninstall OneDrive using the programs/app from the control panel?

                      I'll post the output of the debugger later today.

                      Thanks

                      JonBJ Offline
                      JonBJ Offline
                      JonB
                      wrote on last edited by
                      #13

                      @ham13 said in No Qt platform plugin could be initialized:

                      I downloaded the current OneDrive but it will not install. It tells me "You have an preinstalled app for this".

                      I have no idea. Maybe you are supposed to uninstall the existing one first. You should not need to use some Win8 OneDrive client under Win10. But like I said, I am not making any promises, only assumptions.

                      Should I copy the OneDrive offline files for BU the uninstall OneDrive using the programs/app from the control panel?

                      If you have the space somewhere it might be a sensible precaution :)

                      1 Reply Last reply
                      0
                      • H Offline
                        H Offline
                        ham13
                        wrote on last edited by
                        #14

                        Ok on OneDrive. Will BU files the delete them from OneDrive.

                        The results of the debug are below.

                        00000001 0.00000000 [12004] 12840 0000000000000000 ENTER: DllCanUnloadNow
                        00000002 22.68410873 [12004] 6884 0000000000000000 ENTER: DllCanUnloadNow
                        00000003 104.30684662 [12004] 8832 0000000000000000 ENTER: DllCanUnloadNow
                        00000004 104.81434631 [12004] 10088 0000000000000000 ENTER: DllCanUnloadNow
                        00000005 111.02730560 [12004] 6884 0000000000000000 ENTER: DllCanUnloadNow
                        00000006 123.44914246 [5840] qt.core.plugin.factoryloader: checking directory path "C:/Qt5/Tools/QtCreator/bin/plugins/platforms" ...
                        00000007 123.45053101 [5840] qt.core.plugin.factoryloader: looking at "C:/Qt5/Tools/QtCreator/bin/plugins/platforms/qdirect2d.dll"
                        00000008 123.46178436 [5840] qt.core.plugin.loader: Found metadata in lib C:/Qt5/Tools/QtCreator/bin/plugins/platforms/qdirect2d.dll, metadata=
                        00000009 123.46178436 [5840] {
                        00000010 123.46178436 [5840] "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                        00000011 123.46178436 [5840] "MetaData": {
                        00000012 123.46178436 [5840] "Keys": [
                        00000013 123.46178436 [5840] "direct2d"
                        00000014 123.46178436 [5840] ]
                        00000015 123.46178436 [5840] },
                        00000016 123.46178436 [5840] "archlevel": 0,
                        00000017 123.46178436 [5840] "className": "QWindowsDirect2DIntegrationPlugin",
                        00000018 123.46178436 [5840] "debug": false,
                        00000019 123.46178436 [5840] "version": 393984
                        00000020 123.46178436 [5840] }
                        00000021 123.46178436 [5840]
                        00000022 123.46178436 [5840]
                        00000023 123.47000885 [5840] qt.core.plugin.factoryloader: Got keys from plugin meta data QList("direct2d")
                        00000024 123.47006226 [5840] qt.core.plugin.factoryloader: looking at "C:/Qt5/Tools/QtCreator/bin/plugins/platforms/qminimal.dll"
                        00000025 123.47084045 [5840] qt.core.plugin.loader: Found metadata in lib C:/Qt5/Tools/QtCreator/bin/plugins/platforms/qminimal.dll, metadata=
                        00000026 123.47084045 [5840] {
                        00000027 123.47084045 [5840] "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                        00000028 123.47084045 [5840] "MetaData": {
                        00000029 123.47084045 [5840] "Keys": [
                        00000030 123.47084045 [5840] "minimal"
                        00000031 123.47084045 [5840] ]
                        00000032 123.47084045 [5840] },
                        00000033 123.47084045 [5840] "archlevel": 0,
                        00000034 123.47084045 [5840] "className": "QMinimalIntegrationPlugin",
                        00000035 123.47084045 [5840] "debug": false,
                        00000036 123.47084045 [5840] "version": 393984
                        00000037 123.47084045 [5840] }
                        00000038 123.47084045 [5840]
                        00000039 123.47084045 [5840]
                        00000040 123.47090912 [5840] qt.core.plugin.factoryloader: Got keys from plugin meta data QList("minimal")
                        00000041 123.47094727 [5840] qt.core.plugin.factoryloader: looking at "C:/Qt5/Tools/QtCreator/bin/plugins/platforms/qoffscreen.dll"
                        00000042 123.47157288 [5840] qt.core.plugin.loader: Found metadata in lib C:/Qt5/Tools/QtCreator/bin/plugins/platforms/qoffscreen.dll, metadata=
                        00000043 123.47157288 [5840] {
                        00000044 123.47157288 [5840] "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                        00000045 123.47157288 [5840] "MetaData": {
                        00000046 123.47157288 [5840] "Keys": [
                        00000047 123.47157288 [5840] "offscreen"
                        00000048 123.47157288 [5840] ]
                        00000049 123.47157288 [5840] },
                        00000050 123.47157288 [5840] "archlevel": 0,
                        00000051 123.47157288 [5840] "className": "QOffscreenIntegrationPlugin",
                        00000052 123.47157288 [5840] "debug": false,
                        00000053 123.47157288 [5840] "version": 393984
                        00000054 123.47157288 [5840] }
                        00000055 123.47157288 [5840]
                        00000056 123.47157288 [5840]
                        00000057 123.47167206 [5840] qt.core.plugin.factoryloader: Got keys from plugin meta data QList("offscreen")
                        00000058 123.47171783 [5840] qt.core.plugin.factoryloader: looking at "C:/Qt5/Tools/QtCreator/bin/plugins/platforms/qwindows.dll"
                        00000059 123.47232056 [5840] qt.core.plugin.loader: Found metadata in lib C:/Qt5/Tools/QtCreator/bin/plugins/platforms/qwindows.dll, metadata=
                        00000060 123.47232056 [5840] {
                        00000061 123.47232056 [5840] "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                        00000062 123.47232056 [5840] "MetaData": {
                        00000063 123.47232056 [5840] "Keys": [
                        00000064 123.47232056 [5840] "windows"
                        00000065 123.47232056 [5840] ]
                        00000066 123.47232056 [5840] },
                        00000067 123.47232056 [5840] "archlevel": 0,
                        00000068 123.47232056 [5840] "className": "QWindowsIntegrationPlugin",
                        00000069 123.47232056 [5840] "debug": false,
                        00000070 123.47232056 [5840] "version": 393984
                        00000071 123.47232056 [5840] }
                        00000072 123.47232056 [5840]
                        00000073 123.47232056 [5840]
                        00000074 123.47239685 [5840] qt.core.plugin.factoryloader: Got keys from plugin meta data QList("windows")
                        00000075 123.47244263 [5840] qt.core.plugin.factoryloader: checking directory path "C:/Qt5/Tools/QtCreator/bin/platforms" ...
                        00000076 123.56985474 [5840] qt.core.library: "C:/Qt5/Tools/QtCreator/bin/plugins/platforms/qwindows.dll" cannot load: Cannot load library C:\Qt5\Tools\QtCreator\bin\plugins\platforms\qwindows.dll: The specified procedure could not be found.
                        00000077 123.56987762 [5840] qt.core.plugin.loader: QLibraryPrivate::loadPlugin failed on "C:/Qt5/Tools/QtCreator/bin/plugins/platforms/qwindows.dll" : "Cannot load library C:\Qt5\Tools\QtCreator\bin\plugins\platforms\qwindows.dll: The specified procedure could not be found."
                        00000078 123.56994629 [5840] qt.qpa.plugin: Could not load the Qt platform plugin "windows" in "" even though it was found.
                        00000079 128.48297119 [5840] This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
                        00000080 128.48297119 [5840]
                        00000081 128.48297119 [5840] Available platform plugins are: direct2d, minimal, offscreen, windows.
                        00000082 128.48297119 [5840]
                        00000083 186.36808777 [12004] 6968 0000000000000000 ENTER: DllCanUnloadNow
                        00000084 199.37474060 [12004] 6884 0000000000000000 ENTER: DllCanUnloadNow
                        00000085 287.71145630 [12004] 6884 0000000000000000 ENTER: DllCanUnloadNow
                        00000086 287.90173340 [12004] 3992 0000000000000000 ENTER: DllCanUnloadNow
                        00000087 297.08096313 [1660] ShellStreams: Attach
                        00000088 297.08258057 [1660] ShellStreams: Initialized
                        00000089 297.10009766 [1660] Trying to load localized resources for LANGID 1033 with Primary LANGID 9 code en name English (Universal)
                        00000090 297.11761475 [1660] Resource DLL loaded at path C:\Program Files (x86)\Common Files\Apple\Internet Services\ShellStreams.resources\en.lproj\ShellStreamsLocalized.dll
                        00000091 297.13519287 [1660] Not running under explorer. Will not set thread locale
                        00000092 297.15405273 [1660] 13276 051E95F8 ENTER: ShellStreamsFolder::ShellStreamsFolder
                        00000093 297.17083740 [1660] pidl = 1f50e04fd020ea3a6910a2d8802b30309d140 -> 2e80853fd6f0ec379740b3d61b4a891711800 ->
                        00000094 297.18710327 [1660]
                        00000095 297.20248413 [1660] 13276 051E95F8 ENTER: ShellStreamsFolder::ShellStreamsFolder
                        00000096 297.21844482 [1660] pidl = 1f50e04fd020ea3a6910a2d8802b30309d140 -> 2e80853fd6f0ec379740b3d61b4a891711800 ->
                        00000097 297.23428345 [1660]

                        Hope it helps.

                        Thanks

                        1 Reply Last reply
                        0
                        • hskoglundH Offline
                          hskoglundH Offline
                          hskoglund
                          wrote on last edited by hskoglund
                          #15

                          Hi it's complaining about the C:\Qt5\Tools\QtCreator\bin\plugins\platforms\qwindows.dll file, that it's a not a valid .dll. Do you have any 3rd party antivirus program like Avast installed?
                          Also check the size and date of that file, mine looks like this:

                          C:\Qt\Tools\QtCreator\bin\plugins\platforms>dir qwindows.dll
                           Volume in drive C has no label.
                           Volume Serial Number is 2468-E241
                          
                           Directory of C:\Qt\Tools\QtCreator\bin\plugins\platforms
                          
                          2022-06-02  16:18           802 704 qwindows.dll
                                         1 File(s)        802 704 bytes
                                         0 Dir(s)  70 671 708 160 bytes free
                          
                          
                          1 Reply Last reply
                          0
                          • H Offline
                            H Offline
                            ham13
                            wrote on last edited by
                            #16

                            Mine reads:

                            06/02/2022 10:18 AM 802,704 qwindows.dll
                            1 File(s) 802,704 bytes
                            0 Dir(s) 273,429,200,896 bytes free

                            C:\Qt5\Tools\QtCreator\bin\plugins\platforms>

                            Properties:
                            6/2/22 - Version 6.3.1

                            Yes I'm running Trendmicro antivirus with Windows Defender.

                            Thanks

                            JonBJ 1 Reply Last reply
                            0
                            • H ham13

                              Mine reads:

                              06/02/2022 10:18 AM 802,704 qwindows.dll
                              1 File(s) 802,704 bytes
                              0 Dir(s) 273,429,200,896 bytes free

                              C:\Qt5\Tools\QtCreator\bin\plugins\platforms>

                              Properties:
                              6/2/22 - Version 6.3.1

                              Yes I'm running Trendmicro antivirus with Windows Defender.

                              Thanks

                              JonBJ Offline
                              JonBJ Offline
                              JonB
                              wrote on last edited by JonB
                              #17

                              @ham13

                              qt.core.plugin.loader: QLibraryPrivate::loadPlugin failed on "C:/Qt5/Tools/QtCreator/bin/plugins/platforms/qwindows.dll" :
                              "Cannot load library C:\Qt5\Tools\QtCreator\bin\plugins\platforms\qwindows.dll:
                              The specified procedure could not be found."
                              

                              It's not actually complaining that it cannot load the DLL per se, it's saying that it could not find the exported procedure it was asking for/expecting to find. Unfortunately we don't know which procedure name. Not that it helps much solve why/what to do.

                              1 Reply Last reply
                              0
                              • hskoglundH Offline
                                hskoglundH Offline
                                hskoglund
                                wrote on last edited by hskoglund
                                #18

                                If you disable TrendMicro do you get the same error?

                                Edit: forgot to say, it could be you're missing some stuff from Microsoft that qwindows.dll needs to load ok, I'm thinking about the Visual C++ redistrubuable files (early versions of Windows 10 do not have them). Go here to install and choose the X64 flavor.

                                1 Reply Last reply
                                1
                                • H Offline
                                  H Offline
                                  ham13
                                  wrote on last edited by
                                  #19

                                  Same error with antivirus (TrendMicro) off or on. Installed Visual C++ redistributable 64 bit. No change. I get same error on both Qt6 and qt5. I have installedQt5 in \Qt5. Maybe I should have installed it in C:?

                                  Thanks

                                  1 Reply Last reply
                                  0
                                  • hskoglundH Offline
                                    hskoglundH Offline
                                    hskoglund
                                    wrote on last edited by hskoglund
                                    #20

                                    Hi, you could try launching Qt Creator without loading or requiring qwindows.dll, open a CMD window:
                                    C:\Qt5\Tools\QtCreator\bin\qtcreator.exe -platform direct2d

                                    If that fails: the problem could be some detritus from previous Qt versions that still remains. One way to test that is if you create a new user on your PC, log out and log in as that new user. Then try start Qt Creator on that desktop (if there's no icon to launch it you might have to navigate to the qtcreator.exe file manually).

                                    *Edit": also a good test of Qt's health is to run qtdiag.exe from a CMD window. (There's usually 2 of them for a given Qt release, one in the mscv2019\bin subdirectory and one in Qt\Tools\QtCreator\bin so try running all 4 of them :-)

                                    1 Reply Last reply
                                    0
                                    • H Offline
                                      H Offline
                                      ham13
                                      wrote on last edited by
                                      #21

                                      Ran C:\Qt5\Tools\QtCreator\bin\qtcreator.exe -platform direct2d. Got same error.
                                      Tried new Windows user. No change.

                                      Found qtdiag in Qt5\5.15.2\msvc2015-64\bin. Found QtAsistant, QtDesigner and QtLinguist in this directory and all three ran. Unfortunately Result below QtCreator was not there. Maybe these are leftover from a previous install? the do not show up in "Programs and features". How should I clean them out?

                                      qtdiag result:

                                      C:\Qt5\5.15.2\msvc2015_64\bin>qtdiag.exe
                                      Failed to load vulkan-1: Cannot load library vulkan-1: The specified module could not be found.
                                      initInstance: No Vulkan library available
                                      Failed to create platform Vulkan instance
                                      Failed to load vulkan-1: Cannot load library vulkan-1: The specified module could not be found.
                                      initInstance: No Vulkan library available
                                      Failed to create platform Vulkan instance
                                      Vulkan instance is not valid
                                      Qt 5.15.2 (x86_64-little_endian-llp64 shared (dynamic) release build; by MSVC 2015) on "windows"
                                      OS: Windows 8.1 Version 6.3 (Build 9600) [winnt version 6.3.9600]

                                      Architecture: x86_64; features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX

                                      Environment:

                                      Features: QT_NO_EXCEPTIONS

                                      Library info:
                                      PrefixPath: C:\Qt5\5.15.2\msvc2015_64
                                      DocumentationPath: C:\Qt5\Docs\Qt-5.15.2
                                      HeadersPath: C:\Qt5\5.15.2\msvc2015_64\include
                                      LibrariesPath: C:\Qt5\5.15.2\msvc2015_64\lib
                                      LibraryExecutablesPath: C:\Qt5\5.15.2\msvc2015_64\bin
                                      BinariesPath: C:\Qt5\5.15.2\msvc2015_64\bin
                                      PluginsPath: C:\Qt5\5.15.2\msvc2015_64\plugins
                                      ImportsPath: C:\Qt5\5.15.2\msvc2015_64\imports
                                      Qml2ImportsPath: C:\Qt5\5.15.2\msvc2015_64\qml
                                      ArchDataPath: C:\Qt5\5.15.2\msvc2015_64
                                      DataPath: C:\Qt5\5.15.2\msvc2015_64
                                      TranslationsPath: C:\Qt5\5.15.2\msvc2015_64\translations
                                      ExamplesPath: C:\Qt5\Examples\Qt-5.15.2
                                      TestsPath: C:\Qt5\5.15.2\msvc2015_64\tests
                                      SettingsPath:

                                      Standard paths [... denote writable entry]:
                                      DesktopLocation: "Desktop" C:\Users\Marty\Desktop
                                      DocumentsLocation: "Documents" C:\Users\Marty\Documents
                                      FontsLocation: "Fonts" C:\WINDOWS\Fonts
                                      ApplicationsLocation: "Applications" C:\Users\Marty\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
                                      MusicLocation: "Music" C:\Users\Marty\Music
                                      MoviesLocation: "Movies" C:\Users\Marty\Videos
                                      PicturesLocation: "Pictures" C:\Users\Marty\Pictures
                                      TempLocation: "Temporary Directory" C:\Users\Marty\AppData\Local\Temp
                                      HomeLocation: "Home" C:\Users\Marty
                                      AppLocalDataLocation: "Application Data" C:\Users\Marty\AppData\Local\QtProject\qtdiag C:\ProgramData\QtProject\qtdiag C:\Qt5\5.15.2\msvc2015_64\bin C:\Qt5\5.15.2\msvc2015_64\bin\data C:\Qt5\5.15.2\msvc2015_64\bin\data\QtProject\qtdiag
                                      CacheLocation: "Cache" C:\Users\Marty\AppData\Local\QtProject\qtdiag\cache
                                      GenericDataLocation: "Shared Data" C:\Users\Marty\AppData\Local C:\ProgramData C:\Qt5\5.15.2\msvc2015_64\bin C:\Qt5\5.15.2\msvc2015_64\bin\data
                                      RuntimeLocation: "Runtime" C:\Users\Marty
                                      ConfigLocation: "Configuration" C:\Users\Marty\AppData\Local\QtProject\qtdiag C:\ProgramData\QtProject\qtdiag C:\Qt5\5.15.2\msvc2015_64\bin C:\Qt5\5.15.2\msvc2015_64\bin\data C:\Qt5\5.15.2\msvc2015_64\bin\data\QtProject\qtdiag
                                      DownloadLocation: "Download" C:\Users\Marty\Downloads
                                      GenericCacheLocation: "Shared Cache" C:\Users\Marty\AppData\Local\cache
                                      GenericConfigLocation: "Shared Configuration" C:\Users\Marty\AppData\Local C:\ProgramData C:\Qt5\5.15.2\msvc2015_64\bin C:\Qt5\5.15.2\msvc2015_64\bin\data
                                      AppDataLocation: "Application Data" C:\Users\Marty\AppData\Roaming\QtProject\qtdiag C:\ProgramData\QtProject\qtdiag C:\Qt5\5.15.2\msvc2015_64\bin C:\Qt5\5.15.2\msvc2015_64\bin\data C:\Qt5\5.15.2\msvc2015_64\bin\data\QtProject\qtdiag
                                      AppConfigLocation: "Application Configuration" C:\Users\Marty\AppData\Local\QtProject\qtdiag C:\ProgramData\QtProject\qtdiag C:\Qt5\5.15.2\msvc2015_64\bin C:\Qt5\5.15.2\msvc2015_64\bin\data C:\Qt5\5.15.2\msvc2015_64\bin\data\QtProject\qtdiag

                                      File selectors (increasing order of precedence):
                                      en_US windows winnt

                                      Network:

                                      SSL is not supported.

                                      Platform capabilities: ThreadedPixmaps OpenGL ThreadedOpenGL WindowMasks MultipleWindows ForeignWindows NonFullScreenWindows NativeWidgets WindowManagement RasterGLSurface AllGLFunctionsQueryable

                                      Style hints:
                                      mouseDoubleClickInterval: 500
                                      mousePressAndHoldInterval: 800
                                      startDragDistance: 10
                                      startDragTime: 500
                                      startDragVelocity: 0
                                      keyboardInputInterval: 400
                                      keyboardAutoRepeatRate: 32
                                      cursorFlashTime: 1060
                                      showIsFullScreen: 0
                                      showIsMaximized: 0
                                      passwordMaskDelay: 0
                                      passwordMaskCharacter: U+25CF
                                      fontSmoothingGamma: 1.2
                                      useRtlExtensions: 0
                                      setFocusOnTouchRelease: 0
                                      tabFocusBehavior: Qt::TabFocusAllControls
                                      singleClickActivation: 0

                                      Additional style hints (QPlatformIntegration):
                                      ReplayMousePressOutsidePopup: 1

                                      Theme:
                                      Platforms requested : windows
                                      available : snap,flatpak,xdgdesktopportal
                                      Styles requested : WindowsVista,Windows
                                      available : windowsvista,Windows,Fusion
                                      System font : "MS Shell Dlg 2" 8
                                      Native file dialog

                                      Fonts:
                                      General font : "MS Shell Dlg 2" 8
                                      Fixed font : "Courier New" 9
                                      Title font : "MS Shell Dlg 2" 8
                                      Smallest font: "MS Shell Dlg 2" 8

                                      Palette:
                                      QPalette::WindowText: #ff000000
                                      QPalette::Button: #fff0f0f0
                                      QPalette::Light: #ffffffff
                                      QPalette::Midlight: #ffe3e3e3
                                      QPalette::Dark: #ffa0a0a0
                                      QPalette::Mid: #ffa0a0a0
                                      QPalette::Text: #ff000000
                                      QPalette::BrightText: #ffffffff
                                      QPalette::ButtonText: #ff000000
                                      QPalette::Base: #ffffffff
                                      QPalette::Window: #fff0f0f0
                                      QPalette::Shadow: #ff696969
                                      QPalette::Highlight: #ff3399ff
                                      QPalette::HighlightedText: #ffffffff
                                      QPalette::Link: #ff0000ff
                                      QPalette::LinkVisited: #ffff00ff
                                      QPalette::AlternateBase: #ffe9e7e3
                                      QPalette::NoRole: #ff000000
                                      QPalette::ToolTipBase: #ffffffdc
                                      QPalette::ToolTipText: #ff000000
                                      QPalette::PlaceholderText: #80000000

                                      Screens: 1, High DPI scaling: inactive

                                      0 "\.\DISPLAY1" Depth: 32 Primary: yes

                                      Manufacturer:
                                      Model:
                                      Serial number:
                                      Geometry: 1280x1024+0+0 Available: 1280x984+0+0
                                      Physical size: 376x301 mm Refresh: 60 Hz Power state: 0
                                      Physical DPI: 86.4681,86.4106 Logical DPI: 96,96 Subpixel_RGB
                                      DevicePixelRatio: 1 Pixel density: 1
                                      Primary orientation: 2 Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0

                                      Dynamic GL LibGL Vendor: Intel
                                      Renderer: Intel(R) HD Graphics 2500
                                      Version: 4.0.0 - Build 10.18.10.4276
                                      Shading language: 4.00 - Build 10.18.10.4276
                                      Format: Version: 4.0 Profile: 2 Swap behavior: 2 Buffer size (RGBA): 8,8,8,8 Depth buffer: 24 Stencil buffer: 8
                                      Profile: None (QOpenGLFunctions_4_0), Core (QOpenGLFunctions_4_0_Core), Compatibility (QOpenGLFunctions_4_0_Compatibility)

                                      Unable to create a Vulkan instance, error code is0

                                      GPU #1:
                                      Card name : Intel(R) HD Graphics
                                      Driver Name : igdumdim64.dll
                                      Driver Version : 10.18.10.4276
                                      Vendor ID : 0x8086
                                      Device ID : 0x0152
                                      SubSys ID : 0x365317AA
                                      Revision ID : 0x0009

                                      Qt Rendering Hardware Interface supported backends:
                                      OpenGL (with default QSurfaceFormat):
                                      Min Texture Size: 1
                                      Max Texture Size: 16384
                                      Max Color Attachments: 8
                                      Frames in Flight: 1
                                      Uniform Buffer Alignment: 1
                                      Supported MSAA sample counts: 1,2,4,8
                                      Features:
                                      - MultisampleTexture
                                      v MultisampleRenderBuffer
                                      - DebugMarkers
                                      - Timestamps
                                      v Instancing
                                      - CustomInstanceStepRate
                                      - PrimitiveRestart
                                      v NonDynamicUniformBuffers
                                      v NonFourAlignedEffectiveIndexBufferOffset
                                      v NPOTTextureRepeat
                                      - RedOrAlpha8IsRed
                                      v ElementIndexUint
                                      - Compute
                                      v WideLines
                                      v VertexShaderPointSize
                                      v BaseVertex
                                      - BaseInstance
                                      v TriangleFanTopology
                                      v ReadBackNonUniformBuffer
                                      v ReadBackNonBaseMipLevel
                                      Texture formats: RGBA8 BGRA8 R8 R16 RED_OR_ALPHA8 RGBA16F RGBA32F R16F R32F D16 D32F BC1 BC2 BC3 ETC2_RGB8 ETC2_RGB8A1 ETC2_RGBA8
                                      Direct3D 11:
                                      Min Texture Size: 1
                                      Max Texture Size: 16384
                                      Max Color Attachments: 8
                                      Frames in Flight: 1
                                      Uniform Buffer Alignment: 256
                                      Supported MSAA sample counts: 1,2,4,8
                                      Features:
                                      v MultisampleTexture
                                      v MultisampleRenderBuffer
                                      v DebugMarkers
                                      v Timestamps
                                      v Instancing
                                      v CustomInstanceStepRate
                                      v PrimitiveRestart
                                      - NonDynamicUniformBuffers
                                      v NonFourAlignedEffectiveIndexBufferOffset
                                      v NPOTTextureRepeat
                                      v RedOrAlpha8IsRed
                                      v ElementIndexUint
                                      v Compute
                                      - WideLines
                                      - VertexShaderPointSize
                                      v BaseVertex
                                      v BaseInstance
                                      - TriangleFanTopology
                                      v ReadBackNonUniformBuffer
                                      v ReadBackNonBaseMipLevel
                                      Texture formats: RGBA8 BGRA8 R8 R16 RED_OR_ALPHA8 RGBA16F RGBA32F R16F R32F D16 D32F BC1 BC2 BC3 BC4 BC5 BC6H BC7

                                      C:\Qt5\5.15.2\msvc2015_64\bin>

                                      Thanks

                                      1 Reply Last reply
                                      0
                                      • hskoglundH Offline
                                        hskoglundH Offline
                                        hskoglund
                                        wrote on last edited by
                                        #22

                                        Aha, I think the mystery is solved: qtdiag.exe says that you're in fact running Windows 8.1 and not Windows 10.
                                        That explains why Qt 5.15.2 works except for Qt Creator 8.0.1 which is based on Qt 6.3.1. And Qt 6.3.1 does not run on Windows 8.1, it requires Windows 10 or 11.

                                        To get a working Qt Creator, you can install a version of Qt Creator based on Qt 5. 15.2 from here: https://download.qt.io/snapshots/qtcreator_qt5/8.0/8.0.2/307/qt-creator-opensource-windows-x86_64-8.0.2_307.exe

                                        1 Reply Last reply
                                        1
                                        • H Offline
                                          H Offline
                                          ham13
                                          wrote on last edited by
                                          #23

                                          OK. That was the problem. I downloaded and installed QtCreator 8.0.2 as you suggested. It loads and runs. I'll test it out with a project later. So it looks like I should continue with Qt 5.1 and not use Qt 6 unless I have a "real" Win 10 PC.

                                          That also explains why I cannot use or upgrade MS OneDrive. There are no updates to Win 8.1 available. The PC just wants to see updates to Win 10.

                                          My question it is true that the PC originally had Win 8 installed when we purchased it. Then MS came out with the free update to Win 10. We applied that update. We thought that it updated to Win 10 and I have added software based on that assumption. So which is it Win 8 or Win 10 or some
                                          combination of both? Do I consider the OS to be Win 8 or Win 10?

                                          Thank you for your patience and help! I never would have figured it out without you advice.

                                          Thanks

                                          JonBJ 1 Reply Last reply
                                          0

                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups
                                          • Search
                                          • Get Qt Extensions
                                          • Unsolved