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. Plugin initialization failed: The maintenance tool at "C:\Qt/MaintenanceTool.exe" is not an executable. Check your installation.
Forum Updated to NodeBB v4.3 + New Features

Plugin initialization failed: The maintenance tool at "C:\Qt/MaintenanceTool.exe" is not an executable. Check your installation.

Scheduled Pinned Locked Moved Unsolved General and Desktop
13 Posts 5 Posters 4.3k 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.
  • G Gilad Reich

    @koahnig said in Plugin initialization failed: The maintenance tool at "C:\Qt/MaintenanceTool.exe" is not an executable. Check your installation.:

    @Gilad-Reich

    AFAIK it is still the case that you cannot simply move an installed Qt version to another folder. The reason is that some absolute path values are stored in executables. There has been a tool in the past to allow changing those stored values.

    However, out of personal experience I would recommend simply to reinstall once again. This may take time, but avoids a lot of pain.

    Interesting! Thanks for the info @koahnig. That gets me into thinking of doing some hex editing in the binaries ^_^
    Re-installing takes more than 2 hours in my case and about 25 GB :O quiet sad that there is no built-in function for that, especially with those big qt installation. I guess if I find a way to get this properly linked to the right path's, then I can re-create a tool like this and hopefully help others.
    But if anyone from the qt team would like to throw some more information on this, that would be less painful to go over this by myself and of course very appreciated!

    jsulmJ Offline
    jsulmJ Offline
    jsulm
    Lifetime Qt Champion
    wrote on last edited by
    #4

    @Gilad-Reich said in Plugin initialization failed: The maintenance tool at "C:\Qt/MaintenanceTool.exe" is not an executable. Check your installation.:

    about 25 GB

    Sounds like you have many different Qt builds - do you need all of them?

    https://forum.qt.io/topic/113070/qt-code-of-conduct

    G 1 Reply Last reply
    0
    • jsulmJ jsulm

      @Gilad-Reich said in Plugin initialization failed: The maintenance tool at "C:\Qt/MaintenanceTool.exe" is not an executable. Check your installation.:

      about 25 GB

      Sounds like you have many different Qt builds - do you need all of them?

      G Offline
      G Offline
      Gilad Reich
      wrote on last edited by
      #5

      @jsulm said in Plugin initialization failed: The maintenance tool at "C:\Qt/MaintenanceTool.exe" is not an executable. Check your installation.:

      @Gilad-Reich said in Plugin initialization failed: The maintenance tool at "C:\Qt/MaintenanceTool.exe" is not an executable. Check your installation.:

      about 25 GB

      Sounds like you have many different Qt builds - do you need all of them?

      To be quite frank with you, yea.
      My setup is basically with mingw53_32, msvc2015, msvc2015_64, msvc2017_64, android_x86, android_armv7 including sources.
      That's the reason I was hoping it is simple as just moving the directory location instead of having to go through the re-installation process.

      jsulmJ 1 Reply Last reply
      0
      • G Gilad Reich

        @jsulm said in Plugin initialization failed: The maintenance tool at "C:\Qt/MaintenanceTool.exe" is not an executable. Check your installation.:

        @Gilad-Reich said in Plugin initialization failed: The maintenance tool at "C:\Qt/MaintenanceTool.exe" is not an executable. Check your installation.:

        about 25 GB

        Sounds like you have many different Qt builds - do you need all of them?

        To be quite frank with you, yea.
        My setup is basically with mingw53_32, msvc2015, msvc2015_64, msvc2017_64, android_x86, android_armv7 including sources.
        That's the reason I was hoping it is simple as just moving the directory location instead of having to go through the re-installation process.

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #6

        @Gilad-Reich No problem. Just wanted to be sure as some people just select a whole Qt version in installer which currently selects around 35GB :-)

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        G 1 Reply Last reply
        0
        • jsulmJ jsulm

          @Gilad-Reich No problem. Just wanted to be sure as some people just select a whole Qt version in installer which currently selects around 35GB :-)

          G Offline
          G Offline
          Gilad Reich
          wrote on last edited by
          #7

          @jsulm said in Plugin initialization failed: The maintenance tool at "C:\Qt/MaintenanceTool.exe" is not an executable. Check your installation.:

          @Gilad-Reich No problem. Just wanted to be sure as some people just select a whole Qt version in installer which currently selects around 35GB :-)

          Indeed massive ^_^ Thanks for the concern!

          1 Reply Last reply
          0
          • G Gilad Reich

            @koahnig said in Plugin initialization failed: The maintenance tool at "C:\Qt/MaintenanceTool.exe" is not an executable. Check your installation.:

            @Gilad-Reich

            AFAIK it is still the case that you cannot simply move an installed Qt version to another folder. The reason is that some absolute path values are stored in executables. There has been a tool in the past to allow changing those stored values.

            However, out of personal experience I would recommend simply to reinstall once again. This may take time, but avoids a lot of pain.

            Interesting! Thanks for the info @koahnig. That gets me into thinking of doing some hex editing in the binaries ^_^
            Re-installing takes more than 2 hours in my case and about 25 GB :O quiet sad that there is no built-in function for that, especially with those big qt installation. I guess if I find a way to get this properly linked to the right path's, then I can re-create a tool like this and hopefully help others.
            But if anyone from the qt team would like to throw some more information on this, that would be less painful to go over this by myself and of course very appreciated!

            K Offline
            K Offline
            koahnig
            wrote on last edited by
            #8

            @Gilad-Reich said in Plugin initialization failed: The maintenance tool at "C:\Qt/MaintenanceTool.exe" is not an executable. Check your installation.:

            Re-installing takes more than 2 hours in my case and about 25 GB :O quiet sad that there is no built-in function for that, especially with those big qt installation. I guess if I find a way to get this properly linked to the right path's, then I can re-create a tool like this and hopefully help others.
            But if anyone from the qt team would like to throw some more information on this, that would be less painful to go over this by myself and of course very appreciated!

            Personally I would prefer the 2 hours of download instead of thinking that this is done in10 minutes and giving up after 2 days ;)
            Maybe nowadays it is no longer the big deal, but it was with Qt 4 back then IIRC. I think it was even magnified since I wanted to have a longer path set.

            As already indicated by @jsulm choose wisely and think about what you really require, helps as well. It is an easy trap for simply clicking and filling the HD/SSD to the rim.

            Vote the answer(s) that helped you to solve your issue(s)

            G 1 Reply Last reply
            2
            • K koahnig

              @Gilad-Reich said in Plugin initialization failed: The maintenance tool at "C:\Qt/MaintenanceTool.exe" is not an executable. Check your installation.:

              Re-installing takes more than 2 hours in my case and about 25 GB :O quiet sad that there is no built-in function for that, especially with those big qt installation. I guess if I find a way to get this properly linked to the right path's, then I can re-create a tool like this and hopefully help others.
              But if anyone from the qt team would like to throw some more information on this, that would be less painful to go over this by myself and of course very appreciated!

              Personally I would prefer the 2 hours of download instead of thinking that this is done in10 minutes and giving up after 2 days ;)
              Maybe nowadays it is no longer the big deal, but it was with Qt 4 back then IIRC. I think it was even magnified since I wanted to have a longer path set.

              As already indicated by @jsulm choose wisely and think about what you really require, helps as well. It is an easy trap for simply clicking and filling the HD/SSD to the rim.

              G Offline
              G Offline
              Gilad Reich
              wrote on last edited by
              #9

              @koahnig said in Plugin initialization failed: The maintenance tool at "C:\Qt/MaintenanceTool.exe" is not an executable. Check your installation.:

              Personally I would prefer the 2 hours of download

              You convinced me, thanks for the advice! :)

              😭😭
              0_1533818007835_Capture.PNG

              Luckly I was motivated enough this week to upgrade my SSD speeds thanks to the Qt big installation ^_^
              0_1533818122963_samsung970evo500gb.png

              I hope one day Qt will make the installation more portable for situations like these.

              K 1 Reply Last reply
              1
              • G Gilad Reich

                @koahnig said in Plugin initialization failed: The maintenance tool at "C:\Qt/MaintenanceTool.exe" is not an executable. Check your installation.:

                Personally I would prefer the 2 hours of download

                You convinced me, thanks for the advice! :)

                😭😭
                0_1533818007835_Capture.PNG

                Luckly I was motivated enough this week to upgrade my SSD speeds thanks to the Qt big installation ^_^
                0_1533818122963_samsung970evo500gb.png

                I hope one day Qt will make the installation more portable for situations like these.

                K Offline
                K Offline
                koahnig
                wrote on last edited by
                #10

                @Gilad-Reich said in Plugin initialization failed: The maintenance tool at "C:\Qt/MaintenanceTool.exe" is not an executable. Check your installation.:

                I hope one day Qt will make the installation more portable for situations like these.

                I think they will not. It is probably the whole point of Qt installer framework to get this the right way. The online installer is for where the download is not an issue. The offline installer is for places with restricted internet access.

                The path within the executables is part to ease the quick switching between setups with the kits.

                There might be also some registry entries on windows.

                As you see with yourself a couple of minutes are less of a problem. Internet flat rates and large SSD do the rest.

                Vote the answer(s) that helped you to solve your issue(s)

                1 Reply Last reply
                4
                • mrjjM Offline
                  mrjjM Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on last edited by mrjj
                  #11

                  Hi
                  Just as note:
                  I did move Qt from c:\ to d:\ and used MKLink
                  to make symbolic links. (on win 10)
                  I saw no side effects but only used it for like 3 weeks until i got new disk and reinstalled.

                  and that is some nice numbers for MB/s.
                  I am from a time where 20 MB/s was fast :)

                  1 Reply Last reply
                  1
                  • K Offline
                    K Offline
                    king_fei
                    wrote on last edited by
                    #12

                    Hi, Have you solved this problem?
                    I moved my Qt installation form C:/Qt to D:/Qt, it has same issue.

                    I tried to copy only "MaintenanceTool.exe" to C:/Qt , the issue has disappeared.
                    But i think It just deceived QtCreator and didn't really solve the problem.

                    mrjjM 1 Reply Last reply
                    0
                    • K king_fei

                      Hi, Have you solved this problem?
                      I moved my Qt installation form C:/Qt to D:/Qt, it has same issue.

                      I tried to copy only "MaintenanceTool.exe" to C:/Qt , the issue has disappeared.
                      But i think It just deceived QtCreator and didn't really solve the problem.

                      mrjjM Offline
                      mrjjM Offline
                      mrjj
                      Lifetime Qt Champion
                      wrote on last edited by
                      #13

                      @king_fei

                      Hi
                      Basically it used to be not a good idea to move the folder around after installation.
                      However, from 5.14
                      https://www.qt.io/blog/qt-is-relocatable
                      it should work fine.

                      1 Reply Last reply
                      1

                      • Login

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