Analog widgets for embedded device problem
-
wrote on 22 Mar 2012, 10:22 last edited by
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..
-
wrote on 23 Mar 2012, 07:30 last edited by
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.
-
wrote on 23 Mar 2012, 07:32 last edited by
[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
-
wrote on 28 Mar 2012, 08:40 last edited by
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 :). -
wrote on 28 Mar 2012, 09:12 last edited by
[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
-
wrote on 29 Mar 2012, 08:14 last edited by
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.
-
wrote on 30 Mar 2012, 12:44 last edited by
I always get those errors when compiling within Creator, but not when compiling on the command prompt.
-
wrote on 30 Mar 2012, 12:46 last edited by
If you use Creator, you might find more info here:
-
wrote on 2 Apr 2012, 10:56 last edited by
[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 ?
-
wrote on 2 Apr 2012, 11:23 last edited by
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.
6/10