CMake + MSBuild project shows repeated entries when opened in Qt Creator



  • Hello, all.

    I have two projects previously built using CMake with "Visual Studio 12 2013" as the generator. Qt Creator manages to successfully parse both projects, but all source files and headers are duplicated in one of the projects and quadrupled in the other. Here's how it looks:

    Quadrupled main.cpp and CMakeLists.txt

    Is this a bug? Or am I doing something wrong? The CMake commands used to build those projects are nothing unlike the usual -- just cmake .. <some flags> then cmake --build . --config Release.

    Thanks in advance.


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Which version of Qt Creator are you using ?
    With which version of CMake ?
    With which version of Qt ?



  • Qt Creator 4.4.0, CMake 3.9.3, Qt 5.6.3


Log in to reply
 

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