Fix qmake project.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
This commit is contained in:
Andrea Odetti 2021-01-16 19:07:07 +00:00
parent 620fa10454
commit fee6720fb4

View file

@ -11,18 +11,6 @@ TEMPLATE = app
SOURCES += main.cpp\
QHexView/document/buffer/qhexbuffer.cpp \
QHexView/document/buffer/qmemorybuffer.cpp \
QHexView/document/buffer/qmemoryrefbuffer.cpp \
QHexView/document/commands/hexcommand.cpp \
QHexView/document/commands/insertcommand.cpp \
QHexView/document/commands/removecommand.cpp \
QHexView/document/commands/replacecommand.cpp \
QHexView/document/qhexcursor.cpp \
QHexView/document/qhexdocument.cpp \
QHexView/document/qhexmetadata.cpp \
QHexView/document/qhexrenderer.cpp \
QHexView/qhexview.cpp \
loggingcategory.cpp \
options.cpp \
qapple.cpp \
@ -34,21 +22,10 @@ SOURCES += main.cpp\
memorycontainer.cpp \
preferences.cpp \
gamepadpaddle.cpp \
viewbuffer.cpp
viewbuffer.cpp \
qtframe.cpp
HEADERS += qapple.h \
QHexView/document/buffer/qhexbuffer.h \
QHexView/document/buffer/qmemorybuffer.h \
QHexView/document/buffer/qmemoryrefbuffer.h \
QHexView/document/commands/hexcommand.h \
QHexView/document/commands/insertcommand.h \
QHexView/document/commands/removecommand.h \
QHexView/document/commands/replacecommand.h \
QHexView/document/qhexcursor.h \
QHexView/document/qhexdocument.h \
QHexView/document/qhexmetadata.h \
QHexView/document/qhexrenderer.h \
QHexView/qhexview.h \
emulator.h \
loggingcategory.h \
options.h \
@ -58,7 +35,9 @@ HEADERS += qapple.h \
memorycontainer.h \
preferences.h \
gamepadpaddle.h \
viewbuffer.h
viewbuffer.h \
qtframe.h \
applicationname.h
FORMS += qapple.ui \
emulator.ui \
@ -68,11 +47,12 @@ FORMS += qapple.ui \
RESOURCES += \
qapple.qrc
unix: LIBS += -L$$PWD/../../../build/source -lappleii
LIBS += -L$$PWD/../../../build/source -lappleii
LIBS += -L$$PWD/../../../build/source/frontends/common2 -lcommon2
LIBS += -L$$PWD/../../../build/source/frontends/qt/QHexView -lqhexview-lib
LIBS += -levdev
INCLUDEPATH += $$PWD/../../../source
DEPENDPATH += $$PWD/../../../source
INCLUDEPATH += $$PWD/QHexView
unix: LIBS += -levdev
unix:QMAKE_RPATHDIR += $ORIGIN/../..
QMAKE_RPATHDIR += $ORIGIN/../..