1 Star 0 Fork 1.8K

麻本法/ndd

forked from 爬山虎/ndd 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
RealCompare.pro 1.76 KB
一键复制 编辑 原始数据 按行查看 历史
爬山虎 提交于 2022-10-27 23:19 . 解决qtcreator下面的编译错误
TEMPLATE = app
LANGUAGE = C++
TARGET = Notepad--
CONFIG += qt warn_on release
QT += core gui widgets concurrent network
HEADERS += *.h \
cceditor/ccnotepad.h \
cceditor/filemanager.h
SOURCES += *.cpp \
cceditor/ccnotepad.cpp \
cceditor/filemanager.cpp
FORMS += *.ui \
cceditor/ccnotepad.ui
RESOURCES += RealCompare.qrc
INCLUDEPATH += qscint/src
INCLUDEPATH += qscint/src/Qsci
INCLUDEPATH += qscint/scintilla/include
INCLUDEPATH += cceditor
DEFINES += QSCINTILLA_DLL
TRANSLATIONS += realcompare_zh.ts
win32 {
CONFIG(debug, debug|release) {
DESTDIR = x64/Debug
LIBS += -Lx64/Debug
LIBS += -lqmyedit_qt5d
}else{
DESTDIR = x64/Release
LIBS += -Lx64/Release
LIBS += -lqmyedit_qt5
QMAKE_CXXFLAGS += /openmp
}
}
unix{
if(CONFIG(debug, debug|release)){
LIBS += -L/home/yzw/build/CCNotePad/lib -lprotobuf
LIBS += -L/home/yzw/build/CCNotePad/x64/Debug -lqmyedit_qt5
QMAKE_CXXFLAGS += -fopenmp
LIBS += -lgomp -lpthread
}else{
LIBS += -L/home/yzw/build/CCNotePad/lib -lprotobuf
LIBS += -L/home/yzw/build/CCNotePad/x64/Release -lqmyedit_qt5
DESTDIR = x64/Release
QMAKE_CXXFLAGS += -fopenmp -O2
LIBS += -lgomp -lpthread
}
}
RC_FILE += RealCompare.rc
unix
{
unix:!macx: LIBS += -L$$PWD/lib/ -lprotobuf
INCLUDEPATH += $$PWD/.
DEPENDPATH += $$PWD/.
unix:!macx: PRE_TARGETDEPS += $$PWD/lib/libprotobuf.a
unix:!macx: LIBS += -L$$PWD/x64/Release/ -lqmyedit_qt5
INCLUDEPATH += $$PWD/x64/Release
DEPENDPATH += $$PWD/x64/Release
unix:!macx: PRE_TARGETDEPS += $$PWD/x64/Release/libqmyedit_qt5.a
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/zinface/notepad--.git
git@gitee.com:zinface/notepad--.git
zinface
notepad--
ndd
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385