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. Compiler cannot produce code for Qt version (Raspberry Pi 4)
Forum Updated to NodeBB v4.3 + New Features

Compiler cannot produce code for Qt version (Raspberry Pi 4)

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
6 Posts 3 Posters 577 Views 1 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.
  • N Offline
    N Offline
    NewQtLearner
    wrote on last edited by
    #1

    c9fd274e-7fb1-44be-91d8-5378effd0527-image.png

    Hi guys I'm getting this error on my vm where I'm running qt creator. The project used to build fine 2 days ago, until I accidentally changed one of the project files.

    Now I get this error whenever I try to build it. I've tried changing the Qt version to all of the ones installed, but they all give the same error as shown.

    jsulmJ 1 Reply Last reply
    0
    • N NewQtLearner

      c9fd274e-7fb1-44be-91d8-5378effd0527-image.png

      Hi guys I'm getting this error on my vm where I'm running qt creator. The project used to build fine 2 days ago, until I accidentally changed one of the project files.

      Now I get this error whenever I try to build it. I've tried changing the Qt version to all of the ones installed, but they all give the same error as shown.

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

      @NewQtLearner It looks like you're trying to use Qt built for x86_64 which can't be used on ARM. You need Qt cross-compiled for RPi. See https://wiki.qt.io/Cross-Compile_Qt_6_for_Raspberry_Pi

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

      N 1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi and welcome to devnet,

        It seems your kit is wrong. The compiler looks good but it looks like your system's Qt is being selected rather than the one you were using before.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • jsulmJ jsulm

          @NewQtLearner It looks like you're trying to use Qt built for x86_64 which can't be used on ARM. You need Qt cross-compiled for RPi. See https://wiki.qt.io/Cross-Compile_Qt_6_for_Raspberry_Pi

          N Offline
          N Offline
          NewQtLearner
          wrote on last edited by
          #4

          @jsulm Thanks for the reply. Unfortunately I'm using QT Creator 5.13.2. All of the guides that I've found seem to use QT creator 5.15.0 or later.

          Any ideas on how I can change my qt version to the right one and nothing else on 15.3.2?

          SGaistS jsulmJ 2 Replies Last reply
          0
          • N NewQtLearner

            @jsulm Thanks for the reply. Unfortunately I'm using QT Creator 5.13.2. All of the guides that I've found seem to use QT creator 5.15.0 or later.

            Any ideas on how I can change my qt version to the right one and nothing else on 15.3.2?

            SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @NewQtLearner Go to the settings and edit the Kit for your RPi.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            1
            • N NewQtLearner

              @jsulm Thanks for the reply. Unfortunately I'm using QT Creator 5.13.2. All of the guides that I've found seem to use QT creator 5.15.0 or later.

              Any ideas on how I can change my qt version to the right one and nothing else on 15.3.2?

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

              @NewQtLearner said in Compiler cannot produce code for Qt version (Raspberry Pi 4):

              Any ideas on how I can change my qt version to the right one and nothing else on 15.3.2?

              @SGaist answered that.
              To make things clear: "QT Creator 5.13.2" - there is no such QtCreator version, what you mean is "Qt 5.13.2"...

              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