Results 1 to 6 of 6

Thread: Cross-compile Qwt project to ARM on Windows

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2014
    Posts
    2
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Cross-compile Qwt project to ARM on Windows

    Firstly, i will try to disable the CONFIG += silent in qwtbuild.pri, thanks for the advice.

    But theoretically, if i can tell for the armeabi compiler the locaton of the qwt headers, that should be work??

    I ask that because i compiled the qwt with mingw and i got .dll-s in the qwt6.1.1\lib, so under unix based os's cant handle theese kind of files so maybe thats why armeabi cant see the headers.

    Maybe i should compile qwt under linux and get the .so files and copy that to windows, and after that under windows i should link that .so files to armaebi compiler?

    Note that qmake projects files for building Qwt examples are different from what you would do, when building an usual application using Qwt. Here you would have to install Qwt properly ( make install ) first and add a "CONFIG += qwt" to the application project file ( see http://qwt.sourceforge.net/qwtinstall.html )
    I did it, under windows with mingw compiler, it works, i can make own projects with qwt diagrams.

    It would be nice to have a small HOWTO for using Qwt on Android - at least if there is something special to take care of. Maybe you can help here ?
    Of course if i can make it work.

  2. #2
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,325
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Cross-compile Qwt project to ARM on Windows

    Quote Originally Posted by schlett_tamas View Post
    But theoretically, if i can tell for the armeabi compiler the locaton of the qwt headers, that should be work??
    Of course - setting this path is done in the project files of the examples and is part of what you include with "CONFIG += qwt". As you have disabled the silent mode now you should be able to see what path gets added when looking at the commands used for compiling.

    I ask that because i compiled the qwt with mingw and i got .dll-s in the qwt6.1.1\lib, so under unix based os's cant handle theese kind of files so maybe thats why armeabi cant see the headers.
    No for compiling you don't need any dll's ( those are for linking ), so this can't be the issue. But of course there shouldn't be any dlls when cross compiling - if you have them your build of Qwt is not a cross compiled one.

    Maybe i should compile qwt under linux and get the .so files and copy that to windows, and after that under windows i should link that .so files to armaebi compiler?
    No all you need to do is to do a "qmake -spec xxx qwt.pro", where xxx is the spec file with all the settings for the target device ( the same specs you have used for cross compiling your standalone application ).

    Uwe

Similar Threads

  1. Cross compile
    By Ichi in forum Newbie
    Replies: 9
    Last Post: 3rd April 2013, 20:49
  2. Replies: 2
    Last Post: 19th July 2012, 14:25
  3. Replies: 0
    Last Post: 10th July 2012, 21:16
  4. Cant cross compile onto Windows CE 5
    By Willybood in forum Qt for Embedded and Mobile
    Replies: 4
    Last Post: 26th October 2010, 23:38
  5. Project won't compile under Windows (works under Linux)
    By philski in forum Qt Programming
    Replies: 7
    Last Post: 14th September 2006, 15:29

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.