解决编译错误

This commit is contained in:
爬山虎 2022-12-23 15:23:55 +08:00
parent 21c8460eef
commit 1a25fc3ce5
1 changed files with 0 additions and 4 deletions

View File

@ -47,13 +47,11 @@ TRANSLATIONS += realcompare_zh.ts
} }
unix{ unix{
if(CONFIG(debug, debug|release)){ if(CONFIG(debug, debug|release)){
LIBS += -L/home/yzw/build/CCNotePad/lib -lprotobuf
LIBS += -L/home/yzw/build/CCNotePad/x64/Debug -lqmyedit_qt5 LIBS += -L/home/yzw/build/CCNotePad/x64/Debug -lqmyedit_qt5
QMAKE_CXXFLAGS += -fopenmp QMAKE_CXXFLAGS += -fopenmp
LIBS += -lgomp -lpthread LIBS += -lgomp -lpthread
}else{ }else{
LIBS += -L/home/yzw/build/CCNotePad/lib -lprotobuf
LIBS += -L/home/yzw/build/CCNotePad/x64/Release -lqmyedit_qt5 LIBS += -L/home/yzw/build/CCNotePad/x64/Release -lqmyedit_qt5
DESTDIR = x64/Release DESTDIR = x64/Release
@ -66,12 +64,10 @@ LIBS += -lgomp -lpthread
RC_FILE += RealCompare.rc RC_FILE += RealCompare.rc
unix unix
{ {
unix:!macx: LIBS += -L$$PWD/lib/ -lprotobuf
INCLUDEPATH += $$PWD/. INCLUDEPATH += $$PWD/.
DEPENDPATH += $$PWD/. DEPENDPATH += $$PWD/.
unix:!macx: PRE_TARGETDEPS += $$PWD/lib/libprotobuf.a
unix:!macx: LIBS += -L$$PWD/x64/Release/ -lqmyedit_qt5 unix:!macx: LIBS += -L$$PWD/x64/Release/ -lqmyedit_qt5