| 
UID:143380
注册时间2013-05-03最后登录2017-09-14在线时间6小时
发帖31搜Ta的帖子精华0
金钱310威望41贡献值0好评度31
访问TA的空间加好友用道具
     | 
 
一般的application的pro 是有指定库的,比如: #-------------------------------------------------## Project created by QtCreator 2013-05-16T22:31:49##-------------------------------------------------QT       += core guigreaterThan(QT_MAJOR_VERSION, 4): QT += widgetsTARGET = qa1TEMPLATE = appSOURCES += main.cpp\        mainwindow.cppHEADERS  += mainwindow.hFORMS    += mainwindow.ui
但是qml 工程的pro文件,压根没有QT这个参数 :  # Add more folders to ship with the application, here folder_01.source = qml/qml1 folder_01.target = qml DEPLOYMENTFOLDERS = folder_01 # Additional import path used to resolve QML modules in Creator's code model QML_IMPORT_PATH = # If your application uses the Qt Mobility libraries, uncomment the following # lines and add the respective components to the MOBILITY variable. # CONFIG += mobility # MOBILITY += # The .cpp file which was generated for your project. Feel free to hack it. SOURCES += main.cpp # Installation path # target.path = # Please do not modify the following two lines. Required for deployment. include(qtquick2applicationviewer/qtquick2applicationviewer.pri) qtcAddDeployment()
如果我要导入一个第三方库,咋弄?  
 |