gn + ninjia编译项目移植到QtCreator开发

Qt项目移植到QtCreator

前言

最近遇到一个项目,需要复用之前项目代码。之前项目是gn + ninjia 完成构建。现在我想移植到QtCreator上进行项目开发。要完成移植需要做如下准备工作。

  1. 安装Qt+QtCreator
  2. 添加qmake.exe路径到系统环境变量

项目工程文件构建

  1. pro文件生成
    将原工程目录复制到一个新建目录中,在工程目录下,右击命令行打开,输入qmake -project,回车。原工程目录
    打开目录下命令行窗口
    运行命令生成工程文件
    上面已经完成初步工程文件的生成,想用完整的编译运行工程还需要后续修改*.pro文件的步骤。
######################################################################
# Automatically generated by qmake (3.1) Mon Jan 8 20:32:28 2024
######################################################################

TEMPLATE = app
TARGET = dtof_calibration
INCLUDEPATH += .

# You can make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# Please consult the documentation of the deprecated API in order to know
# how to port your code away from it.
# 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

# Input
HEADERS += common/include/configurator.h \
           common/include/history.h \
           common/include/ifile.h \
           common/include/ihistory.h \
           common/include/info.h \
           common/include/lkinfo.h \
           common/include/msg.h \
           common/include/spinfo.h \
           common/include/utils.h \
           scene/include/about.h \
           scene/include/calibrationconfigurator.h \
           scene/include/dtof.h \
           scene/include/log.h \
           scene/include/msgbox.h \
           scene/include/newadditions.h \
           scene/include/platform.h \
           scene/include/result.h \
           scene/include/serialnumber.h \
           scene/include/stage.h \
           scene/include/statistics.h \
           scene/include/subwindow.h \
           scene/include/unit.h \
           scene/include/unitdelegate.h \
           scene/include/unititem.h \
           scene/include/unitmodel.h \
           service/include/calibrator.h \
           service/include/master.h \
           service/include/service.h \
           service/include/slave.h \
           service/include/worker.h \
           out/gen/scene/id.h \
           out/gen/top/id.h \
           third_party/glog/src/demangle.h \
           third_party/glog/src/googletest.h \
           third_party/glog/src/mock-log.h \
           third_party/glog/src/stacktrace.h \
           third_party/glog/src/stacktrace_generic-inl.h \
           third_party/glog/src/stacktrace_libunwind-inl.h \
           third_party/glog/src/stacktrace_powerpc-inl.h \
           third_party/glog/src/stacktrace_windows-inl.h \
           third_party/glog/src/stacktrace_x86-inl.h \
           third_party/glog/src/stacktrace_x86_64-inl.h \
           third_party/glog/src/symbolize.h \
           third_party/glog/src/utilities.h \
           third_party/modbus/include/qmodbus_symbols_p.h \
           third_party/modbus/include/qmodbusadu_p.h \
           third_party/modbus/include/qmodbusclient.h \
           third_party/modbus/include/qmodbusclient_p.h \
           third_party/modbus/include/qmodbuscommevent_p.h \
           third_party/modbus/include/qmodbusdataunit.h \
           third_party/modbus/include/qmodbusdevice.h \
           third_party/modbus/include/qmodbusdevice_p.h \
           third_party/modbus/include/qmodbusdeviceidentification.h \
           third_party/modbus/include/qmodbuspdu.h \
           third_party/modbus/include/qmodbusreply.h \
           third_party/modbus/include/qmodbusrtuserialmaster.h \
           third_party/modbus/include/qmodbusrtuserialmaster_p.h \
           third_party/modbus/include/qmodbusrtuserialslave.h \
           third_party/modbus/include/qmodbusrtuserialslave_p.h \
           third_party/modbus/include/qmodbusserver.h \
           third_party/modbus/include/qmodbusserver_p.h \
           third_party/modbus/include/qmodbustcpclient.h \
           third_party/modbus/include/qmodbustcpclient_p.h \
           third_party/modbus/include/qmodbustcpmaster.h \
           third_party/modbus/include/qmodbustcpmaster_p.h \
           third_party/modbus/include/qmodbustcpserver.h \
           third_party/modbus/include/qmodbustcpserver_p.h \
           third_party/modbus/include/timer.h \
           third_party/shortcut/include/oeamplifier.h \
           third_party/shortcut/include/oecommonhelper.h \
           third_party/shortcut/include/oemodelview.h \
           third_party/shortcut/include/oescreenshot.h \
           third_party/xlsx/include/xlsxabstractooxmlfile.h \
           third_party/xlsx/include/xlsxabstractooxmlfile_p.h \
           third_party/xlsx/include/xlsxabstractsheet.h \
           third_party/xlsx/include/xlsxabstractsheet_p.h \
           third_party/xlsx/include/xlsxcell.h \
           third_party/xlsx/include/xlsxcell_p.h \
           third_party/xlsx/include/xlsxcellformula.h \
           third_party/xlsx/include/xlsxcellformula_p.h \
           third_party/xlsx/include/xlsxcellrange.h \
           third_party/xlsx/include/xlsxcellreference.h \
           third_party/xlsx/include/xlsxchart.h \
           third_party/xlsx/include/xlsxchart_p.h \
           third_party/xlsx/include/xlsxchartsheet.h \
           third_party/xlsx/include/xlsxchartsheet_p.h \
           third_party/xlsx/include/xlsxcolor_p.h \
           third_party/xlsx/include/xlsxconditionalformatting.h \
           third_party/xlsx/include/xlsxconditionalformatting_p.h \
           third_party/xlsx/include/xlsxcontenttypes_p.h \
           third_party/xlsx/include/xlsxdatavalidation.h \
           third_party/xlsx/include/xlsxdatavalidation_p.h \
           third_party/xlsx/include/xlsxdocpropsapp_p.h \
           third_party/xlsx/include/xlsxdocpropscore_p.h \
           third_party/xlsx/include/xlsxdocument.h \
           third_party/xlsx/include/xlsxdocument_p.h \
           third_party/xlsx/include/xlsxdrawing_p.h \
           third_party/xlsx/include/xlsxdrawinganchor_p.h \
           third_party/xlsx/include/xlsxformat.h \
           third_party/xlsx/include/xlsxformat_p.h \
           third_party/xlsx/include/xlsxglobal.h \
           third_party/xlsx/include/xlsxmediafile_p.h \
           third_party/xlsx/include/xlsxnumformatparser_p.h \
           third_party/xlsx/include/xlsxrelationships_p.h \
           third_party/xlsx/include/xlsxrichstring.h \
           third_party/xlsx/include/xlsxrichstring_p.h \
           third_party/xlsx/include/xlsxsharedstrings_p.h \
           third_party/xlsx/include/xlsxsimpleooxmlfile_p.h \
           third_party/xlsx/include/xlsxstyles_p.h \
           third_party/xlsx/include/xlsxtheme_p.h \
           third_party/xlsx/include/xlsxutility_p.h \
           third_party/xlsx/include/xlsxworkbook.h \
           third_party/xlsx/include/xlsxworkbook_p.h \
           third_party/xlsx/include/xlsxworksheet.h \
           third_party/xlsx/include/xlsxworksheet_p.h \
           third_party/xlsx/include/xlsxzipreader_p.h \
           third_party/xlsx/include/xlsxzipwriter_p.h \
           out/gen/scene/ui/ui_about.h \
           out/gen/scene/ui/ui_calibrationconfigurator.h \
           out/gen/scene/ui/ui_dtof.h \
           out/gen/scene/ui/ui_dtof_network.h \
           out/gen/scene/ui/ui_log.h \
           out/gen/scene/ui/ui_msgbox.h \
           out/gen/scene/ui/ui_newadditions.h \
           out/gen/scene/ui/ui_platform.h \
           out/gen/scene/ui/ui_result.h \
           out/gen/scene/ui/ui_serialnumber.h \
           out/gen/scene/ui/ui_stage.h \
           out/gen/scene/ui/ui_statistics.h \
           out/gen/scene/ui/ui_unititem.h \
           out/gen/scene/ui/ui_waitlink.h \
           third_party/glog/src/base/commandlineflags.h \
           third_party/glog/src/base/googleinit.h \
           third_party/glog/src/base/mutex.h \
           third_party/glog/src/glog/log_severity.h \
           third_party/glog/src/windows/dirent.h \
           third_party/glog/src/windows/port.h \
           /common/include/configurator.h \
           /common/include/info.h \
           /common/include/history.h \
           /common/include/utils.h \
           /third_party/xlsx/include/xlsxdocument.h \
           /third_party/xlsx/include/xlsxworkbook.h \
           /third_party/xlsx/include/xlsxworksheet.h \
           /third_party/xlsx/include/xlsxcell.h \
           /scene/include/about.h \
           /out/gen/scene/ui/ui_about.h \
           /scene/include/calibrationconfigurator.h \
           /common/include/ifile.h \
           /out/gen/scene/ui/ui_calibrationconfigurator.h \
           /scene/include/dtof.h \
           /common/include/spinfo.h \
           /common/include/lkinfo.h \
           /out/gen/scene/ui/ui_dtof_network.h \
           /scene/include/log.h \
           /out/gen/scene/ui/ui_log.h \
           /scene/include/msgbox.h \
           /out/gen/scene/ui/ui_msgbox.h \
           /scene/include/newadditions.h \
           /out/gen/scene/ui/ui_newadditions.h \
           /scene/include/platform.h \
           /out/gen/scene/ui/ui_platform.h \
           /scene/include/result.h \
           /out/gen/scene/ui/ui_result.h \
           /scene/include/serialnumber.h \
           /out/gen/scene/ui/ui_serialnumber.h \
           /scene/include/stage.h \
           /common/include/msg.h \
           /common/include/ihistory.h \
           /out/gen/scene/ui/ui_stage.h \
           /scene/include/subwindow.h \
           /third_party/shortcut/include/oescreenshot.h \
           /scene/include/statistics.h \
           /out/gen/scene/ui/ui_statistics.h \
           /scene/include/unitdelegate.h \
           /scene/include/unititem.h \
           /out/gen/scene/ui/ui_unititem.h \
           /scene/include/unitmodel.h \
           /service/include/calibrator.h \
           /third_party/modbus/include/qmodbusdataunit.h \
           /third_party/modbus/include/qmodbusrtuserialmaster.h \
           /service/include/master.h \
           /service/include/service.h \
           /service/include/slave.h \
           /service/include/worker.h \
           /third_party/modbus/include/qmodbusreply.h \
           /third_party/modbus/include/qmodbustcpmaster.h \
           /out/gen/scene/id.h \
           /third_party/modbus/include/qmodbusclient.h \
           /third_party/modbus/include/qmodbusclient_p.h \
           /third_party/modbus/include/qmodbus_symbols_p.h \
           /third_party/modbus/include/qmodbusdevice.h \
           /third_party/modbus/include/qmodbusdevice_p.h \
           /third_party/modbus/include/qmodbusdeviceidentification.h \
           /third_party/modbus/include/qmodbuspdu.h \
           /third_party/modbus/include/qmodbusrtuserialmaster_p.h \
           /third_party/modbus/include/qmodbusrtuserialslave.h \
           /third_party/modbus/include/qmodbusrtuserialslave_p.h \
           /third_party/modbus/include/qmodbusserver.h \
           /third_party/modbus/include/qmodbusserver_p.h \
           /third_party/modbus/include/qmodbustcpclient.h \
           /third_party/modbus/include/qmodbustcpclient_p.h \
           /third_party/modbus/include/qmodbustcpmaster_p.h \
           /third_party/modbus/include/qmodbustcpserver.h \
           /third_party/modbus/include/qmodbustcpserver_p.h \
           /third_party/shortcut/include/oeamplifier.h \
           /third_party/shortcut/include/oecommonhelper.h \
           /third_party/shortcut/include/oemodelview.h \
           /third_party/xlsx/include/xlsxabstractooxmlfile.h \
           /third_party/xlsx/include/xlsxabstractooxmlfile_p.h \
           /third_party/xlsx/include/xlsxabstractsheet.h \
           /third_party/xlsx/include/xlsxabstractsheet_p.h \
           /third_party/xlsx/include/xlsxcell_p.h \
           /third_party/xlsx/include/xlsxformat.h \
           /third_party/xlsx/include/xlsxformat_p.h \
           /third_party/xlsx/include/xlsxutility_p.h \
           /third_party/xlsx/include/xlsxcellformula.h \
           /third_party/xlsx/include/xlsxcellformula_p.h \
           /third_party/xlsx/include/xlsxcellrange.h \
           /third_party/xlsx/include/xlsxcellreference.h \
           /third_party/xlsx/include/xlsxchart_p.h \
           /third_party/xlsx/include/xlsxchartsheet.h \
           /third_party/xlsx/include/xlsxchartsheet_p.h \
           /third_party/xlsx/include/xlsxdrawing_p.h \
           /third_party/xlsx/include/xlsxdrawinganchor_p.h \
           /third_party/xlsx/include/xlsxchart.h \
           /third_party/xlsx/include/xlsxcolor_p.h \
           /third_party/xlsx/include/xlsxstyles_p.h \
           /third_party/xlsx/include/xlsxconditionalformatting.h \
           /third_party/xlsx/include/xlsxconditionalformatting_p.h \
           /third_party/xlsx/include/xlsxcontenttypes_p.h \
           /third_party/xlsx/include/xlsxdatavalidation.h \
           /third_party/xlsx/include/xlsxdatavalidation_p.h \
           /third_party/xlsx/include/xlsxdocpropsapp_p.h \
           /third_party/xlsx/include/xlsxdocpropscore_p.h \
           /third_party/xlsx/include/xlsxdocument_p.h \
           /third_party/xlsx/include/xlsxrelationships_p.h \
           /third_party/xlsx/include/xlsxtheme_p.h \
           /third_party/xlsx/include/xlsxsharedstrings_p.h \
           /third_party/xlsx/include/xlsxworkbook_p.h \
           /third_party/xlsx/include/xlsxmediafile_p.h \
           /third_party/xlsx/include/xlsxzipreader_p.h \
           /third_party/xlsx/include/xlsxzipwriter_p.h \
           /third_party/xlsx/include/xlsxnumformatparser_p.h \
           /third_party/xlsx/include/xlsxrichstring.h \
           /third_party/xlsx/include/xlsxrichstring_p.h \
           /third_party/xlsx/include/xlsxsimpleooxmlfile_p.h \
           /third_party/xlsx/include/xlsxworksheet_p.h \
           out/gen/common/wapper/moc_configurator.cc \
           out/gen/scene/wapper/moc_platform.cc \
           out/gen/scene/wapper/moc_msgbox.cc \
           out/gen/scene/wapper/moc_stage.cc \
           out/gen/scene/wapper/moc_log.cc \
           out/gen/scene/wapper/moc_subwindow.cc \
           out/gen/scene/wapper/moc_serialnumber.cc \
           out/gen/scene/wapper/moc_newadditions.cc \
           out/gen/scene/wapper/moc_dtof.cc \
           out/gen/scene/wapper/moc_about.cc \
           out/gen/scene/wapper/moc_calibrationconfigurator.cc \
           out/gen/scene/wapper/moc_statistics.cc \
           out/gen/scene/wapper/moc_unitdelegate.cc \
           out/gen/scene/wapper/moc_unititem.cc \
           out/gen/scene/wapper/moc_result.cc \
           out/gen/scene/wapper/moc_unitmodel.cc \
           out/gen/service/wapper/moc_calibrator.cc \
           out/gen/service/wapper/moc_service.cc \
           out/gen/service/wapper/moc_worker.cc \
           /third_party/glog/src/windows/port.h \
           /third_party/glog/src/windows/dirent.h \
           third_party/glog/src/logging_striptest_main.cc \
           out/gen/third_party/modbus/wapper/moc_qmodbusdevice.cc \
           out/gen/third_party/modbus/wapper/moc_qmodbusrtuserialmaster.cc \
           out/gen/third_party/modbus/wapper/moc_qmodbustcpmaster.cc \
           out/gen/third_party/modbus/wapper/moc_qmodbusrtuserialslave.cc \
           out/gen/third_party/modbus/wapper/moc_qmodbustcpclient.cc \
           out/gen/third_party/modbus/wapper/moc_qmodbusserver.cc \
           out/gen/third_party/modbus/wapper/moc_qmodbusclient.cc \
           out/gen/third_party/modbus/wapper/moc_qmodbustcpserver.cc \
           out/gen/third_party/modbus/wapper/moc_qmodbusreply.cc \
           out/gen/third_party/modbus/wapper/moc_timer.cc \
           out/gen/third_party/shortcut/wapper/moc_oescreenshot.cc \
           out/gen/third_party/shortcut/wapper/moc_oemodelview.cc \
           out/gen/third_party/shortcut/wapper/moc_oeamplifier.cc \
           out/gen/third_party/xlsx/wapper/moc_xlsxdocument.cc
FORMS += scene/ui/about.ui \
         scene/ui/calibrationconfigurator.ui \
         scene/ui/dtof.ui \
         scene/ui/dtof_network.ui \
         scene/ui/log.ui \
         scene/ui/msgbox.ui \
         scene/ui/newadditions.ui \
         scene/ui/platform.ui \
         scene/ui/result.ui \
         scene/ui/serialnumber.ui \
         scene/ui/stage.ui \
         scene/ui/statistics.ui \
         scene/ui/unititem.ui \
         scene/ui/waitlink.ui
SOURCES += common/configurator.cc \
           common/history.cc \
           common/utils.cc \
           scene/about.cc \
           scene/calibrationconfigurator.cc \
           scene/dtof.cc \
           scene/log.cc \
           scene/msgbox.cc \
           scene/newadditions.cc \
           scene/platform.cc \
           scene/result.cc \
           scene/serialnumber.cc \
           scene/stage.cc \
           scene/statistics.cc \
           scene/subwindow.cc \
           scene/unitdelegate.cc \
           scene/unititem.cc \
           scene/unitmodel.cc \
           service/calibrator.cc \
           service/master.cc \
           service/service.cc \
           service/slave.cc \
           service/worker.cc \
           top/main.cc \
           third_party/modbus/qmodbusclient.cc \
           third_party/modbus/qmodbusdevice.cc \
           third_party/modbus/qmodbusdeviceidentification.cc \
           third_party/modbus/qmodbuspdu.cc \
           third_party/modbus/qmodbusreply.cc \
           third_party/modbus/qmodbusrtuserialmaster.cc \
           third_party/modbus/qmodbusrtuserialslave.cc \
           third_party/modbus/qmodbusserver.cc \
           third_party/modbus/qmodbustcpclient.cc \
           third_party/modbus/qmodbustcpmaster.cc \
           third_party/modbus/qmodbustcpserver.cc \
           third_party/shortcut/oeamplifier.cpp \
           third_party/shortcut/oecommonhelper.cpp \
           third_party/shortcut/oemodelview.cpp \
           third_party/shortcut/oescreenshot.cpp \
           third_party/xlsx/xlsxabstractooxmlfile.cpp \
           third_party/xlsx/xlsxabstractsheet.cpp \
           third_party/xlsx/xlsxcell.cpp \
           third_party/xlsx/xlsxcellformula.cpp \
           third_party/xlsx/xlsxcellrange.cpp \
           third_party/xlsx/xlsxcellreference.cpp \
           third_party/xlsx/xlsxchart.cpp \
           third_party/xlsx/xlsxchartsheet.cpp \
           third_party/xlsx/xlsxcolor.cpp \
           third_party/xlsx/xlsxconditionalformatting.cpp \
           third_party/xlsx/xlsxcontenttypes.cpp \
           third_party/xlsx/xlsxdatavalidation.cpp \
           third_party/xlsx/xlsxdocpropsapp.cpp \
           third_party/xlsx/xlsxdocpropscore.cpp \
           third_party/xlsx/xlsxdocument.cpp \
           third_party/xlsx/xlsxdrawing.cpp \
           third_party/xlsx/xlsxdrawinganchor.cpp \
           third_party/xlsx/xlsxformat.cpp \
           third_party/xlsx/xlsxmediafile.cpp \
           third_party/xlsx/xlsxnumformatparser.cpp \
           third_party/xlsx/xlsxrelationships.cpp \
           third_party/xlsx/xlsxrichstring.cpp \
           third_party/xlsx/xlsxsharedstrings.cpp \
           third_party/xlsx/xlsxsimpleooxmlfile.cpp \
           third_party/xlsx/xlsxstyles.cpp \
           third_party/xlsx/xlsxtheme.cpp \
           third_party/xlsx/xlsxutility.cpp \
           third_party/xlsx/xlsxworkbook.cpp \
           third_party/xlsx/xlsxworksheet.cpp \
           third_party/xlsx/xlsxzipreader.cpp \
           third_party/xlsx/xlsxzipwriter.cpp \
           out/gen/common/wapper.cc \
           out/gen/resources/rcc_resources.cc \
           out/gen/scene/wapper.cc \
           out/gen/service/wapper.cc \
           out/gen/top/wapper.cc \
           third_party/glog/src/demangle.cc \
           third_party/glog/src/demangle_unittest.cc \
           third_party/glog/src/logging.cc \
           third_party/glog/src/logging_custom_prefix_unittest.cc \
           third_party/glog/src/logging_striptest10.cc \
           third_party/glog/src/logging_striptest2.cc \
           third_party/glog/src/logging_striptest_main.cc \
           third_party/glog/src/logging_unittest.cc \
           third_party/glog/src/mock-log_test.cc \
           third_party/glog/src/raw_logging.cc \
           third_party/glog/src/signalhandler.cc \
           third_party/glog/src/signalhandler_unittest.cc \
           third_party/glog/src/stacktrace_unittest.cc \
           third_party/glog/src/stl_logging_unittest.cc \
           third_party/glog/src/symbolize.cc \
           third_party/glog/src/symbolize_unittest.cc \
           third_party/glog/src/utilities.cc \
           third_party/glog/src/utilities_unittest.cc \
           third_party/glog/src/vlog_is_on.cc \
           out/gen/third_party/modbus/wapper.cc \
           out/gen/third_party/shortcut/wapper.cc \
           out/gen/third_party/xlsx/wapper.cc \
           third_party/glog/bazel/example/main.cc \
           third_party/glog/src/windows/port.cc \
           third_party/xlsx/doc/snippets/doc_src_qtxlsx.cpp \
           third_party/glog/src/package_config_unittest/working_config/glog_package_config.cc
RESOURCES += resources/resources.qrc

  1. 修改*.pro文件
    打开生成的*.pro文件,包含工程目录下的所有文件,需要根据项目中实际需要编译的文件来修改配置文件*.pro中的包含文件。
    通过QtCreator打开*pro文件,目录的结构如下图
    工程目录
    此时的工程还无法编译,想让工程编译起来,只需3步
    1. 删除与编译无关的文件,实例中的out目录是原项目编译产物存放目录,该目录所有文件可以删除,删除两种方式:1)删除工程目录下的out整个目录,再次生产新的*.pro文件。2)删除*.pro中out路径相关的文件,如下图的文件内容在这里插入图片描述
      删除无效文件后,重新打开*.pro
      在这里插入图片描述
  2. 结构化项目,使项目结构看起来更加清晰,将子目录看成一个子工程,通过*.pri文件进行管理。还是通过实例中的一个子目录common进行演示。 1)在common目录下创建一个common.pri文件,文件内容如下
    在这里插入图片描述
    备注:添加目录下多个文件时,不需要单个复制。可以通过命令行+dir /B > .txt ,输出到文件.txt中。
    同样,其他子目录按照上面步骤生成各自子工程配置文件。最后将*.pro文件修改为
######################################################################
# Automatically generated by qmake (3.1) Thu Dec 21 13:49:52 2023
######################################################################
#QT +=core gui network serialport charts concurrent
#QT += widgets
#CONFIG += c++11
#TEMPLATE = app
#TARGET = dtof_calibration
#INCLUDEPATH += .

QT       += core gui gui-private
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets serialport charts network concurrent xml

CONFIG += c++17
TEMPLATE = app
TARGET = dtof_calibration

#工程子模块添加
include($$PWD/common/common.pri) INCLUDEPATH += $$PWD/common
include($$PWD/scene/scene.pri) INCLUDEPATH += $$PWD/scene
include($$PWD/service/service.pri) INCLUDEPATH += $$PWD/service
include($$PWD/top/top.pri) INCLUDEPATH += $$PWD/top
include($$PWD/third_party/third_party.pri) INCLUDEPATH += $$PWD/third_party

#工程资源文件添加
RESOURCES += resources/resources.qrc

最终QtCreator打开工程文件
在这里插入图片描述

  1. 距离编译成功还差最后一步,配置编译器,该项目使用的是Qt5.14.0+mingw64,所以需要在项目中配置mingw64编译器。
    最终编译运行该项目。
  • 29
    点赞
  • 17
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值