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. Regarding Cross Compilation for an embedded board

Regarding Cross Compilation for an embedded board

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
10 Posts 3 Posters 1.8k 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.
  • Naveen_DN Offline
    Naveen_DN Offline
    Naveen_D
    wrote on last edited by Naveen_D
    #1

    Hi all,

    I have an embedded board (FriendlyArm- Tiny6410). I have set a kit for this board in Qt creator (without debugger).

    1)For Qt project file - The problem i am facing is when i create a project and try to build using the new kit it is giving few general messages and i am not able to get the drop downs in project space( not able to go to .pro file or .h file etc) but the project is building and i am able to dump it on the board and get the output. In case if i want to edit anything in .cpp or .h file, not able to do that.

    The general messages are :
    usr/local/Qt/mkspecs/qws/linux-arm-g++/qmake.conf(12): Assignment needs exactly one word on the left hand side.
    /usr/local/Qt/mkspecs/qws/linux-arm-g++/qmake.conf(15): Assignment needs exactly one word on the left hand side.
    /usr/local/Qt/mkspecs/qws/linux-arm-g++/qmake.conf(18): Assignment needs exactly one word on the left hand side.
    /usr/local/Qt/mkspecs/qws/linux-arm-g++/qmake.conf(21): Assignment needs exactly one word on the left hand side.
    Could not read qmake configuration file /usr/local/Qt/mkspecs/qws/linux-arm-g++/qmake.conf.
    Error while parsing file /home/user/QtExample/QtExample.pro. Giving up

    1. For Qml project file - When i try to build a Qml project using this kit it is giving the following error.

    /home/user/QmlExample/main.cpp:1: error: QGuiApplication: No such file or directory

    Please guide me if anyone knows the solution. Thanks

    Naveen_D

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

      Hi,

      Because you are trying to build Qt 5 code with Qt 4. QGuiApplication is a new class in Qt 5.

      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
      2
      • Naveen_DN Offline
        Naveen_DN Offline
        Naveen_D
        wrote on last edited by
        #3

        @SGaist Thank you for the reply sir,
        Is it possible to set latest version of Qt in that board ?

        Naveen_D

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

          If Qt 4 is already working on it, then Qt 5 is also likely to work on it however you should check with the folks at FriendlyARM.

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

          Naveen_DN 2 Replies Last reply
          0
          • SGaistS SGaist

            If Qt 4 is already working on it, then Qt 5 is also likely to work on it however you should check with the folks at FriendlyARM.

            Naveen_DN Offline
            Naveen_DN Offline
            Naveen_D
            wrote on last edited by
            #5

            @SGaist Ok thank you, will check !

            Naveen_D

            1 Reply Last reply
            0
            • SGaistS SGaist

              If Qt 4 is already working on it, then Qt 5 is also likely to work on it however you should check with the folks at FriendlyARM.

              Naveen_DN Offline
              Naveen_DN Offline
              Naveen_D
              wrote on last edited by
              #6

              @SGaist

              usr/local/Qt/mkspecs/qws/linux-arm-g++/qmake.conf(12): Assignment needs exactly one word on the left hand side.
              /usr/local/Qt/mkspecs/qws/linux-arm-g++/qmake.conf(15): Assignment needs exactly one word on the left hand side.
              /usr/local/Qt/mkspecs/qws/linux-arm-g++/qmake.conf(18): Assignment needs exactly one word on the left hand side.
              /usr/local/Qt/mkspecs/qws/linux-arm-g++/qmake.conf(21): Assignment needs exactly one word on the left hand side.
              Could not read qmake configuration file /usr/local/Qt/mkspecs/qws/linux-arm-g++/qmake.conf.
              Error while parsing file /home/user/QtExample/QtExample.pro. Giving up

              Sir i am getting these general messages and i am not able to get the drop downs in project space( not able to go to .pro file or .h file etc) why i am getting this any idea ?

              Thanks

              Naveen_D

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

                Are you trying to build a Qt 5 project with Qt 4 ?

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

                Naveen_DN 1 Reply Last reply
                0
                • SGaistS SGaist

                  Are you trying to build a Qt 5 project with Qt 4 ?

                  Naveen_DN Offline
                  Naveen_DN Offline
                  Naveen_D
                  wrote on last edited by
                  #8

                  @SGaist Yes that was a simple example developed in Qt 5.8 which i was trying to cross compile for that board.

                  Naveen_D

                  jsulmJ 1 Reply Last reply
                  0
                  • Naveen_DN Naveen_D

                    @SGaist Yes that was a simple example developed in Qt 5.8 which i was trying to cross compile for that board.

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

                    @Naveen_D You either use Qt5 on your board or you use Qt4. Qt5 and Qt4 are not compatible, so don't try to mix.

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

                    Naveen_DN 1 Reply Last reply
                    0
                    • jsulmJ jsulm

                      @Naveen_D You either use Qt5 on your board or you use Qt4. Qt5 and Qt4 are not compatible, so don't try to mix.

                      Naveen_DN Offline
                      Naveen_DN Offline
                      Naveen_D
                      wrote on last edited by
                      #10

                      @jsulm
                      Ya sure. Thanks for the information.

                      Naveen_D

                      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