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

Morton Lin kemen209 at gmail.com
Sat Jul 8 10:02:27 CEST 2017


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20170708/cb31979a/attachment.html>


More information about the Qt-creator mailing list