[Development] Cross-compling & installing cmake files

Andreas Holzammer andreas.holzammer at kdab.com
Tue Aug 28 13:55:44 CEST 2012


You are also missing the platform plugin und
plugin/platforms/windows.dll, needs to be copied to
win32-mainwindow/platforms. I cannot imagine that the msvc runtime is
missing, because you are using the mingw compiler and the compiler does
not use the msvc runtine...

Am 28.08.2012 13:37, schrieb Peter Kümmel:
> On 28.08.2012 12:18, Peter Kümmel wrote:
>> On 28.08.2012 12:04, Stephen Kelly wrote:
>>> On Tuesday, August 28, 2012 11:49:28 Peter Kümmel wrote:
>>>> I tried it again from scratch, and I was wrong, it also doesn't work
>>>> on 12.04, only one file is copied: lib/cmake/Qt5Core/Qt5CTestMacros.cmake
>>>
>>> Ok. Please tell me how to try it out.
>>>
>>> 'aptitude search mingw' gives many result. I have not used mingw on linux
>>> before.
>>>
>>
>> sudo apt-get install mingw-w64
>>
>> and attched script to build Qt.
>>
> 
> When you build Qt5 this way the generated executables are not usable.
> You could try with the mainwindow example:
> 
> On Windows you need some dlls:
> 
> $ mkdir win32-mainwindow
> $ cp release/mainwindow.exe win32-mainwindow/
> $ cp /opt/Qt-5.0.0-win32-g++-i686-w64-mingw32/bin/*.dll win32-mainwindow/
> $ cp /usr/lib/gcc/i686-w64-mingw32/4.6/*.dll win32-mainwindow/
> 
> Running mainwindow.exe gives the error:
> "This application has requested the Runtime to terminate it in an unusual way"
> 
> Seems the msvc runtime is misused:
> http://goo.gl/e41XF
> 
> Peter
> 
> 
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
> 


-- 
Andreas Holzammer | andreas.holzammer at kdab.com | Software Engineer
KDAB (Deutschland) GmbH&Co KG, a KDAB Group company
Tel. Germany +49-30-521325470, Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-independent software solutions

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4147 bytes
Desc: S/MIME Kryptografische Unterschrift
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120828/d43e18a0/attachment.bin>


More information about the Development mailing list