如何在Qt Creator中为Qt Quick UI应用程序链接第三方库。 我有用linux(.so)构建的库文件 提前致谢
答案 0 :(得分:1)
您应该创建“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