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. Get Qt example running on SAM9N12
Forum Update on Monday, May 27th 2025

Get Qt example running on SAM9N12

Scheduled Pinned Locked Moved Mobile and Embedded
armcompiling qtcompile
29 Posts 2 Posters 11.0k 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.
  • BizerB Offline
    BizerB Offline
    Bizer
    wrote on last edited by
    #14

    Hey, i observed one thing: If i run the project in qtcreator and check the "run in terminal" i get a: "Syntax error: word unexpected (expecting ")") "
    Is there something i can/should do about this issue? Because if i run "sh example" i get the same error.

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

      What distribution is running on your board ?

      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
      • BizerB Offline
        BizerB Offline
        Bizer
        wrote on last edited by
        #16

        At91linux with buildroot-rfs

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

          Did you install Qt 4 directly through Buildroot ?

          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
          • BizerB Offline
            BizerB Offline
            Bizer
            wrote on last edited by
            #18

            Yes, i did

            1 Reply Last reply
            0
            • BizerB Offline
              BizerB Offline
              Bizer
              wrote on last edited by
              #19

              no further ideas?

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

                Did you also cross-compile Qt using the libraries from Buildroot ?

                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
                • BizerB Offline
                  BizerB Offline
                  Bizer
                  wrote on last edited by
                  #21

                  On the dev machine no, on the evaluationboard yes

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

                    Just to be sure I understand you correctly: you cross-compiled Qt on your desktop using a different set of libraries rather that than the one from your evaluation board and you compiled natively on your device ?

                    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
                    • BizerB Offline
                      BizerB Offline
                      Bizer
                      wrote on last edited by
                      #23

                      Yes, but it should be the same version. Buildroot uses 4.8.6 and on the dev machine i also had 4.8.6

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

                        Same Qt version is one thing, but it looks like you don't have the same set of dependencies between both versions and maybe not the same set of options given to configure

                        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
                        • BizerB Offline
                          BizerB Offline
                          Bizer
                          wrote on last edited by
                          #25

                          Ok thanks, do you have any hints what i have to look for, to get the same dependencies?

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

                            Use your device root filesystem as sysroot to cross-compile Qt

                            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
                            • BizerB Offline
                              BizerB Offline
                              Bizer
                              wrote on last edited by
                              #27

                              Ok i added the compiled sysroot that i compiled with buildroot. I got the same error:
                              Here is a screenshot incl. the syntac error when I'm building the project:
                              http://www.bilder-upload.eu/show.php?file=98a548-1432838782.png

                              1 Reply Last reply
                              0
                              • BizerB Offline
                                BizerB Offline
                                Bizer
                                wrote on last edited by
                                #28

                                Hi, sorry but doesn't any one have an idea?

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

                                  What do you have where the syntax error occurs ?

                                  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

                                  • Login

                                  • Login or register to search.
                                  • First post
                                    Last post
                                  0
                                  • Categories
                                  • Recent
                                  • Tags
                                  • Popular
                                  • Users
                                  • Groups
                                  • Search
                                  • Get Qt Extensions
                                  • Unsolved