Results 1 to 2 of 2

Thread: Configuring QtCreator (and/or qmake) for Ubuntu->Raspbian cross compile

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2012
    Posts
    219
    Thanks
    28
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Configuring QtCreator (and/or qmake) for Ubuntu->Raspbian cross compile

    I've been building Qt applications (Qt4.8) natively on raspberry pi (Raspbian) for some time now, with no issues ( The project has grown -- so now it takes a really long time to compile.

    I followed a nice tutorial (Hertaville) to set up cross-compilation on Ubuntu 12 for a Raspbian target. It works, and the performance improvement is huge (10 minutes down to about 30 seconds). However, the resulting flow doesn't use QtCreator, which I now really like and don't want to give up.

    So, the cross-compile toolchain is setup and working. The target file system is mounted, which I'd think would eliminate the need to rebuild any Qt binaries, but maybe not?

    I tried setting up a Qt version and tool chain in Qt Creator on the Ubuntu machine, but so far, without success. I've seen some issues with how toolchains and Qt versions are set up in QtCreator, and I'm beginning to think those might prevent me from doing what I want to do.

    Should I be able to do this somehow, maybe with QMAKESPECS or with qmake variables?

    Or, is it necessary to build a qmake from source if I want to use QtCreator to cross-compile (and debug) raspian applications from Ubuntu?
    Last edited by davethomaspilot; 7th December 2014 at 17:42.

Similar Threads

  1. Configuring qmake to put files inside proper folder
    By Momergil in forum Qt Programming
    Replies: 3
    Last Post: 11th May 2014, 12:02
  2. Configuring Qt5 to compile mysql for android
    By KShots in forum Qt for Embedded and Mobile
    Replies: 2
    Last Post: 19th November 2013, 17:39
  3. Replies: 0
    Last Post: 10th July 2012, 21:16
  4. installing and configuring Qt on a laptop running Ubuntu 12.04
    By modoMojo in forum Installation and Deployment
    Replies: 5
    Last Post: 20th June 2012, 09:29
  5. Replies: 6
    Last Post: 3rd December 2010, 20:51

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.