Qt Creator 3.3 x CMake

  • Hi Guys,

    I was using Qt Creator 1.2 with Qt 4.8.2 and Visual Studio C++ 2008 Express to build a CMake project (CMake version 3.1.2).
    This CMake project just adds other CMake projects using add_subdirectory.

    A few days ago, I updated QtCreator to 3.3.0, Qt SDK to 5.4 and Visual Studio C++ to 2013 Express version.
    For this point onwards, QtCreator (now 3.3.0) is not able to find the C++ headers, neither Qt headers within this CMake project.
    To make things clear, the CMake build is working as it worked before. However, when I open the CMake project into QtCreator, QtCreator cannot find the C++ headers.

    It seems to be a problem with this new version of QtCreator, but I'm not really sure.

    Someone else having this problem?

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Since you changed the version of Qt Creator, look for a file name CMakeLists.txt.user and delete it then re-open your project in Qt Creator

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.