March 22, 2012

thehilmisu thehilmisu
Lab Rat
35 posts

Analog widgets for embedded device problem

 

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

  1. 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..

9 replies

March 23, 2012

Gerolf Gerolf
Area 51 Engineer
3210 posts

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.

 Signature 

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

March 23, 2012

thehilmisu thehilmisu
Lab Rat
35 posts

Gerolf wrote:
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.

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

March 28, 2012

3electrons 3electrons
Lab Rat
4 posts

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 :).

March 28, 2012

thehilmisu thehilmisu
Lab Rat
35 posts

3electrons wrote:
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 :).

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

March 29, 2012

thehilmisu thehilmisu
Lab Rat
35 posts

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

  1. 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.

March 30, 2012

Asperamanca Asperamanca
Hobby Entomologist
371 posts

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

March 30, 2012

Asperamanca Asperamanca
Hobby Entomologist
371 posts

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

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

April 2, 2012

thehilmisu thehilmisu
Lab Rat
35 posts

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

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

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

April 2, 2012

Asperamanca Asperamanca
Hobby Entomologist
371 posts

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.

 
  ‹‹ Unable to use std::string to/from QString conversion on Windows CE      QWSServer : Changing background color ››

You must log in to post a reply. Not a member yet? Register here!