fork download
  1. #-------------------------------------------------
  2. #
  3. # Project created by QtCreator 2019-05-25T00:16:33
  4. #
  5. #-------------------------------------------------
  6.  
  7. QT += core gui
  8.  
  9. greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
  10.  
  11. TARGET = Help
  12. TEMPLATE = app
  13.  
  14. DEFINES +=QT_DEPRECATED_WARNINGS
  15.  
  16. CONFIG += c++11
  17.  
  18. SOURCES +=\
  19. main.cpp\
  20. widget.cpp
  21.  
  22. HEADERS +=\
  23. widget.h
  24.  
  25. qnx: target.path= /tmp/$${TARGET}/bin
  26. else: unix:!android: target.path= /tmp/$${TARGET}/bin
  27. !isEmpty(target.path): INSTALLS += target
  28.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:1:2: error: invalid preprocessing directive #--
 #-------------------------------------------------
  ^~
prog.cpp:3:3: error: invalid preprocessing directive #Project
 # Project created by QtCreator 2019-05-25T00:16:33
   ^~~~~~~
prog.cpp:5:2: error: invalid preprocessing directive #--
 #-------------------------------------------------
  ^~
prog.cpp:7:1: error: ‘QT’ does not name a type
 QT       += core gui
 ^~
prog.cpp:25:34: error: expected unqualified-id before ‘/’ token
 qnx: target.path= /tmp/$${TARGET}/bin
                                  ^
prog.cpp:26:50: error: expected unqualified-id before ‘/’ token
 else: unix:!android: target.path= /tmp/$${TARGET}/bin
                                                  ^
stdout
Standard output is empty