Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Difference between Build and Run
Forum Updated to NodeBB v4.3 + New Features

Difference between Build and Run

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
qt creator
5 Posts 2 Posters 2.5k Views 2 Watching
  • 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.
  • B Offline
    B Offline
    Bravepaulo
    wrote on last edited by
    #1

    Hello guys.
    I am using QT creators develop a C++ software for a embedded system and I have a very basic question about QT creator?
    What is the difference between BUILD and RUN configuration in QT creator? What exactly each one perform ?
    Thank you in advance

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mcleary
      wrote on last edited by
      #2

      They do exactly what they say they do. Build is to compile your application into an executable that the Run configuration will use to start it for straight into QtCreator.

      B 1 Reply Last reply
      4
      • M mcleary

        They do exactly what they say they do. Build is to compile your application into an executable that the Run configuration will use to start it for straight into QtCreator.

        B Offline
        B Offline
        Bravepaulo
        wrote on last edited by
        #3

        @mcleary thank you for your prompt response
        In fact I had understood like you explained, but I was using CMake for a embedded application and when I press build nothing is generated ( I was expecting some file .bin or .exe). On the other hand, when I press run, a directory is created with many files inside, including a .bin file.
        That is why I asked that question
        My interpretation is that due to the CMake file, when I press build, a program is created and when I press run, this program creates the directory with all the files.
        Do you understand in the same way?

        Thank you

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mcleary
          wrote on last edited by
          #4

          If you're building your application for an embedded device the Run configuration might be copying your files to the device or something similar, while Build is just to compile your application. Files are going to be generated, maybe just not in the place you are expecting. Check the output directory of the Build configuration by clicking on Project, Build and check the output directory.

          Capture.PNG

          B 1 Reply Last reply
          4
          • M mcleary

            If you're building your application for an embedded device the Run configuration might be copying your files to the device or something similar, while Build is just to compile your application. Files are going to be generated, maybe just not in the place you are expecting. Check the output directory of the Build configuration by clicking on Project, Build and check the output directory.

            Capture.PNG

            B Offline
            B Offline
            Bravepaulo
            wrote on last edited by
            #5

            Hello @mcleary
            Thank you for your response
            It really cleared up things to me
            I am gonna check the directories, but, the way you explained makes a lot o sense to me. It saved a lot o time.

            Regards

            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