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. Make .pro file Not working Object reference not set to an instance of an object
Forum Update on Monday, May 27th 2025

Make .pro file Not working Object reference not set to an instance of an object

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
8 Posts 2 Posters 974 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.
  • I Offline
    I Offline
    IknowQT
    wrote on last edited by
    #1

    It's being developed in vs. 2019 environment, but whenever I create a pro file, a warning window pops up.
    636a502d-af73-40bc-ba3d-d3e77daf3262-image.png

    This is a warning window that appears when a .pro file is retrieved.
    4d9cb8df-3dba-4bbd-8f08-ab029927dff6-image.png

    be4022d6-7d2a-497b-bc89-a647932e341e-image.png

    My environment hasn't changed and I was using it well a few days ago. I don't know what's wrong with me. Can you help me?
    There's no problem building or running, so it's just a phenomenon that occurs when you create or export a .pro file.

    jsulmJ 1 Reply Last reply
    0
    • I IknowQT

      @jsulm

      Is there any way to manually create a .pro file?

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

      @IknowQT said in Make .pro file Not working Object reference not set to an instance of an object:

      Is there any way to manually create a .pro file?

      Of course. It's just a text file.
      You can create a pro file by calling qmake with -project parameter. But you will most probably need to edit the generated file.
      See for more details: https://doc.qt.io/qt-5/qmake-project-files.html

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

      1 Reply Last reply
      0
      • I IknowQT

        It's being developed in vs. 2019 environment, but whenever I create a pro file, a warning window pops up.
        636a502d-af73-40bc-ba3d-d3e77daf3262-image.png

        This is a warning window that appears when a .pro file is retrieved.
        4d9cb8df-3dba-4bbd-8f08-ab029927dff6-image.png

        be4022d6-7d2a-497b-bc89-a647932e341e-image.png

        My environment hasn't changed and I was using it well a few days ago. I don't know what's wrong with me. Can you help me?
        There's no problem building or running, so it's just a phenomenon that occurs when you create or export a .pro file.

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

        @IknowQT said in Make .pro file Not working Object reference not set to an instance of an object:

        but whenever I create a pro file

        How do you create it?
        Please post the generated pro file.

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

        I 1 Reply Last reply
        0
        • jsulmJ jsulm

          @IknowQT said in Make .pro file Not working Object reference not set to an instance of an object:

          but whenever I create a pro file

          How do you create it?
          Please post the generated pro file.

          I Offline
          I Offline
          IknowQT
          wrote on last edited by
          #3

          @jsulm
          fe38818b-09d4-4818-b413-8296ba60d3fe-image.png

          It's being developed in vs. 2019 environment, but whenever I create a pro file, a warning window pop up.
          I want to export the contents developed in vs2019 to qt creator, but I created the first project in vs2019, and I needed a pro file to move to qt creator, so I clicked create basic .pro file, but a warning appears and I can't proceed anymore

          jsulmJ 1 Reply Last reply
          0
          • I IknowQT

            @jsulm
            fe38818b-09d4-4818-b413-8296ba60d3fe-image.png

            It's being developed in vs. 2019 environment, but whenever I create a pro file, a warning window pop up.
            I want to export the contents developed in vs2019 to qt creator, but I created the first project in vs2019, and I needed a pro file to move to qt creator, so I clicked create basic .pro file, but a warning appears and I can't proceed anymore

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

            @IknowQT Is your "Qt VS Tools" up to date?

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

            I 1 Reply Last reply
            0
            • jsulmJ jsulm

              @IknowQT Is your "Qt VS Tools" up to date?

              I Offline
              I Offline
              IknowQT
              wrote on last edited by IknowQT
              #5

              @jsulm

              Qt VS Tools version is 2.7.2 It's the latest version
              Qt Version 5.15.2

              jsulmJ 1 Reply Last reply
              0
              • I IknowQT

                @jsulm

                Qt VS Tools version is 2.7.2 It's the latest version
                Qt Version 5.15.2

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

                @IknowQT Could be a bug. You can check https://bugreports.qt.io/secure/Dashboard.jspa whether it was already reported. If not you can file a bug report there.

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

                I 1 Reply Last reply
                0
                • jsulmJ jsulm

                  @IknowQT Could be a bug. You can check https://bugreports.qt.io/secure/Dashboard.jspa whether it was already reported. If not you can file a bug report there.

                  I Offline
                  I Offline
                  IknowQT
                  wrote on last edited by
                  #7

                  @jsulm

                  Is there any way to manually create a .pro file?

                  jsulmJ 1 Reply Last reply
                  0
                  • I IknowQT

                    @jsulm

                    Is there any way to manually create a .pro file?

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

                    @IknowQT said in Make .pro file Not working Object reference not set to an instance of an object:

                    Is there any way to manually create a .pro file?

                    Of course. It's just a text file.
                    You can create a pro file by calling qmake with -project parameter. But you will most probably need to edit the generated file.
                    See for more details: https://doc.qt.io/qt-5/qmake-project-files.html

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

                    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