Установка Qt для Windows CEQt for Windows CE has some requirements that are given in more detail in the Qt for Windows CE Requirements document. Шаг 1: Установка файл лицензии (только в коммерческих редакциях)Uncompress the files into the directory you want to install Qt into; e.g., C:\Qt\4.8.4. Замечание: Путь не должен содержать пробелов. Шаг 2: Установка переменных окруженияДля работы с Qt, вам нужно добавить путь в переменную среды PATH: PATH - чтобы указать местонахождение qmake, moc и других инструментов Qt. Сделайте это добавлением c:\Qt\4.8.4\bin к переменной PATH. For newer versions of Windows, PATH can be extended through "Control Panel->System->Advanced->Environment variables" and for older versions by editing c:\autoexec.bat. Make sure the enviroment variables for your compiler are set. Visual Studio includes vcvars32.bat for that purpose - or simply use the "Visual Studio Command Prompt" from the Start menu. Шаг 3: Настройка QtTo configure Qt for Windows Mobile 5.0 for Pocket PC, type the following: C: cd \Qt\4.8.4 configure -platform win32-msvc2005 -xplatform wincewm50pocket-msvc2005 If you want to configure Qt for another platform or with other options, type configure -help to get a list of all available options. Страница Опции конфигурации Qt даёт их краткий обзор. See the README file for the list of supported platforms. Шаг 4: Сборка библиотеки QtNow, to build Qt you first have to update your PATH, INCLUDE and LIB paths to point to the correct resources for your target platforms. For a default installation of the Windows Mobile 5.0 Pocket PC SDK, this is done with the following commands: set INCLUDE=C:\Program Files\Microsoft Visual Studio 8\VC\ce\include;C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\Include\Armv4i set LIB=C:\Program Files\Microsoft Visual Studio 8\VC\ce\lib\armv4i;C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\Lib\ARMV4I set PATH=C:\Program Files\Microsoft Visual Studio 8\VC\ce\bin\x86_arm;%PATH% We provide a convenience script for this purpose, called setcepaths. Просто наберите: setcepaths wincewm50pocket-msvc2005 Then to build Qt type: nmake Вот и всё. Qt теперь установлена. Демонстрационные программы и примеры QtTo get started with Qt, you can check out the examples found in the examples directory of your Qt installation. The documentation can be found in doc\html. Note: If you reconfigure Qt for a different platform, make sure you start with a new clean console to get rid of the platform dependent include directories. The links below provide further information for using Qt: You might also want to try the following Windows CE specific links:
Information on feature and performance tuning for embedded builds can be found on the following pages: Мы надеемся, что вам понравится использование Qt. Удачи! |
Попытка перевода Qt документации. Если есть желание присоединиться, или если есть замечания или пожелания, то заходите на форум: Перевод Qt документации на русский язык... Люди внесшие вклад в перевод: Команда переводчиков |