-
Bug
-
Resolution: Done
-
Not Evaluated
-
None
-
5.2.0 Beta1
-
None
-
Windows 7 Ultimate x64 SP1
MinGW x64 ( tdm64-gcc-4.8.1-3 )
Qt 5.2.0 Beta 1
I'm trying to compile Qt 5.2.0 Beta 1 from sources downloaded from
http://download.qt-project.org/development_releases/qt/5.2/5.2.0-beta1/single/qt-everywhere-opensource-src-5.2.0-beta1.zip
I installed MinGW64 (tdm64-gcc-4.8.1-3) downloaded from
http://sourceforge.net/projects/tdm-gcc/files/TDM-GCC%20Installer/tdm64-gcc-4.8.1-3.exe/download
I open a MinGW64 command prompt and configure it using this command:
configure -debug-and-release -shared -ltcg -no-angle -opengl desktop -mp -no-ssse3 -no-sse4.1 -no-sse4.2 -no-avx -no-avx2
but I get this problem compiling:
d:\mingw64\x86_64-w64-mingw32\include\shlobj.h:594:22: error: initializing arg
ument 1 of 'WINBOOL SHGetPathFromIDListW(PCIDLIST_ABSOLUTE, LPWSTR)' [-fpermissi
ve]
SHSTDAPI_(WINBOOL) SHGetPathFromIDListW (PCIDLIST_ABSOLUTE pidl, LPWSTR pszPa
th);
^
qwindowsdialoghelpers.cpp: In function 'bool QWindowsDialogs::useHelper(QPlatfor
mTheme::DialogType)':
qwindowsdialoghelpers.cpp:2123:12: warning: enumeration value 'MessageDialog' no
t handled in switch [-Wswitch]
switch (type) {
^
qwindowsdialoghelpers.cpp: In function 'QPlatformDialogHelper* QWindowsDialogs::
createHelper(QPlatformTheme::DialogType)':
qwindowsdialoghelpers.cpp:2142:12: warning: enumeration value 'MessageDialog' no
t handled in switch [-Wswitch]
switch (type) {
^
Makefile.Debug:7166: recipe for target '.obj/debug_shared/qwindowsdialoghelpers.
o' failed
mingw32-make[6]: *** [.obj/debug_shared/qwindowsdialoghelpers.o] Error 1
mingw32-make[6]: Leaving directory 'd:/Qt520b1_x64_mingw/qtbase/src/plugins/plat
forms/windows'
Makefile:38: recipe for target 'debug-all' failed
mingw32-make[5]: *** [debug-all] Error 2
mingw32-make[5]: Leaving directory 'd:/Qt520b1_x64_mingw/qtbase/src/plugins/plat
forms/windows'
Makefile:90: recipe for target 'sub-windows-make_first' failed
mingw32-make[4]: *** [sub-windows-make_first] Error 2
mingw32-make[4]: Leaving directory 'd:/Qt520b1_x64_mingw/qtbase/src/plugins/plat
forms'
Makefile:121: recipe for target 'sub-platforms-make_first' failed
mingw32-make[3]: *** [sub-platforms-make_first] Error 2
mingw32-make[3]: Leaving directory 'd:/Qt520b1_x64_mingw/qtbase/src/plugins'
Makefile:497: recipe for target 'sub-plugins-make_first' failed
mingw32-make[2]: *** [sub-plugins-make_first] Error 2
mingw32-make[2]: Leaving directory 'd:/Qt520b1_x64_mingw/qtbase/src'
Makefile:41: recipe for target 'sub-src-make_first' failed
mingw32-make[1]: *** [sub-src-make_first] Error 2
mingw32-make[1]: Leaving directory 'd:/Qt520b1_x64_mingw/qtbase'
Makefile:60: recipe for target 'module-qtbase-make_first' failed
mingw32-make: *** [module-qtbase-make_first] Error 2