[Qt-creator] qmake will not build c++ file named something like format.cc and ostream.cc

Nikos Chantziaras realnc at gmail.com
Wed Jul 19 18:26:50 CEST 2017


I've been using .cc files for C++ source code forever, and it has always 
worked fine with qmake and in Creator.


On 08/07/17 11:02, Morton Lin wrote:
> Hi All,
> 
> I currently want to use spdlog(https://github.com/gabime/spdlog) in my 
> qt project. It contains two file named : format.cc and ostream.cc. The 
> Qt Creator will not build these two file even if i put it in my pro 
> file. Debugging show that it even not in the Makefile. After i struggled 
> after some time, i found out that if i changed the file name, all things 
> worked out.
> 
> Is this behavior designed in this way? or there is bug? If it's by 
> designed, what' the reason here?
> 
> 
> Thanks
> Yun
> 
> 
> Env:
> 
> Qt 5.9.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by 
> Clang 7.0.2 (clang-700.1.81) (Apple)) on "cocoa"
> OS: macOS Sierra (10.12) [darwin version 16.6.0]
> Architecture: x86_64; features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2
> Environment:
> Features: QT_NO_EXCEPTIONS QT_NO_OPENSSL
> 
> Qt Creator 4.3.1
> Based on Qt 5.9.0 (Clang 7.0 (Apple), 64 bit)
>  From revision bfd818b2b1
> 
> 
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator
> 





More information about the Qt-creator mailing list