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. Qt creator 4.10 changes Kit configurations automatically !!!

Qt creator 4.10 changes Kit configurations automatically !!!

Scheduled Pinned Locked Moved Solved General and Desktop
7 Posts 6 Posters 621 Views
  • 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.
  • ankit thakarA Offline
    ankit thakarA Offline
    ankit thakar
    wrote on last edited by
    #1

    Hello Team,

    Below is my Qt configuration.
    Qt creator :- 4.10.1
    Qt versions :- 5.13.1(with MinGW 7.30) & 4.8.7 (with MinGW 5.2)

    there is project dependency on perl hence, I have installed strwberry perl (5.8)

    Problem statement:- I have configured Qt 4.8.7 in my qt creator with MinGW when I relaunch the qt creator it changes the compiler from MinGW to strwberry path automatically ??!!!

    b9d8aa76-d64a-43be-a35c-5289340a8f6f-image.png

    JKSHJ 1 Reply Last reply
    0
    • ankit thakarA ankit thakar

      Hello Team,

      Below is my Qt configuration.
      Qt creator :- 4.10.1
      Qt versions :- 5.13.1(with MinGW 7.30) & 4.8.7 (with MinGW 5.2)

      there is project dependency on perl hence, I have installed strwberry perl (5.8)

      Problem statement:- I have configured Qt 4.8.7 in my qt creator with MinGW when I relaunch the qt creator it changes the compiler from MinGW to strwberry path automatically ??!!!

      b9d8aa76-d64a-43be-a35c-5289340a8f6f-image.png

      JKSHJ Online
      JKSHJ Online
      JKSH
      Moderators
      wrote on last edited by
      #2

      @ankit-thakar said in Qt creator 4.10 changes Kit configurations automatically !!!:

      when I relaunch the qt creator it changes the compiler from MinGW to strwberry path automatically ??!!!

      1. What does your "Compiler" tab show? Are you able to remove the Strawberry MinGW from the list?
      2. Was Strawberry added to your global system PATH? If so, remove it an restart Qt Creator. It is best to add the Strawberry path to the project only, not to your whole operating system.

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      ankit thakarA 1 Reply Last reply
      2
      • JKSHJ JKSH

        @ankit-thakar said in Qt creator 4.10 changes Kit configurations automatically !!!:

        when I relaunch the qt creator it changes the compiler from MinGW to strwberry path automatically ??!!!

        1. What does your "Compiler" tab show? Are you able to remove the Strawberry MinGW from the list?
        2. Was Strawberry added to your global system PATH? If so, remove it an restart Qt Creator. It is best to add the Strawberry path to the project only, not to your whole operating system.
        ankit thakarA Offline
        ankit thakarA Offline
        ankit thakar
        wrote on last edited by
        #3

        @JKSH
        Yes, i am able to remove from there. And yes, strawberry path is there in my system variables and i tried to remove that and re launched Qt.

        In this way it works fine. But here the question is once user has configured any kit then Qt creator shouldn't change it !!!!

        That's what my question is...

        aha_1980A 1 Reply Last reply
        0
        • ankit thakarA ankit thakar

          @JKSH
          Yes, i am able to remove from there. And yes, strawberry path is there in my system variables and i tried to remove that and re launched Qt.

          In this way it works fine. But here the question is once user has configured any kit then Qt creator shouldn't change it !!!!

          That's what my question is...

          aha_1980A Offline
          aha_1980A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi @ankit-thakar ,

          AFAIK, the make command calls all compilers without path, only by name. So even if the correct compiler would be shown in Creator, it would fail in the build process.

          That is the reason why you should not have compilers in the global path, only in the build environment. It has been like that on Windows forever, to be able to compile you had to open a Visual Studio or MinGW command prompt.

          Regards

          Qt has to stay free or it will die.

          1 Reply Last reply
          3
          • A Offline
            A Offline
            Alvaro Silva
            wrote on last edited by
            #5

            Hey,

            I have the same problem here running Qt Creator in Ubuntu. I change the kit to use clang but when I restart qt creator or change project it moves the compiler back to gcc instead.

            1 Reply Last reply
            2
            • A Offline
              A Offline
              Alaenix
              wrote on last edited by
              #6

              I have the same issue on Ubuntu 18.04 with QtCreator 4.11.1 : my Desktop Clang kit change of compiler, from Clang to GCC, automatically after restarting QtCreator.

              It seems that a bug report related to this issue already exist (https://bugreports.qt.io/browse/QTCREATORBUG-23417) with no resolution or workaround yet.

              1 Reply Last reply
              0
              • U Offline
                U Offline
                umod.47
                wrote on last edited by umod.47
                #7

                In case someone finds the same problem as me.
                Qt Creator 4.11 keeps resettinig compiler from clang to GCC, unless "linux-clang" is specified in "Qt mkspecs".
                Qt Creator 4.14 doesn't seem to have this bug. But this version is still not in repos of some major distros. I.e., Linux Mint 20 has Qt Creator 4.11 in repo.

                Press ESCAPE to enter or ENTER to escape.
                Keyboard not found. Press F1 to continue.
                (c) BIOS

                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