Yeah i just do things, not one for technical documentation as you can tell
My FastQSP.pro looks like this in the beginnning:
Code:
$ head FastQSP.pro
TEMPLATE = subdirs
# Detect GCC
QMAKE_CXXFLAGS_RELEASE += -O2
QMAKE_CXXFLAGS += -O2
QMAKE_LFLAGS_RELEASE += -Wl,-O1
QMAKE_LFLAGS += -Wl,-O1
CONFIG += ordered
SUBDIRS += qsp gui
The if statement is skeleton where I was just trying to also support windows too, so ya can just remove it.
Code:
$ head qsp/qsp.pro
TEMPLATE = lib
TARGET = qsp
win32 {
CONFIG += dll
DEFINES+= _WIN
}
QMAKE_CXXFLAGS += -O2
QMAKE_LFLAGS += -Wl,-O1
QMAKE_LFLAGS_WINDOWS = /SUBSYSTEM:WINDOWS,6.0 /OPT:REF,ICF /LTCG
and
Code:
$ head gui/gui.pro
QT += core gui webkit webkitwidgets network
QMAKE_CXXFLAGS += -O2
QMAKE_LFLAGS += -Wl,-O1
greaterThan(QT_MAJOR_VERSION, 4): QT += multimedia multimediawidgets
else: QT += phonon
QMAKE_LFLAGS_WINDOWS = /SUBSYSTEM:WINDOWS,6.0 /OPT:REF,ICF /LTCG
CONFIG += c++11
Hopefully this makes more sense
Yeah sorry I'm not sure, it isn't giving much help there. Double check based on the files I shared here on a fresh download and I'll see what i can do to help. My gut says something is missing in your qt install but not sure what. is missing. The other dude in the linked linux build gave some qt dependencies to install, maybe you need one of those? My package manager in debian just worked when I installed the two deps I listed (Unless I had others installed previously and didn't know)
Code:
$ qmake --version
QMake version 3.1
Using Qt version 5.15.13 in /usr/lib/x86_64-linux-gnu