Unsolved Syntax error: EOF in backquote substitution make: *** [mainwindow.o] Error 2
-
I'm trying to compile a Qt project downloaded from Git hub. I got the following error,
/bin/sh: 1: Syntax error: EOF in backquote substitutionmake: *** [mainwindow.o] Error 2
10:24:29: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project FiniteElements (kit: Desktop)
When executing step 'Make'My .pro file is as below,
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
Can anyone help me to solve the issue?
-
My first reaction was that this would be a case of not enough information.
Then I spotted the character at the end of your DEFINES statement which clearly does not belong there.
That would be my best guess as to the cause of this problem.
Mike
-
@Hisham said in Syntax error: EOF in backquote substitution make: *** [mainwindow.o] Error 2:
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x000000`
Could be that ` at the end of this line:
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x000000`
Remove it, run qmake again and then make.