Results 1 to 4 of 4

Thread: Cross Compiling Problems

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2010
    Posts
    4
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Cross Compiling Problems

    Well, I have found some tutorials that explain my previous cross compiling question, but I am still unable to build an application for a Linux Embedded environment. I think/assume it is related to some PATH or ENV setting, but I don't know what it is.

    I have created two Qt Embedded Linux builds - one with "-qvfb" and one with "-embedded", doing configure, make, and make install for both of them. But, when I go into Qt Creator project options and select qmake from either of the embedded builds, I get an "This Qt-Version is invalid" error.

    If I go into "Manage" from the Qt Creator project options, and I hover the mouse over either of the two embedded qmake selections, a box pops up with the qmake configuration - in there, I see that the "mkspec" entry is blank and there is no "compiler" option in the list. How do I set these?

    When building the two embedded builds, I merely followed the instructions from here:
    http://doc.qt.nokia.com/4.6/qvfb.html

    Thanks for your help

  2. #2
    Join Date
    Nov 2010
    Posts
    4
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Cross Compiling Problems

    Well, I guess I'll just keep responding to myself, hoping it'll help someone else. I've made it further along in the process, where I am now able to build and run my embedded applications for "qvfb". I think my problem was related to some sort of leftover environment variable setting or something like that. I closed all terminals and Qt Creator, reopened, and I was able to select the qvfb version of qmake to build with.

    Now my next problem is that even though I have built my applications with -qvfb, they are not showing up in the QVFB instance that I am running. I am able to start QVFB from my main install of QT and configure it as I wish, but when I run my application, it does not show up in the QVFB - instead it shows up on its own with the color scheme of the buttons all screwed up (when I recompile with the normal qmake, it displays properly).

    I have tried various command line options to try to force my application to show in the QVFB display, but I haven't had any luck at all. I have also tried to run the example applications (as is, and by rebuilding them), with the exact same behavior.

    If anyone can help, I'd appreciate it.

  3. #3
    Join Date
    Sep 2010
    Posts
    10
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11
    Thanks
    2

    Default Re: Cross Compiling Problems

    If you are targeting x86 then it means you are not cross compiling? then you realy shouldn't follow cross-compiling guide, I guess

Similar Threads

  1. Problem while Cross compiling Qt v4.6.3
    By bakul2331 in forum Qt for Embedded and Mobile
    Replies: 2
    Last Post: 26th August 2011, 07:46
  2. cross compiling QT for arm archetacture
    By yogeshpjadhav in forum Qt for Embedded and Mobile
    Replies: 3
    Last Post: 5th August 2010, 03:48
  3. cross-compiling a Qt app for MacOS X?
    By akos.maroy in forum Qt Programming
    Replies: 0
    Last Post: 3rd August 2009, 20:37
  4. QtCreator and cross-compiling
    By zuck in forum Qt Tools
    Replies: 1
    Last Post: 28th April 2009, 20:04
  5. cross compiling
    By tommy in forum Installation and Deployment
    Replies: 1
    Last Post: 8th March 2009, 18:02

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.