1 Star 0 Fork 0

yuanerhh/GenUML

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
GenUML.pro 2.34 KB
一键复制 编辑 原始数据 按行查看 历史
yuanerhh 提交于 2024-11-10 23:28 . 可以生成类图。
QT += quick
CONFIG += c++11
QMAKE_PROJECT_DEPTH = 0
# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked deprecated (the exact warnings
# depend on your compiler). Refer to the documentation for the
# deprecated API to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS GVDLL
# You can also make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
SOURCES += \
ClangAnalyzer.cpp \
ClassElem.cpp \
ClassGenerator.cpp \
FileManager.cpp \
# GraphvizDiagramer.cpp \
GlobalConfig.cpp \
ImageProvider.cpp \
MainController.cpp \
MainView.cpp \
PumlDiagramer.cpp \
main.cpp
RESOURCES += qml.qrc \
image.qrc
TRANSLATIONS += \
GenUML_zh_CN.ts
# Additional import path used to resolve QML modules in Qt Creator's code model
QML_IMPORT_PATH =
# Additional import path used to resolve QML modules just for Qt Quick Designer
QML_DESIGNER_IMPORT_PATH =
win32 {
INCLUDEPATH += "D:/Program Files/LLVM/include"
# INCLUDEPATH += "C:/Program Files/Graphviz/include"
LIBS += -L"D:/Program Files/LLVM/lib" -llibclang
# LIBS += -L"C:/Program Files/Graphviz/lib" -lcdt -lcgraph -lgvc -lcgraph++ -lgvplugin_dot_layout -ltcldot_builtin
}
unix {
INCLUDEPATH += /usr/lib/llvm-10/include
LIBS += -lgvc -lcgraph -lcdt -lclang
LIBS += -L/usr/lib/llvm-10/lib/ -lclang
# Additional import path used to resolve QML modules in Qt Creator's code model
QML_IMPORT_PATH = /usr/lib/x86_64-linux-gnu/qt5/qml
}
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
HEADERS += \
ClangAnalyzer.h \
ClangUtils.h \
ClassElem.h \
ClassGenerator.h \
Common.h \
DiagramDef.h \
FileManager.h \
GlobalConfig.h \
GraphvizDiagramer.h \
GraphvizUtils.h \
IAnalyzer.h \
IDiagramer.h \
IElem.h \
IUMLGenerator.h \
ImageProvider.h \
MainController.h \
MainView.h \
OrderMap.h \
PumlDiagramer.h \
Utils.h
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yuanerhh/GenUML.git
[email protected]:yuanerhh/GenUML.git
yuanerhh
GenUML
GenUML
master

搜索帮助