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



  • 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 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



  • 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 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



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



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



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

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



  • [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 ?



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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.