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. bare metal kit not showing up under build and run
Forum Update on Monday, May 27th 2025

bare metal kit not showing up under build and run

Scheduled Pinned Locked Moved Solved Mobile and Embedded
9 Posts 3 Posters 2.9k 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.
  • J Offline
    J Offline
    jgonzalez34
    wrote on last edited by
    #1

    Hi,

    I am using QT Creator 4.5.0 (Community) in Windows 7 and I am attempting to connect to a bare metal device (STM32F429I-Disc). I have setup a kit (i.e., complier, debugger, etc.) in the same manner as shown in the following:
    http://doc.qt.io/qtcreator/creator-developing-baremetal.html
    https://www.youtube.com/watch?v=YgHe3D1t3Fs

    After I setup the kit, I see no errors. However, I do not see this kit under "Build & Run" so I cannot compile/run. I think perhaps that QT Creator wants to see a "QT version." However, I have selected "None" for this as shown in the above tutorials. What do you think might be the problem? Thank you.

    K 1 Reply Last reply
    0
    • J jgonzalez34

      Hi,

      I am using QT Creator 4.5.0 (Community) in Windows 7 and I am attempting to connect to a bare metal device (STM32F429I-Disc). I have setup a kit (i.e., complier, debugger, etc.) in the same manner as shown in the following:
      http://doc.qt.io/qtcreator/creator-developing-baremetal.html
      https://www.youtube.com/watch?v=YgHe3D1t3Fs

      After I setup the kit, I see no errors. However, I do not see this kit under "Build & Run" so I cannot compile/run. I think perhaps that QT Creator wants to see a "QT version." However, I have selected "None" for this as shown in the above tutorials. What do you think might be the problem? Thank you.

      K Offline
      K Offline
      ksiour
      wrote on last edited by
      #2

      @jgonzalez34
      In tools>options>Build&Run did you add your kit by pressing "Add" button and doing as in the video?
      If no errors are displayed then, when you opened your project in edit and go to the "Project" tab (on the left below "Debug" button), did you add the kit to the project using the top left button "Add Kit"?

      1 Reply Last reply
      1
      • J Offline
        J Offline
        jgonzalez34
        wrote on last edited by
        #3

        Hi. Thanks for the reply. Yes, I did press "add" for the kit under "Build &Run." I see no errors as shown below:

        0_1518198742638_9550ac23-fee5-4f26-aced-6f425a306f7c-image.png

        By adding kit, I think you mean here, correct:

        0_1518198972993_6437550e-9bd3-4666-8262-b65e0f9bd981-image.png

        I'm able to see it here. When I click to build, I see messages. In the "4 Complie Output," I see

        0_1518199168814_bab89b27-b862-44c5-9c9e-2378c23d4cc1-image.png

        No QT version is selected though as this is a bare metal kit. Does this have something to do with needing a "FakeVim?"

        Also, I see the following message under "6 General Messages:"

        0_1518199275505_f3b271e6-bdd1-4f17-abbb-f4b0133294bc-image.png

        K 1 Reply Last reply
        0
        • K Offline
          K Offline
          kuzulis
          Qt Champions 2020
          wrote on last edited by kuzulis
          #4

          You should not use qmake for baremetal. Use e.g. CMake, QBS instead (e.g. I use QBS).

          1 Reply Last reply
          1
          • J Offline
            J Offline
            jgonzalez34
            wrote on last edited by
            #5

            Thanks! I'll give that a try then reply again with the results.

            1 Reply Last reply
            0
            • J jgonzalez34

              Hi. Thanks for the reply. Yes, I did press "add" for the kit under "Build &Run." I see no errors as shown below:

              0_1518198742638_9550ac23-fee5-4f26-aced-6f425a306f7c-image.png

              By adding kit, I think you mean here, correct:

              0_1518198972993_6437550e-9bd3-4666-8262-b65e0f9bd981-image.png

              I'm able to see it here. When I click to build, I see messages. In the "4 Complie Output," I see

              0_1518199168814_bab89b27-b862-44c5-9c9e-2378c23d4cc1-image.png

              No QT version is selected though as this is a bare metal kit. Does this have something to do with needing a "FakeVim?"

              Also, I see the following message under "6 General Messages:"

              0_1518199275505_f3b271e6-bdd1-4f17-abbb-f4b0133294bc-image.png

              K Offline
              K Offline
              ksiour
              wrote on last edited by
              #6

              @jgonzalez34 Yes your problem seems to be relevant with qmake. Is your project based on qmake, cmake, make?
              Under build settings you may override the build step. See example
              make.exe -C C:\Users\Joe\Documents...\smarthome
              OR
              mingw32-make -C C:\Users\Joe\Documents...\smarthome

              J 1 Reply Last reply
              0
              • K ksiour

                @jgonzalez34 Yes your problem seems to be relevant with qmake. Is your project based on qmake, cmake, make?
                Under build settings you may override the build step. See example
                make.exe -C C:\Users\Joe\Documents...\smarthome
                OR
                mingw32-make -C C:\Users\Joe\Documents...\smarthome

                J Offline
                J Offline
                jgonzalez34
                wrote on last edited by
                #7

                @ksiour @kuzulis Thanks again for all your help! It's very appreciated. Initially, I couldn't find the "Build Settings" (since my bare metal kit was not found under "Build & Run"). So I think the problem was that I didn't have the right type of project template. I was working from within a demo project, which was based on QtQuick. I guess that the QtQuick and the QT Widget applications are not meant for bare metal devices. Is that correct?

                But if I opened up another project template (e.g., non-QT project -- Plain C/C++ application), it would work so long as it had a CMake-based or a Qbs-based build system. Like you guys said, it doesn't work if it's based on a qmake-based build system.

                So to sum things up, it looks like only certain project templates are compatible with a bare metal device. QtQuick and QT widget applications, unfortunately, are not compatible. Also, bare metal kit projects must have a CMake-based or Qbs-based build system. Does this sound right?

                1 Reply Last reply
                0
                • K Offline
                  K Offline
                  kuzulis
                  Qt Champions 2020
                  wrote on last edited by kuzulis
                  #8

                  @jgonzalez34 said in bare metal kit not showing up under build and run:

                  Is that correct?

                  A 'bare metal' means that will develop on a pure SoC devices (e.g. AVR, ARM, PIC and so on) which has nor Qt , nor OS (in a common case).

                  J 1 Reply Last reply
                  0
                  • K kuzulis

                    @jgonzalez34 said in bare metal kit not showing up under build and run:

                    Is that correct?

                    A 'bare metal' means that will develop on a pure SoC devices (e.g. AVR, ARM, PIC and so on) which has nor Qt , nor OS (in a common case).

                    J Offline
                    J Offline
                    jgonzalez34
                    wrote on last edited by
                    #9

                    @kuzulis Great! Thanks again!

                    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