0

我如何在 Qt Creator 中为 Qt Quick UI 应用程序链接第 3 方库。我有内置在 linux(.so) 中的库文件在此先感谢

4

1 回答 1

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
于 2013-03-08T13:49:36.167 回答