Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Creating a Qt project using MinGW displays the reading project all the time.
Forum Updated to NodeBB v4.3 + New Features

Creating a Qt project using MinGW displays the reading project all the time.

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
9 Posts 4 Posters 490 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.
  • H Offline
    H Offline
    honglixie
    wrote on 9 Aug 2024, 05:38 last edited by
    #1

    I am using Qt for the first time and the following is my project creation process
    屏幕截图 2024-08-09 125053.png 屏幕截图 2024-08-09 125126.png 屏幕截图 2024-08-09 125144.png 屏幕截图 2024-08-09 125358.png 屏幕截图 2024-08-09 125412.png 屏幕截图 2024-08-09 125443.png
    When I use MinGW (I have tried all the versions I have downloaded), the reading project will not stop at all, as shown
    屏幕截图 2024-08-09 130117.png
    While I used Process_Monitor analysis to find that Qt Creator is constantly creating and deleting pro files.
    屏幕截图 2024-08-09 131755.png
    When I use MSVC, I can successfully create the project, as shown below.
    屏幕截图 2024-08-09 131130.png

    C 1 Reply Last reply 9 Aug 2024, 07:04
    0
    • H honglixie
      9 Aug 2024, 05:38

      I am using Qt for the first time and the following is my project creation process
      屏幕截图 2024-08-09 125053.png 屏幕截图 2024-08-09 125126.png 屏幕截图 2024-08-09 125144.png 屏幕截图 2024-08-09 125358.png 屏幕截图 2024-08-09 125412.png 屏幕截图 2024-08-09 125443.png
      When I use MinGW (I have tried all the versions I have downloaded), the reading project will not stop at all, as shown
      屏幕截图 2024-08-09 130117.png
      While I used Process_Monitor analysis to find that Qt Creator is constantly creating and deleting pro files.
      屏幕截图 2024-08-09 131755.png
      When I use MSVC, I can successfully create the project, as shown below.
      屏幕截图 2024-08-09 131130.png

      C Offline
      C Offline
      ChrisW67
      wrote on 9 Aug 2024, 07:04 last edited by
      #2

      @honglixie said in Creating a Qt project using MinGW displays the reading project all the time.:

      When I use MinGW (I have tried all the versions I have downloaded), the reading project will not stop

      What is "the reading project"?

      J H 2 Replies Last reply 9 Aug 2024, 08:04
      0
      • C Christian Ehrlicher moved this topic from General and Desktop on 9 Aug 2024, 07:05
      • C ChrisW67
        9 Aug 2024, 07:04

        @honglixie said in Creating a Qt project using MinGW displays the reading project all the time.:

        When I use MinGW (I have tried all the versions I have downloaded), the reading project will not stop

        What is "the reading project"?

        J Offline
        J Offline
        JonB
        wrote on 9 Aug 2024, 08:04 last edited by
        #3

        @ChrisW67
        If you look at the screenshot two up from the bottom, where the OP says

        While I used Process_Monitor analysis to find that Qt Creator is constantly creating and deleting pro files.

        you see a constant stream of CreateFile/QueryNetworkOpenInformationFile/CloseFile on untitled.pro calls being executed. The OP also states this happens when Creator uses MinGW but not MSVC. I have no idea why this might be, nor even what QueryNetworkOpenInformationFile is all about.

        1 Reply Last reply
        0
        • H Offline
          H Offline
          hskoglund
          wrote on 9 Aug 2024, 08:17 last edited by
          #4

          Hi, I think I've seen similar loops when using Qt 5 and Qt 6 on the same QMake project (i.e. either Qt 5 works or Qt 6 works). Try removing those Qt 5.15.2 MinGW versions.

          H 1 Reply Last reply 10 Aug 2024, 11:01
          0
          • C ChrisW67
            9 Aug 2024, 07:04

            @honglixie said in Creating a Qt project using MinGW displays the reading project all the time.:

            When I use MinGW (I have tried all the versions I have downloaded), the reading project will not stop

            What is "the reading project"?

            H Offline
            H Offline
            honglixie
            wrote on 10 Aug 2024, 10:44 last edited by
            #5
            This post is deleted!
            1 Reply Last reply
            0
            • H hskoglund
              9 Aug 2024, 08:17

              Hi, I think I've seen similar loops when using Qt 5 and Qt 6 on the same QMake project (i.e. either Qt 5 works or Qt 6 works). Try removing those Qt 5.15.2 MinGW versions.

              H Offline
              H Offline
              honglixie
              wrote on 10 Aug 2024, 11:01 last edited by honglixie 8 Oct 2024, 11:14
              #6

              @hskoglund
              I tried it, but it was of no use

              1 Reply Last reply
              0
              • H Offline
                H Offline
                hskoglund
                wrote on 10 Aug 2024, 11:33 last edited by hskoglund 8 Oct 2024, 11:34
                #7

                Maybe also try: remove all .pro.user files.
                Remove all build directories.
                And start a brand new project with only the MinGW Qt 6.6.3 build favor.

                H 1 Reply Last reply 10 Aug 2024, 12:22
                0
                • H hskoglund
                  10 Aug 2024, 11:33

                  Maybe also try: remove all .pro.user files.
                  Remove all build directories.
                  And start a brand new project with only the MinGW Qt 6.6.3 build favor.

                  H Offline
                  H Offline
                  honglixie
                  wrote on 10 Aug 2024, 12:22 last edited by honglixie 8 Oct 2024, 12:23
                  #8

                  @hskoglund
                  I tried it, but it was of no use

                  1 Reply Last reply
                  0
                  • H Offline
                    H Offline
                    hskoglund
                    wrote on 10 Aug 2024, 12:53 last edited by
                    #9

                    If you try to build one of Qt's example projects like Calculator Example using MinGW Qt 6.6.3, do you still get the same error?

                    1 Reply Last reply
                    0

                    1/9

                    9 Aug 2024, 05:38

                    • Login

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