📄 utils.pro
字号:
TEMPLATE = lib# Add a preproc macro so we can see the directory of the sourcefileDEFINES+=__PWD__="$$(PWD)"DESTDIR=$$(CPPLIBS)target.path=$$(CPPLIBS)INSTALLS += targetRESOURCES = utils.qrc# InputHEADERS += argumentlist.h \ enum.h \ logger.h \ qdebugstream.h \ filevisitor.h \ qobject_support.h \ qdate-helpers.h \ command.h \ logwindow.h \ exception.h \ qstd.h \ putenv.h SOURCES += argumentlist.cpp \ filevisitor.cpp \ exception.cpp \ logger.cpp \ enum.cpp \ command.cpp \ logwindow.cpp \ qobject_support.cpp \ qdate-helpers.cpp \ qdebugstream.cpp \ qstd.cpp \ putenv.cpp win32 { CONFIG += dll UI_DIR = _ui MOC_DIR = _moc OBJECTS_DIR = _obj QMAKE_LFLAGS += /IMPLIB:..\utils.lib CONFIG(dll) { DEFINES += UTILS_DLL QT_MAKEDLL QT_DLL } }# place auto-generated files in "invisible" subdirectoriesunix { UI_DIR = .ui MOC_DIR = .moc OBJECTS_DIR = .obj}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -