日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

zigbee 编译source_zigbee_sensor_monitor_v1_2_1 vs2008 qt-win-opensource-src-4.4.3

發布時間:2024/4/14 编程问答 35 豆豆
生活随笔 收集整理的這篇文章主要介紹了 zigbee 编译source_zigbee_sensor_monitor_v1_2_1 vs2008 qt-win-opensource-src-4.4.3 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
Development with Qt 4.4.3 source and Visual Studio 2008 Express
This document describes how to set up the environment for developing Qt applications
with Visual Studio 2008 Express based on the GNU GPL v2 (“Open source”) edition of Qt
4.4.3 source distribution.
Installing Visual Studio 2008 (Visual C++ 9.0)
1. Download VS 2008 Express from http://www.microsoft.com/express/vc/
2. This will download the file vcsetup.exe which you may choose to save or run
straight away
3. After the installation completes; add the following to the PATH environment
variable: C:\Program Files\Microsoft Visual Studio 9.0\VC\bin
Qt source download
The Sensor Monitor application was built for use together with the GPLv2-licensed Qt
v4.4.3. If you plan to do further development, it is likely that you can use a newer version
of Qt instead of this specific version, without having to do much updates to the
application code itself (assuming backwards compatibility).
However, this guide will further explain how you can build the .dll libraries from the Qt
source code of the specific v4.4.3 version, for use with the Sensor Monitor application.
Please note that since the v4.4.3 was released, Nokia has begun to offer pre-built
binaries (.dll libraries) of their Qt libraries for faster deployment for application
developers who are not really interested in modifying the Qt libraries themselves. This
can save you some hours of compile time. You will need to check out
http://qt.nokia.com on your own for more details on pre-built binaries.
Getting back to compiling from source code, you can first download the v4.4.3 source
code for the Qt libraries that you need directly from the Qt FTP archive:
ftp://ftp.qt.nokia.com/qt/source/qt-win-opensource-src-4.4.3.zip
(if you are unable to retrieve the source code from the above link, please contact TI
and we will provide you this source code directly)
When it has been downloaded, unpack the zip-file into c:\qt (or a folder of your
choice). The rest of the absolute path names in this document assume c:\qt as
installation root.
Qt build
1. Set the environment variable QMAKESPEC to win32-msvc2008
2. Add c:\qt\qt-win-opensource-src-4.4.3\bin to the PATH environment
variable
3. Open a Visual Studio command prompt and navigate to the Qt installation root,
c:\qt\qt-win-opensource-src-4.4.3. Alternatively: open a Windows command
prompt and execute “C:\Program Files\Microsoft Visual Studio 9.0\VC\
vcvarsall.bat”. NB! The command MUST be between double quotes.
4. Execute configure
a. Type 2 to read the GPLv2 software license.
b. Type y if you accept the license agreement.
c. The build will now be prepared, this step will typically take minimum 30
minutes.
5. Execute nmake (this will take several hours on most machines. *zzZzZzZZ* )
Qt is now ready to be used with Visual Studio 2008?Express!

How to build the ZigBee Sensor Monitor application
1. Open a Visual Studio command prompt and navigate to the source files for the
ZigBee Sensor Monitor application. This is where the Qt project file can be found:
zsensormonitor.pro.
Type qmake on the command prompt to create the project file for VC++ 2008
Express.
2. Open the VC++ 2008 Express IDE and select the project file created above

(zsensormonitor.vcproj) and start building the application.


最后編譯時會出現問題,

解決方案:工具—>選項—>項目和解決方案—>VC++目錄,在可執行文件欄中加上如下路徑:
$(SystemRoot)\System32?
$(SystemRoot)?
$(SystemRoot)\System32\wbem

轉載于:https://www.cnblogs.com/-song/archive/2013/01/27/3331830.html

總結

以上是生活随笔為你收集整理的zigbee 编译source_zigbee_sensor_monitor_v1_2_1 vs2008 qt-win-opensource-src-4.4.3的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。