Ticket #111 (new defect)

Opened 1 year ago

Last modified 1 year ago

qtd doesn't compile on linux

Reported by: Anonymous Assigned to:
Priority: major Version:
Keywords: Cc:

Description

$ dmd 
DMD32 D Compiler v2.059
$ hg tip
changeset:   414:b2a803c73b89
tag:         tip
user:        David Nadlinger <code@klickverbot.at>
date:        Fri May 06 13:39:49 2011 +0200
summary:     Declare tabArray const.

compiled via

cmake ../ -DCMAKE_CXX_FLAGS="-m32 -fpermissive"
[ 95%] Built target cpp_webkit
Scanning dependencies of target qtdcore
/home/martin/opt/qtd/build_dir/build/qt/core/QCoreApplication.d(69): Error: undefined identifier ApplicationFlags
make[5]: *** [CMakeFiles/qtdcore.dir/qtdcore0.o] Error 1
make[4]: *** [CMakeFiles/qtdcore.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [main] Error 2
make[1]: *** [CMakeFiles/main.dir/all] Error 2
make: *** [all] Error 2

Change History

04/23/12 21:20:23 changed by Anonymous

i got around this by inserting " public enum { ApplicationFlags? = QT_VERSION }" in the qt.core.QCoreApplication module;