Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QML - Qt Quick Application 2nd Build/Run not working
Forum Update on Monday, May 27th 2025

QML - Qt Quick Application 2nd Build/Run not working

Scheduled Pinned Locked Moved Solved QML and Qt Quick
5 Posts 3 Posters 548 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.
  • C Offline
    C Offline
    Chohan
    wrote on 4 Mar 2019, 15:59 last edited by
    #1

    Dear All,

    I have been trying to create QML application. I am using QT 5.7.1 version. Whenever I choose Qt Quick Application to create project. I get demo project (Hello World). If I edit something in the project and then build/run it then it works fine.

    But the problem is, on my second build/run it still shows the previous builds result. I have even re-installed the software (which is time consuming) but still no success. Can you please help me in this regard.

    Thanks in advance.

    T 1 Reply Last reply 5 Mar 2019, 01:05
    0
    • C Offline
      C Offline
      Chohan
      wrote on 5 Mar 2019, 09:37 last edited by Chohan 3 May 2019, 15:33
      #5

      Ok. I found the solution but exact reason is still unknown.

      I was saving my Project on the server, not in local drive. Strangely, it worked for Qt Console Applications but for some reasons (unknown to me) doesn't work for Qt Quick Applications. When I save project in local drive, it works fine.

      I hope it will help someone else.

      Have a nice day.

      1 Reply Last reply
      1
      • C Chohan
        4 Mar 2019, 15:59

        Dear All,

        I have been trying to create QML application. I am using QT 5.7.1 version. Whenever I choose Qt Quick Application to create project. I get demo project (Hello World). If I edit something in the project and then build/run it then it works fine.

        But the problem is, on my second build/run it still shows the previous builds result. I have even re-installed the software (which is time consuming) but still no success. Can you please help me in this regard.

        Thanks in advance.

        T Offline
        T Offline
        Tom_H
        wrote on 5 Mar 2019, 01:05 last edited by
        #2

        @Chohan Whenever I get strange results, I delete the project build folder and rebuild. That usually fixes it.

        1 Reply Last reply
        0
        • C Offline
          C Offline
          Chohan
          wrote on 5 Mar 2019, 08:40 last edited by
          #3

          @Tom_H thanks for the reply. I tried that already, even created new project for testing but still no result.

          I downloaded some project from internet, it working all fine. But whenever I create new project then I have issue.. Which narrows down the problem to the settings. I have used same project settings, .pro includes and everything but still I don't understand where the problem lies.

          J 1 Reply Last reply 5 Mar 2019, 08:44
          0
          • C Chohan
            5 Mar 2019, 08:40

            @Tom_H thanks for the reply. I tried that already, even created new project for testing but still no result.

            I downloaded some project from internet, it working all fine. But whenever I create new project then I have issue.. Which narrows down the problem to the settings. I have used same project settings, .pro includes and everything but still I don't understand where the problem lies.

            J Online
            J Online
            J.Hilk
            Moderators
            wrote on 5 Mar 2019, 08:44 last edited by
            #4

            @Chohan hard to tell,

            can you create a minimal example that doesn't work and share it ?


            Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


            Q: What's that?
            A: It's blue light.
            Q: What does it do?
            A: It turns blue.

            1 Reply Last reply
            0
            • C Offline
              C Offline
              Chohan
              wrote on 5 Mar 2019, 09:37 last edited by Chohan 3 May 2019, 15:33
              #5

              Ok. I found the solution but exact reason is still unknown.

              I was saving my Project on the server, not in local drive. Strangely, it worked for Qt Console Applications but for some reasons (unknown to me) doesn't work for Qt Quick Applications. When I save project in local drive, it works fine.

              I hope it will help someone else.

              Have a nice day.

              1 Reply Last reply
              1

              1/5

              4 Mar 2019, 15:59

              • Login

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