Hi Morton,

Qt Creator doesn't build files itself - it merely wraps build systems like 
qmake, qbs or CMake. Which are you using?


For qmake, I couldn't reproduce this in a quick test with two files names 
format.cc and ostream.cc .


Regards


Kai

________________________________
From: Qt-creator <[email protected]> on behalf 
of Morton Lin <[email protected]>
Sent: Saturday, July 8, 2017 10:02:27 AM
To: [email protected]
Subject: [Qt-creator] qmake will not build c++ file named something like 
format.cc and ostream.cc

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
[email protected]
http://lists.qt-project.org/mailman/listinfo/qt-creator

Reply via email to