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. Analog widgets for embedded device problem
QtWS25 Last Chance

Analog widgets for embedded device problem

Scheduled Pinned Locked Moved Mobile and Embedded
10 Posts 4 Posters 6.3k 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.
  • T Offline
    T Offline
    thehilmisu
    wrote on 22 Mar 2012, 10:22 last edited by
    #1

    Hi everyone,
    i want to build an analog speedometer for my embedded device, and i found this http://qt-apps.org/content/show.php/AnalogWidgets?content=87780.

    I build it with my ubuntu computer and it works fine, but when i changed the build configuration to my arm processor embedded device, i get plenty of this error @qmake.conf:21: error: Using OS scope before setting MAKEFILE_GENERATOR@

    Is there anything that i could make it work this on my my device ? or if you have a suggestion for how to build a speedometer with qt? i would listen to it because i dont know what can i do..

    1 Reply Last reply
    0
    • G Offline
      G Offline
      giesbert
      wrote on 23 Mar 2012, 07:30 last edited by
      #2

      Hi thehilmisu,

      is this a problem with the spedometer, or did you never compile Qt projects for arm before?

      Do you have a Qt version that is compiled for your embedded device? If not, you have to build it from scratch, which means, get the source tar ball and call configure / make for the platform with the correct parameters. Then you must use this Qt for the arm build.

      Nokia Certified Qt Specialist.
      Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

      1 Reply Last reply
      0
      • T Offline
        T Offline
        thehilmisu
        wrote on 23 Mar 2012, 07:32 last edited by
        #3

        [quote author="Gerolf" date="1332487803"]Hi thehilmisu,

        is this a problem with the spedometer, or did you never compile Qt projects for arm before?

        Do you have a Qt version that is compiled for your embedded device? If not, you have to build it from scratch, which means, get the source tar ball and call configure / make for the platform with the correct parameters. Then you must use this Qt for the arm build.[/quote]

        i've compiled Qt projects for arm before. The problem is speedometer project. I can run it on linux desktop but when i select my arm configurations, it is not even build the program

        1 Reply Last reply
        0
        • 3 Offline
          3 Offline
          3electrons
          wrote on 28 Mar 2012, 08:40 last edited by
          #4

          Hi
          Personally I have not tested it with arm compiler. But I have few reports that pepole were able to do that on that platform. I belive you should check your compilation enviroment. However if you find that there is something that can be fixed in AnalogWidgets. Patch/Fix will be warmly welcomed :).

          1 Reply Last reply
          0
          • T Offline
            T Offline
            thehilmisu
            wrote on 28 Mar 2012, 09:12 last edited by
            #5

            [quote author="3electrons" date="1332924003"]Hi
            Personally I have not tested it with arm compiler. But I have few reports that pepole were able to do that on that platform. I belive you should check your compilation enviroment. However if you find that there is something that can be fixed in AnalogWidgets. Patch/Fix will be warmly welcomed :).

            [/quote]

            i am trying to compile with my angstrom cross compiler, if i can do that i will let you know of course. By the way it's a great job. Those widgets are awesome

            1 Reply Last reply
            0
            • T Offline
              T Offline
              thehilmisu
              wrote on 29 Mar 2012, 08:14 last edited by
              #6

              I get this error, when i try to compile the project,

              @no such instruction: 'swpb %dl,%al,[%esi]'@

              I have searched the error and i found out this is caused by my compiler's configuration. But i could not find any solution.

              1 Reply Last reply
              0
              • A Offline
                A Offline
                Asperamanca
                wrote on 30 Mar 2012, 12:44 last edited by
                #7

                I always get those errors when compiling within Creator, but not when compiling on the command prompt.

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  Asperamanca
                  wrote on 30 Mar 2012, 12:46 last edited by
                  #8

                  If you use Creator, you might find more info here:

                  https://qt-project.org/forums/viewthread/13742/

                  1 Reply Last reply
                  0
                  • T Offline
                    T Offline
                    thehilmisu
                    wrote on 2 Apr 2012, 10:56 last edited by
                    #9

                    [quote author="Asperamanca" date="1333111583"]If you use Creator, you might find more info here:

                    https://qt-project.org/forums/viewthread/13742/[/quote]

                    yes i am using Creator. how can i compile the project with command line ?

                    1 Reply Last reply
                    0
                    • A Offline
                      A Offline
                      Asperamanca
                      wrote on 2 Apr 2012, 11:23 last edited by
                      #10

                      Basically, by setting up the environment you need (path, QTDIR, QMAKESPEC), then calling "qmake yourproject.pro" and "make"

                      I'm far from being an expert on that matter, though.

                      1 Reply Last reply
                      0

                      7/10

                      30 Mar 2012, 12:44

                      • Login

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