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. Building Qt creator from source using mingw
Forum Updated to NodeBB v4.3 + New Features

Building Qt creator from source using mingw

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 4 Posters 393 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.
  • A Offline
    A Offline
    Abdurahman_Gulamkadirov
    wrote on 28 Jul 2021, 13:37 last edited by
    #1

    Hi there. I was building Qt creator 4.13.1 with mingw, for making widget plugins and using them on qt creator. But while building, I faced an error, and still can not solve:
    4f9b78c9-d252-40c0-9c0c-92520d56e8f4-image.png

    could you plz help me?

    J 1 Reply Last reply 29 Jul 2021, 05:33
    0
    • A Abdurahman_Gulamkadirov
      28 Jul 2021, 13:37

      Hi there. I was building Qt creator 4.13.1 with mingw, for making widget plugins and using them on qt creator. But while building, I faced an error, and still can not solve:
      4f9b78c9-d252-40c0-9c0c-92520d56e8f4-image.png

      could you plz help me?

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 29 Jul 2021, 05:33 last edited by
      #2

      @Abdurahman_Gulamkadirov said in Building Qt creator from source using mingw:

      for making widget plugins and using them on qt creator

      You could also build your plug-ins using same Qt version and compiler used to build QtCreator. This way you do not need to build QtCreator by yourself. The "About QtCreator" dialog shows you which Qt and compiler versions were used to build it.

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

      A 1 Reply Last reply 29 Jul 2021, 06:48
      0
      • J jsulm
        29 Jul 2021, 05:33

        @Abdurahman_Gulamkadirov said in Building Qt creator from source using mingw:

        for making widget plugins and using them on qt creator

        You could also build your plug-ins using same Qt version and compiler used to build QtCreator. This way you do not need to build QtCreator by yourself. The "About QtCreator" dialog shows you which Qt and compiler versions were used to build it.

        A Offline
        A Offline
        Abdurahman_Gulamkadirov
        wrote on 29 Jul 2021, 06:48 last edited by
        #3

        @jsulm Yes, I know that. But I'm going to use MingW, my Qt Creator based on MSVC 2019.

        K 1 Reply Last reply 29 Jul 2021, 07:23
        0
        • A Abdurahman_Gulamkadirov
          29 Jul 2021, 06:48

          @jsulm Yes, I know that. But I'm going to use MingW, my Qt Creator based on MSVC 2019.

          K Offline
          K Offline
          KroMignon
          wrote on 29 Jul 2021, 07:23 last edited by KroMignon
          #4

          @Abdurahman_Gulamkadirov said in Building Qt creator from source using mingw:

          But I'm going to use MingW, my Qt Creator based on MSVC 2019.

          Qt Creator is only an IDE, so no matter if it is build with MSVC or MinGW, nor the Qt Version used to build it.
          What is important is the Qt Kit you are using to build your project.

          EDIT: I apologies, in case of Qt Creator Plugin, it is very important!
          Have you tried to follow this https://github.com/qt-creator/qt-creator#windows ?

          EDIT2: I don't know if you have to use Qt MinGW distribution ==> https://wiki.qt.io/MinGW

          It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

          J 1 Reply Last reply 29 Jul 2021, 07:26
          0
          • K KroMignon
            29 Jul 2021, 07:23

            @Abdurahman_Gulamkadirov said in Building Qt creator from source using mingw:

            But I'm going to use MingW, my Qt Creator based on MSVC 2019.

            Qt Creator is only an IDE, so no matter if it is build with MSVC or MinGW, nor the Qt Version used to build it.
            What is important is the Qt Kit you are using to build your project.

            EDIT: I apologies, in case of Qt Creator Plugin, it is very important!
            Have you tried to follow this https://github.com/qt-creator/qt-creator#windows ?

            EDIT2: I don't know if you have to use Qt MinGW distribution ==> https://wiki.qt.io/MinGW

            J Offline
            J Offline
            jsulm
            Lifetime Qt Champion
            wrote on 29 Jul 2021, 07:26 last edited by
            #5

            @KroMignon He want to write plug-ins for QtCreator. In that case he has to use same Qt and compiler version.

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

            1 Reply Last reply
            0
            • C Offline
              C Offline
              Christian Ehrlicher
              Lifetime Qt Champion
              wrote on 29 Jul 2021, 07:28 last edited by
              #6

              I think it would be much easier to simply install MSVC2019 and compile the plugin with MSVC2019 instead - then the binary can also be used from others

              Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
              Visit the Qt Academy at https://academy.qt.io/catalog

              A 1 Reply Last reply 29 Jul 2021, 11:34
              3
              • C Christian Ehrlicher
                29 Jul 2021, 07:28

                I think it would be much easier to simply install MSVC2019 and compile the plugin with MSVC2019 instead - then the binary can also be used from others

                A Offline
                A Offline
                Abdurahman_Gulamkadirov
                wrote on 29 Jul 2021, 11:34 last edited by
                #7

                @Christian-Ehrlicher Ok I'll try, I'll inform as soon as there will be a result

                1 Reply Last reply
                0

                3/7

                29 Jul 2021, 06:48

                • Login

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