SDK:在Windows 7上运行的Qt Creator 2.4.1(Qt 4.7.4(32位))
软件:libqxt
最终目标平台:Harmattan(诺基亚N9)
我正在开发一个应用程序,假设使用qt-Brisa反过来使用libqxt所以我想安装libqxt。
最后,我正在做一个诺基亚N9(Harmattan)应用程序,所以我需要libqxt的静态库
但是,如果尝试使用命令提示符或Qt Creator,尝试安装libqxt时会出现问题。
什么是正确的方法,我假设使用Qt Creator是构build它的正确方法?
使用命令提示方法(根据http://dev.libqxt.org/libqxt/wiki/user_guide )
C:\QtSDK\Desktop\Qt\4.8.1\msvc2010\bin configure.bat -static -no-db -debug_and_release Testing for qmake... Testing for mingw32-make... Testing for nmake... Testing for GNU make... Using GNU make. Testing for optional external libraries. If tests fail, some features will not be available. Testing for Zero Conf... Zero Conf disabled. Configuration successful. Generating makefiles... Project MESSAGE: building docs Project MESSAGE: building core module Project MESSAGE: building widgets module Project MESSAGE: building network module Project MESSAGE: building sql module Project MESSAGE: building web module Reading C:/temp/Project/libqxt/libqxt/tools/3rdparty/qdoc3/qdoc3.pro Reading C:/temp/Project/libqxt/libqxt/src/core/core.pro Reading C:/temp/Project/libqxt/libqxt/src/widgets/widgets.pro Project MESSAGE: Warning: unknown QT: widgets Project MESSAGE: Warning: unknown QT: widgets Project MESSAGE: Warning: unknown QT: widgets Reading C:/temp/Project/libqxt/libqxt/src/designer/designer.pro Project MESSAGE: Warning: unknown QT: widgets Project MESSAGE: Warning: unknown QT: widgets Project MESSAGE: Warning: unknown QT: widgets Project MESSAGE: Warning: unknown QT: widgets Project MESSAGE: Warning: unknown QT: widgets Project MESSAGE: Warning: unknown QT: widgets Reading C:/temp/Project/libqxt/libqxt/src/network/network.pro Reading C:/temp/Project/libqxt/libqxt/tools/jsonrpcclient/jsonrpcclient.pro Reading C:/temp/Project/libqxt/libqxt/src/sql/sql.pro Reading C:/temp/Project/libqxt/libqxt/src/web/web.pro Makefiles generated. Run make now. make Makefile:280: *** multiple target patterns. Stop.
为什么使用GNU make而不是qmake,或者我在做一些错误的操作?
使用Qt Creator
我也尝试将libqxt项目加载到创作者(我更喜欢),但编译输出窗口显示以下
11:05:50: Running build steps for project libqxt... 11:05:50: Starting: "c:\qtsdk\desktop\qt\4.8.1\msvc2010\bin\qmake.exe" C:\temp\Project\libqxt\libqxt\libqxt.pro -r -spec win32-msvc2010 "CONFIG+=declarative_debug" WARNING: features.path is not defined: install target not created 11:05:50: The process "c:\qtsdk\desktop\qt\4.8.1\msvc2010\bin\qmake.exe" exited normally. 11:05:50: Starting: "C:\QtSDK\QtCreator\bin\jom.exe" jom 1.0.6 - empower your cores 11:05:51: The process "C:\QtSDK\QtCreator\bin\jom.exe" exited normally.
但是这也没有编译
(警告:features.path未定义:安装目标未创build)
编译时,如何将libqxt“添加”到Qt环境的其余部分,以便另一个项目可以“查看”libqxt库,是通过“部署全部”?
问候Stefan