Details
-
Bug
-
Resolution: Done
-
P4: Low
-
5.2.1
-
None
-
make distclean; ./configure -v -opensource -confirm-license -xplatform win32-g++ -device-option CROSS_COMPILE=x86_64-w64-mingw32- -no-compile-examples -skip qtactiveqt && make
-
qtsensors: eee2eee734b4aa735d35f6c53d79c06c1c76425a , qtdeclarative: 547db13219cd6375af43c801491a5d33f522b86f (stable, 16.4.2014, 5.3.1)
Description
In File "qtdeclarative/examples/quick/tutorials/gettingStartedQml/filedialog/filedialog.pro" please use "$${DIR_SEPARATOR}" instead of using replace (see below).
Important reason: It does not work when cross-compiling on Linux for Windows, it actually then changes slashes to backslashes, which is wrong on a linux host.
You find a fixed version of file qt-everywhere-opensource-src-5.2.1/qtdeclarative/examples/quick/tutorials/gettingStartedQml/filedialog/filedialog.pro in the attachment.
Please replace it.
This is wrong, because it does not work when cross compiling for MinGW on a Unix Host:
-----------------------------------
win32: {
copyfile ~= s,/,
,g
copydest ~= s,/,
,g
}
-----------------------------------