Fetch the repository succeeded.
一个qt制作的在线富文本编辑器,可用于在线多人协作编辑文本,支持导出html,pdf,latex格式 A Qt rich text editor, used for online or offline edit text. Support for exporting to .html, .pdf, .tex
CMakeLists.txt should be like that
cmake_minimum_required(VERSION 3.13)
project(QtLaTeX)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_PREFIX_PATH E:/Qt/Qt5.12.3/5.12.3/mingw73_64)
# Find includes in corresponding build directories
set(CMAKE_INCLUDE_CURRENT_DIR ON)
# Instruct CMake to run moc automatically when needed
set(CMAKE_AUTOMOC ON)
# Create code from a list of Qt designer ui files
set(CMAKE_AUTOUIC ON)
# Find the QtWidgets library
find_package(Qt5 COMPONENTS Core Widgets Gui Sql Network PrintSupport REQUIRED)
# Populate a CMake variable with the sources
set(SOURCELIST
src/login.ui
src/login.cpp
src/login.h
src/main.cpp
src/passwdedit.ui
src/passwdedit.cpp
src/passwdedit.h
src/register.ui
src/register.cpp
src/register.h
src/systemtrayicon.cpp
src/systemtrayicon.h
src/mtextedit.cpp
src/mtextedit.h
src/AccountManager.cpp
src/AccountManager.h
src/editor.cpp
src/editor.h)
qt5_add_resources(SOURCELIST resources/lang.qrc resources/myqrc.qrc resources/qss.qrc)
message("${PROJECT_BINARY_DIR}")
file(MAKE_DIRECTORY ${PROJECT_BINARY_DIR}/plugins)
file(COPY plugins/htmltolatex.jar DESTINATION ${PROJECT_BINARY_DIR}/plugins/)
file(COPY plugins/config.xml DESTINATION ${PROJECT_BINARY_DIR}/)
# Tell CMake to create the QTLaTeX executable
add_executable(QtTextEditor ${SOURCELIST} myapp.rc)
#add_executable(test test/main.cpp test/A.cpp test/A.h)
#file(MAKE_DIRECTORY )
# Use the Widgets module from Qt 5
target_link_libraries(QtTextEditor Qt5::Widgets Qt5::Core Qt5::Gui Qt5::Sql Qt5::Network Qt5::PrintSupport)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。