[Interest] Recent Qt5 does not compile with mingw64

Guido Seifert wargand at gmx.de
Wed Jun 3 15:51:11 CEST 2015


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



More information about the Interest mailing list