[Qt-creator] Qt5 + CMake: qdeclarativefolderlistmodel.h(56): Error: Undefined interface
Peter Kümmel
syntheticpp at gmx.net
Wed Sep 26 15:08:47 CEST 2012
On 26.09.2012 11:00, Loaden wrote:
> Patch in here: https://codereview.qt-project.org/#change,35697
>
...
>> *moc_qdeclarativefolderlistmodel.cxx_parameters*
>>
>>> -DUNICODE
>>> -D_CRT_SECURE_NO_WARNINGS
>>> -DQT_NO_CAST_TO_ASCII
>>> -DQT_DISABLE_DEPRECATED_BEFORE=0x040900
>>> -DQT_USE_FAST_OPERATOR_PLUS
>>> -DQT_USE_FAST_CONCATENATION
>>> -DWIN32
>>> -o
Have a look at the qmake generated Makefiles:
D:\qt4\_4.8.3_elf64\bin\moc.exe $(DEFINES) $(INCPATH) -D_MSC_VER=1700 -DWIN32
e:\sandbox\creator\qt-creator\src\libs\qtcomponents\styleitem\qdeclarativefolderlistmodel.h -o
tmp\moc_qdeclarativefolderlistmodel.cpp
DEFINES = -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DWITH_TESTS -DIDE_LIBRARY_BASENAME=\"lib\" -DQT_NO_CAST_TO_ASCII
-DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -D_CRT_SECURE_NO_WARNINGS -DQT_DLL -DQT_PLUGIN
-DQT_DECLARATIVE_LIB -DQT_TESTLIB_LIB -DQT_SCRIPT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW
-DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_DECLARATIVE_DEBUG
I could imagine -DQT_PLUGIN is important here.
Peter
More information about the Qt-creator
mailing list