2016-09-06 54 views
2

我試圖構建一個我從github下載的Qt項目。該.pro文件是如下在Qt創建器中接收[main.o]錯誤2

QT  += core gui opengl widgets 
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x000000` 
TARGET = FiniteElements 
TEMPLATE = app 

LIBS += -lqwt 

INCLUDEPATH += "/usr/include/qwt/"\ 

SOURCES += main.cpp\ 
     mainwindow.cpp \ 
    FiniteElements.cpp \ 
    graph_plot.cpp 

HEADERS += mainwindow.h \ 
    FiniteElements.h \ 
    graph_plot.h 

#DEPENDPATH += include 

#LIBS += /home/hishamop/FEMprogs/QtFe 
#INCLUDEPATH += include 

當我試圖建立它,我得到了以下錯誤消息

/bin/sh: 1: Syntax error: EOF in backquote substitution
make: *** [mainwindow.o] Error 2
11:38:18: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project FiniteElements (kit: Desktop)
When executing step 'Make'

+0

請問您可以發佈所有錯誤文本? – demonplus

+0

@demonplus。 Qt創建者沒有顯示除此之外的任何其他文本 – user294664

+0

轉到底部的「編譯器輸出」選項卡以查看實際消息並將其發佈。 – ftynse

回答

0

INCLUDEPATH += "/usr/include/qwt/"\

刪除反斜槓在該行的末尾(可能是錯字?)