June 25, 2012

Henrich1 Henrich1
Lab Rat
2 posts

cross compiling from ubuntu to windows

 

Hello, I’m really confused about cross compiling my application.

I’m using qwt and muParser libraries and everything works when compiling for ubuntu. But when I want to cross compile it to windows with mingw compiler it shows errors like : cannot find -lqwt-qt4
When I cross compile some basic app without using qwt or muParser everithing is ok.
Someone gave mw an advice to cross sompile also qwt and muParser, but how exactly I can do it if I downloaded my libqwt5-qt4-dev from Ubuntu Software Center?

Could anybody help me?
I appreciate any advice.

3 replies

June 25, 2012

tucnak tucnak
Robot Herder
384 posts

If you want to have cross-compiling – you should manage dependencies. Add qwt.dll and muparser.dll for example.

 Signature 

Qt Developer (upper-intermediate)
PHP/JS Developer (intermediate)

June 26, 2012

Tobias Hunger Tobias Hunger
Mad Scientist
3149 posts

The libqwt5-qt4-dev package is the development files for libqwt5 for ubuntu. You will need a windows version installed in the place where your cross-compiler expects it.

Most likely the same is true for muParser.

June 27, 2012

Henrich1 Henrich1
Lab Rat
2 posts

How can I get windows version of qwt in my ubuntu? Is there some procedure how can I do that? thanks

 
  ‹‹ Boost::lexical_cast error when usin Qtcreator with MSVC2010 compiler, but no error when using VisualStudio for the same code      Example where photoflow is added to an existing application w/(say) "addWidget"? ››

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