[Interest] Recent Qt5 does not compile with mingw64

Guido Seifert wargand at gmx.de
Wed Jun 3 19:13:04 CEST 2015


Ooookay... the QSharedMemory problem I can work around by not compiling the examples: -no-compile-examples. But then much later I get:

.moc/debug/moc_context3d_p.cpp:1935:16: error: 'WINBOOL' is not a member of 'QtCanvas3D::CanvasContext'
      455, uint(QtCanvas3D::CanvasContext::WINBOOL),

Looks like Qt5 and MinGW don't go together anymore. At least not my version... too many mingw versions floating around.

Guido



> Hi,
> it is not my favourite platform, but I try it from time to time. :-)
> 
> Fairly recent Qt5: 
> 
>  commit 4fc367abe95ee78166067047d0f229bba9991956
>  Author: Qt Submodule Update Bot <qt_submodule_update_bot at ovi.com>
>  Date:   Sat May 30 22:33:04 2015 +0300
>  Change-Id: I88af8ac70704e63a2154b3fe22b51483a69d84c3
> 
> After a while I get:
> 
> make[6]: Entering directory '/c/Users/wargand/qt5/qtbase/examples/corelib/ipc/sharedmemory'
> g++ -c -pipe -fno-keep-inline-dllexport -g -fno-exceptions -frtti -Wall -Wextra -DUNICODE -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_EVDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_NO_EXCEPTIONS -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I. -I../../../../include -I../../../../include/QtWidgets -I../../../../include/QtGui -I../../../../include/QtCore -I.moc/debug -I.uic -I../../../../mkspecs/win32-g++  -o .obj/debug/main.o main.cpp
> In file included from main.cpp:42:0:
> dialog.h:65:5: error: 'QSharedMemory' does not name a type
>      QSharedMemory sharedMemory;
>      ^
> 
> Anyone an idea?
> 
> Guido
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
> 



More information about the Interest mailing list