Using qplatformdefs.h

David Faure faure+bluesystems at kde.org
Sun Nov 25 21:46:00 UTC 2012


KF5-with-Qt5 compilation is currently broken because we can't locate 
qplatformdefs.h

This used to come from this line:
tier1/kcoreaddons/src/CMakeLists.txt: 74: 
include_directories(${QT_MKSPECS_DIR}/default) # for qplatformdefs.h

But QT_MKSPECS_DIR isn't set anymore.

How can we get this back? I heard the mkspecs/default symlink is going to go 
away, and qmake will know the mkspec dir somehow builtin?
How can we get to that dir with cmake?

I need qplatformdefs.h in order to use QT_LSTAT for instance.

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Sponsored by BlueSystems and KDAB to work on KDE Frameworks



More information about the Kde-frameworks-devel mailing list