>> Edit article
이름
제목
패스워드
PORTING INSTRUCTIONS In the configs/ directory you will find several build configuration files for all platforms supported by Qt. You can generate your own config files by using the makeconfig script in the bin/ directory. 1) Download and install tmake; ftp://ftp.trolltech.com/freebies/tmake/ 2) Create your own tmake configuration, for example: /local/tmake/lib/solaris-cxx/ This directory must contain a tmake.conf file (with compiler options) and a few tmake template (*.t) files. Copy these from one of the other configurations and modify tmake.conf as needed. 3) Now run the makeconfig script to generate Qt build configuration files in the configs/ directory: -----> makeconfig /local/tmake/lib/solaris-cxx 4) Run the configure script to create your new makefiles. Modify qt/src/tools/qglobal.h as required: you need to ensure that _OS_whatever_ is defined. We've done it for many platforms in the past, those should be okay. If you are using a compiler we don't detect it's probably a good idea to add a _CC_whatever_ too (even though you don't need it at once). There are also some size-dependent types (Q_UINT32 and so on), make sure they're right for your system. Some compilers emit bad warnings when they compile Qt. If yours does, and the code in Qt is sane, please use a #pragma or two to shut your compiler up. (This is a good reason for wanting the _CC_whatever_ define above.)--우주의 나이 = 약 150억년 지구의 질량 = 5.976 x 10의 24승 kg 태양의 질량 = 지구의 질량 x 330000 상상을 초월하는 블랙홀 = 태양의 질량 x 10의 8승
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved