[Qt-creator] Qt5 + CMake: qdeclarativefolderlistmodel.h(56): Error: Undefined interface

Loaden loaden at gmail.com
Thu Sep 27 04:38:38 CEST 2012


Thanks for tips. Here is the solution:
https://github.com/loaden/qtcreator/commit/773519421f5cda2035d0c6fb9998a16e882422ae
The reason:
Need to add

> include_directories(${Qt5Quick1_INCLUDE_DIRS})
>
> Before post this subject, I have tried :

include_directories(${Qt5Core_INCLUDE_DIRS}) and
include_directories(${Qt5Widgets_INCLUDE_DIRS})

But both failed. so I give up early.

sorry for made this noise.



2012/9/26 Peter Kümmel <syntheticpp at gmx.net>

> I could imagine -DQT_PLUGIN is important here.




-- 
*Please don't ask where I come from, It's a shame!*
Best Regards
Yuchen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20120927/2bcfaec5/attachment.html>


More information about the Qt-creator mailing list