Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P4: Low
-
Resolution: Out of scope
-
Affects Version/s: 5.11.3, 6.0.0
-
Fix Version/s: None
-
Component/s: Build tools: qmake
-
Labels:None
-
Platform/s:
Description
QMake seems to classify .c++ files as C source code.
From this project file:
SOURCES += "main.c++"
it generates a makefile containing:
main.o: main.c++ $(CC) -c $(CFLAGS) $(INCPATH) -o main.o main.c++
instead of the correct rule: (if you change main.c++ to main.cpp)
main.o: main.cpp $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp