【发布时间】:2017-10-01 11:37:09
【问题描述】:
我的项目中有一个.pro 文件,但现在我想将它移植到一个CMakeLists.txt 文件中。我怎样才能做到这一点?
QT += core
QT -= gui
CONFIG += c++11
TARGET = test
CONFIG += console
CONFIG -= app_bundle
TEMPLATE = app
QT += network
SOURCES += main.cpp \
test_interface.cpp \
motomanlibrary.cpp \
processing.cpp
SOURCES += main.cpp \
test_interface.h \
motomanlibrary.h \
processing.h
【问题讨论】:
-
@Antonio,奇怪的是博文的作者还没有找到使用 Qt Creator 和 cmake 的方法