Hi,
i want compile my QtQuick2 Application i try MXE but no success (some errors with QtQuick ) so how can i cross sompile my project from linux to windows
Hi,
i want compile my QtQuick2 Application i try MXE but no success (some errors with QtQuick ) so how can i cross sompile my project from linux to windows
Why bother. Install Qt on the Windows box and build your source there.
If you want to make a cross compiler environment on Linux targeting Windows then go right ahead. You need to build the cross-compiler, any libraries it needs, a cross-compiled version of any libraries Qt needs, a cross-compiled version of Qt, a cross compiled version of any 3rd party libraries needed by your application, and then you still need a Windows machine to run the result. As an unsupported, an probably unique, environment all the problems will be yours to solve.
Last edited by ChrisW67; 3rd April 2013 at 06:17.
Yes i have virtualbox but i want to try another way. It was working good but only for GUI apps but QtQuick 2 apps doens't work.
Thanks bro
Added after 1 29 minutes:
But i have still problem to compile QQuick 2 Application i take some log and this
and it crash.QQuickWindow: makeCurrent() failed...
Last edited by Ichi; 3rd April 2013 at 17:07.
This was app outup it compiles fine but when it is starting it crash.
Debug output:
This running on Virtualbox-Windows7 32bitDebugging starts
QML debugging is enabled. Only use this in a safe environment.
Temporarily disabling breakpoints for unloaded shared library "C:\Qt\Qt5.0.1\5.0.1\mingw47_32\plugins\platforms\ qminimald.dll"
Temporarily disabling breakpoints for unloaded shared library "C:\Qt\Qt5.0.1\5.0.1\mingw47_32\plugins\platforms\ qwindowsd.dll"
QML Debugger: Waiting for connection on port 3768...
Temporarily disabling breakpoints for unloaded shared library "C:\Qt\Qt5.0.1\5.0.1\mingw47_32\plugins\qmltooling \qmldbg_inspectord.dll"
Temporarily disabling breakpoints for unloaded shared library "C:\Qt\Qt5.0.1\5.0.1\mingw47_32\plugins\qmltooling \qmldbg_qtquick2d.dll"
Temporarily disabling breakpoints for unloaded shared library "C:\Qt\Qt5.0.1\5.0.1\mingw47_32\plugins\qmltooling \qmldbg_tcp_qtdeclaratived.dll"
Temporarily disabling breakpoints for unloaded shared library "C:\Qt\Qt5.0.1\5.0.1\mingw47_32\plugins\qmltooling \qmldbg_tcpd.dll"
static QWindowsEGLStaticContext* QWindowsEGLStaticContext::create(): Could not initialize egl display: error 12289
QQuickWindow: makeCurrent() failed...
I reinstall directX and now on 100% acceleration is working and now i get new error it is funny:
Debugging starts
QML debugging is enabled. Only use this in a safe environment.
Temporarily disabling breakpoints for unloaded shared library "C:\Qt\Qt5.0.1\5.0.1\mingw47_32\plugins\platforms\ qminimald.dll"
Temporarily disabling breakpoints for unloaded shared library "C:\Qt\Qt5.0.1\5.0.1\mingw47_32\plugins\platforms\ qwindowsd.dll"
QML Debugger: Waiting for connection on port 3768...
Temporarily disabling breakpoints for unloaded shared library "C:\Qt\Qt5.0.1\5.0.1\mingw47_32\plugins\qmltooling \qmldbg_inspectord.dll"
Temporarily disabling breakpoints for unloaded shared library "C:\Qt\Qt5.0.1\5.0.1\mingw47_32\plugins\qmltooling \qmldbg_qtquick2d.dll"
Temporarily disabling breakpoints for unloaded shared library "C:\Qt\Qt5.0.1\5.0.1\mingw47_32\plugins\qmltooling \qmldbg_tcp_qtdeclaratived.dll"
Temporarily disabling breakpoints for unloaded shared library "C:\Qt\Qt5.0.1\5.0.1\mingw47_32\plugins\qmltooling \qmldbg_tcpd.dll"
OpenGL Warning: Returning GetProcAddress:NULL for wglSetPixelFormatWINE
OpenGL Warning: Returning GetProcAddress:NULL for wglSetPixelFormatWINE
OpenGL Warning: Returning GetProcAddress:NULL for wglSetPixelFormatWINE
OpenGL Warning: No pincher, please call crStateSetCurrentPointers() in your SPU
QOpenGLShader::link: "(41,18): warning X3206: implicit truncation of vector type
"
Compilation is fine but this start program then black window this is all. I think on another PC it will works but you know it is better when i see i have right source
Essentially you're trying to run a program that demands proper support of OpenGL2 on hardware/software combination that doesn't support it.
Bookmarks