[QtonPi] Cross Compiled Qt 5 and QtCreator [SOLVED]

Etienne H. hetigre at gmail.com
Thu Aug 23 15:03:17 CEST 2012


Hi,

  Thanks for everyone input on the matter.
  I tried a fresh Ubuntu 12.04 with a clean qt5 repo, following the step by
step tutorial, with a fresh Qt Creator... Still the same error message.

  Out of options, I dived into Qt Creator's source code to understand when
this message is displayed. It turns out Qt Creator expects your target
install directory to have a bin/ directory ( be it empty or not).
  I can't exactly figure out why other people on this list have it working
right out of the box... I'm also not sure what's meant to be in this
directory since Qt is built for cross-compilation and I certainly wouldn't
expect the generated x86 tools to be embedded in the RaspPi filesystem. But
a simple mkdir fixes the issue and Qt Creator is happy again!

Regards,
  Etienne

2012/8/23 Coley <coley.curtin at gmail.com>

> Fedora 16 should be fine as a host OS, fwiw I used Ubuntu 12.04.
> -Coley.
>
>
> On 22 August 2012 10:33, Etienne H. <hetigre at gmail.com> wrote:
>
>> Damn, that's bad news.
>> Out of curiosity, what OS are you running your QtCreator on?
>> My next step is to install a fresh Linux VM0. I was running Fedora 16 but
>> I'd gladly switch to another distro if it's known to be working !
>>
>>
>> 2012/8/22 Coley <coley.curtin at gmail.com>
>>
>>> No shouldn't have an impact - I've built  before and used with QtCreator
>>> and it has worked fine, without building tests or examples.
>>>
>>> -Coley.
>>>
>>>
>>> On 22 August 2012 10:05, Etienne H. <hetigre at gmail.com> wrote:
>>>
>>>> Hello Coley,
>>>>
>>>>   Thanks for the link, that's a hell of a tutorial!!
>>>>   Unfortunately, the mkspecs issue does not seem to be related to the
>>>> "incorrectly installed" message.
>>>>
>>>>   I noticed from the tutorial that docs and examples are built - I
>>>> explicitely excluded them from my .configure... Just to be sure, I'll try
>>>> and rebuild everything in case that's what QtCreator checks.
>>>>
>>>> Regards,
>>>>    Etienne
>>>>
>>>>
>>>> 2012/8/21 Coley <coley.curtin at gmail.com>
>>>>
>>>>> Check out  http://qt-project.org/wiki/RaspberryPi_Beginners_guide Specifically
>>>>> the first entry in Troubleshooting at the end of the page.
>>>>> -Coley.
>>>>>
>>>>> On 21 August 2012 12:00, Eti Henri <hetigre at gmail.com> wrote:
>>>>>
>>>>>>  Hi folks,
>>>>>>
>>>>>>   Is anyone out there using a home-made cross-compiled Qt5 (from git)
>>>>>> with Qt Creator on a host Linux ?
>>>>>>   Qt Creator used to work great with the QtOnPi 0.2's qmake, but I
>>>>>> can't get it to accept my own qmake. It always fails with a "qt is not
>>>>>> correctly installed" message and refuses to use it.
>>>>>>   Oddly enough, this qmake works fine when used from a shell, and the
>>>>>> directories returned by "qmake -query" are all valid...
>>>>>>
>>>>>>   It's still possible to edit code from Qt Creator and compile &
>>>>>> deploy from a shell, but that's a real shame given how everything used to
>>>>>> work on the QtOnPi distro!
>>>>>>   So, I'd love to hear if anyone managed to get it working now that
>>>>>> QtOnPi is gone...
>>>>>>
>>>>>> Kind regards,
>>>>>>   Etienne
>>>>>>
>>>>>> _______________________________________________
>>>>>> QtonPi mailing list
>>>>>> QtonPi at qt-project.org
>>>>>> http://lists.qt-project.org/mailman/listinfo/qtonpi
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qtonpi/attachments/20120823/ee12faaf/attachment.html 


More information about the QtonPi mailing list