Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. [Solved] Qt 5.4.1 for AM335x
Forum Updated to NodeBB v4.3 + New Features

[Solved] Qt 5.4.1 for AM335x

Scheduled Pinned Locked Moved Installation and Deployment
am335xqt 5.4.1
15 Posts 3 Posters 7.2k 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #4

    What is the value of $TARGET ?

    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
    • C Offline
      C Offline
      chad
      wrote on last edited by
      #5

      The value of $TARGET is arm-linux-gnueabi

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

        And the value of $QTMKSPECDIR ?

        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
        • C Offline
          C Offline
          chad
          wrote on last edited by
          #7

          The value of $QTMKSPECDIR is linux-am335x-g++

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

            IIRC, you should rather set the common C and CXX flags in QMAKE_CFLAGS and QMAKE_CXXFLAGS rather than in the release configuration only.

            Something like:

            COMPILER_FLAGS = -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp
            QMAKE_CFLAGS += $${COMPILER_FLAGS}
            QMAKE_CXXFLAGS += $${COMPILER_FLAGS}
            QMAKE_CFLAGS_RELEASE += -O3
            

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

            C 1 Reply Last reply
            1
            • C Offline
              C Offline
              chad
              wrote on last edited by
              #9

              Thanks SGaist,

              I'm going to try compiling this with the changes now.

              Hopefully this fixes it.

              1 Reply Last reply
              0
              • SGaistS SGaist

                IIRC, you should rather set the common C and CXX flags in QMAKE_CFLAGS and QMAKE_CXXFLAGS rather than in the release configuration only.

                Something like:

                COMPILER_FLAGS = -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp
                QMAKE_CFLAGS += $${COMPILER_FLAGS}
                QMAKE_CXXFLAGS += $${COMPILER_FLAGS}
                QMAKE_CFLAGS_RELEASE += -O3
                
                C Offline
                C Offline
                chad
                wrote on last edited by
                #10

                @SGaist said:

                IIRC, you should rather set the common C and CXX flags in QMAKE_CFLAGS and QMAKE_CXXFLAGS rather than in the release configuration only.

                Something like:

                COMPILER_FLAGS = -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp
                QMAKE_CFLAGS += $${COMPILER_FLAGS}
                QMAKE_CXXFLAGS += $${COMPILER_FLAGS}
                QMAKE_CFLAGS_RELEASE += -O3
                

                This worked!

                Thank you very much!!

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

                  You're welcome !

                  Don't forget to mark the thread as solved (in the Topic Tools Button)

                  Happy coding !

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

                  C 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    You're welcome !

                    Don't forget to mark the thread as solved (in the Topic Tools Button)

                    Happy coding !

                    C Offline
                    C Offline
                    chad
                    wrote on last edited by
                    #12

                    @SGaist Hmm... it just has delete topic as an option?

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

                      Strange, you should contact @tekojo about that

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

                      tekojoT 1 Reply Last reply
                      0
                      • SGaistS SGaist

                        Strange, you should contact @tekojo about that

                        tekojoT Offline
                        tekojoT Offline
                        tekojo
                        wrote on last edited by
                        #14

                        Strange, OP should have Mark as solved as an option. I'll take a look.

                        1 Reply Last reply
                        0
                        • tekojoT Offline
                          tekojoT Offline
                          tekojo
                          wrote on last edited by
                          #15

                          Figured it out.
                          The 'mark as solved' option is there for people with admin rights, as the functionality relies on the admin 'rename post' function.

                          For a thread OP to mark a post, he/she needs to add [solved] to the title.

                          I'll take a look at the plugin that adds the thread tool option to see if it could work with normal OP rights too.

                          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