您应该创建“Qt Quick Application *”项目和 .pro 文件应如下所示:
QT += core quick gui network
TEMPLATE = app
HEADERS += some .h files
SOURCES += some .cpp files
INCLUDEPATH += ../include
OTHER_FILES += *.qml #or path to qml files
LIBS += -lprotobuf # list of Libs, which you wish