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 495 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 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
    0
    • H honglixie

      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 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"?

      JonBJ H 2 Replies Last reply
      0
      • Christian EhrlicherC Christian Ehrlicher moved this topic from General and Desktop on
      • C ChrisW67

        @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"?

        JonBJ Offline
        JonBJ Offline
        JonB
        wrote on 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
        • hskoglundH Online
          hskoglundH Online
          hskoglund
          wrote on 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
          0
          • C ChrisW67

            @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 last edited by
            #5
            This post is deleted!
            1 Reply Last reply
            0
            • hskoglundH hskoglund

              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 last edited by honglixie
              #6

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

              1 Reply Last reply
              0
              • hskoglundH Online
                hskoglundH Online
                hskoglund
                wrote on last edited by hskoglund
                #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
                0
                • hskoglundH hskoglund

                  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 last edited by honglixie
                  #8

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

                  1 Reply Last reply
                  0
                  • hskoglundH Online
                    hskoglundH Online
                    hskoglund
                    wrote on 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

                    • Login

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