Changeset 769 for trunk/doc/src/snippets
- Timestamp:
- Aug 2, 2010, 9:27:30 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.6.3 (added) merged: 768 /branches/vendor/nokia/qt/current merged: 767 /branches/vendor/nokia/qt/4.6.2 removed
- Property svn:mergeinfo changed
-
trunk/doc/src/snippets/code/doc_src_deployment.qdoc
r651 r769 464 464 ":\"Example Vendor\"" 465 465 466 default_deployment.pkg_prerules = vendorinfo 466 my_deployment.pkg_prerules = vendorinfo 467 DEPLOYMENT += my_deployment 467 468 //! [56] 468 469 … … 472 473 "[0x1028315F],0,0,0,{\"S60ProductID\"}" 473 474 474 default_deployment.pkg_prerules += supported_platforms 475 default_deployment.pkg_prerules -= pkg_platform_dependencies 476 my_deployment.pkg_prerules += supported_platforms 477 DEPLOYMENT += my_deployment 475 478 //! [57] 476 479 -
trunk/doc/src/snippets/code/doc_src_emb-install.qdoc
r651 r769 42 42 //! [0] 43 43 cd <anywhere> 44 gunzip qt-e mbedded-linux-commercial-src-4.6.2.tar.gz45 tar xf qt-e mbedded-linux-commercial-src-4.6.2.tar44 gunzip qt-everywhere-opensource-src-4.6.3.tar.gz 45 tar xf qt-everywhere-opensource-src-4.6.3.tar 46 46 //! [0] 47 47 48 48 49 49 //! [1] 50 ~/qt-e mbedded-linux-commercial-src-4.6.250 ~/qt-everywhere-opensource-src-4.6.3 51 51 //! [1] 52 52 53 53 54 //! [embedded help] 55 ./configure -embedded -help 56 //! [embedded help] 57 54 58 //! [2] 55 cd ~/qt-e mbedded-linux-commercial-src-4.6.259 cd ~/qt-everywhere-opensource-src-4.6.3 56 60 ./configure -embedded [architecture] 57 61 //! [2] … … 69 73 70 74 //! [5] 71 PATH=/usr/local/Trolltech/QtEmbedded-4.6. 2/bin:$PATH75 PATH=/usr/local/Trolltech/QtEmbedded-4.6.3/bin:$PATH 72 76 export PATH 73 77 //! [5] … … 75 79 76 80 //! [6] 77 setenv PATH /usr/local/Trolltech/QtEmbedded-4.6. 2/bin:$PATH81 setenv PATH /usr/local/Trolltech/QtEmbedded-4.6.3/bin:$PATH 78 82 //! [6] -
trunk/doc/src/snippets/code/doc_src_installation.qdoc
r651 r769 42 42 //! [0] 43 43 cd /tmp 44 gunzip qt-everywhere-opensource-src-4.6. 2.tar.gz # uncompress the archive45 tar xvf qt-everywhere-opensource-src-4.6. 2.tar # unpack it44 gunzip qt-everywhere-opensource-src-4.6.3.tar.gz # uncompress the archive 45 tar xvf qt-everywhere-opensource-src-4.6.3.tar # unpack it 46 46 //! [0] 47 47 48 48 49 49 //! [1] 50 cd /tmp/qt-everywhere-opensource-src-4.6. 250 cd /tmp/qt-everywhere-opensource-src-4.6.3 51 51 ./configure 52 52 //! [1] … … 69 69 70 70 //! [5] 71 PATH=/usr/local/Trolltech/Qt-4.6. 2/bin:$PATH71 PATH=/usr/local/Trolltech/Qt-4.6.3/bin:$PATH 72 72 export PATH 73 73 //! [5] … … 75 75 76 76 //! [6] 77 setenv PATH /usr/local/Trolltech/Qt-4.6. 2/bin:$PATH77 setenv PATH /usr/local/Trolltech/Qt-4.6.3/bin:$PATH 78 78 //! [6] 79 79 … … 86 86 //! [8] 87 87 C: 88 cd /D C:\Qt\4.6. 288 cd /D C:\Qt\4.6.3 89 89 configure 90 90 //! [8] … … 103 103 //! [11] 104 104 cd /tmp 105 gunzip qt-everywhere-opensource-src-4.6. 2.tar.gz # uncompress the archive106 tar xvf qt-everywhere-opensource-src-4.6. 2.tar # unpack it105 gunzip qt-everywhere-opensource-src-4.6.3.tar.gz # uncompress the archive 106 tar xvf qt-everywhere-opensource-src-4.6.3.tar # unpack it 107 107 //! [11] 108 108 109 109 110 110 //! [12] 111 cd /tmp/qt-everywhere-opensource-src-4.6. 2111 cd /tmp/qt-everywhere-opensource-src-4.6.3 112 112 ./configure 113 113 //! [12] … … 130 130 131 131 //! [16] 132 PATH=/usr/local/Trolltech/Qt-4.6. 2/bin:$PATH132 PATH=/usr/local/Trolltech/Qt-4.6.3/bin:$PATH 133 133 export PATH 134 134 //! [16] … … 136 136 137 137 //! [17] 138 setenv PATH /usr/local/Trolltech/Qt-4.6. 2/bin:$PATH138 setenv PATH /usr/local/Trolltech/Qt-4.6.3/bin:$PATH 139 139 //! [17] 140 140 … … 147 147 //! [19] 148 148 C: 149 cd \Qt\4.6. 2149 cd \Qt\4.6.3 150 150 configure -platform win32-msvc2005 -xplatform wincewm50pocket-msvc2005 151 151 //! [19] … … 170 170 171 171 //! [23] 172 cd \Qt\4.6. 2172 cd \Qt\4.6.3 173 173 configure -platform win32-g++ -xplatform symbian-abld 174 174 //! [23] … … 209 209 210 210 //! [31] 211 cd \Qt\4.6. 2211 cd \Qt\4.6.3 212 212 configure -platform win32-g++ -xplatform symbian-sbsv2 213 213 //! [31] -
trunk/doc/src/snippets/code/doc_src_porting4.qdoc
r651 r769 453 453 richText.setWidth(w); 454 454 455 // Or set a re sonable default size455 // Or set a reasonable default size 456 456 richText.adjustSize(); 457 457 -
trunk/doc/src/snippets/code/doc_src_qmake-manual.qdoc
r651 r769 934 934 935 935 //! [141] 936 default_deployment.pkg_prerules = "[0x11223344],0,0,0,{\"SomeSpecificDeviceID\"}" 936 default_deployment.pkg_prerules -= pkg_platform_dependencies 937 my_deployment.pkg_prerules = "[0x11223344],0,0,0,{\"SomeSpecificDeviceID\"}" 938 DEPLOYMENT += my_deployment 937 939 //! [141] 938 940 … … 970 972 DEPLOYMENT.installer_header = "$${LITERAL_HASH}{\"My Application Installer\"},(0x12345678),1,0,0" 971 973 //! [147] 974 975 //! [148] 976 # Set conditional libraries 977 LIB.MARM = "LIBRARY myarm.lib" 978 LIB.WINSCW = "LIBRARY mywinscw.lib" 979 LIB.default = "LIBRARY mydefault.lib" 980 981 # Add the conditional MMP rules 982 MYCONDITIONS = MARM WINSCW 983 MYVARIABLES = LIB 984 985 addMMPRules(MYCONDITIONS, MYVARIABLES) 986 //! [148] 987 988 //! [149] 989 SUBDIRS += my_executable my_library 990 my_executable.subdir = app 991 my_executable.depends = my_library 992 my_library.subdir = lib 993 //! [149] 994 995 //! [150] 996 symbian { 997 SUBDIRS += emulator_dll 998 emulator_dll.condition = WINSCW 999 } 1000 //! [150] 1001 1002 //! [151] 1003 RSS_RULES.service_list += "uid = 0x12345678; datatype_list = \{\}; opaque_data = r_my_icon;" 1004 RSS_RULES.footer +="RESOURCE CAPTION_AND_ICON_INFO r_my_icon \{ icon_file =\"$$PWD/my_icon.svg\"; \}" 1005 //! [151] -
trunk/doc/src/snippets/code/doc_src_qtestlib.qdoc
r651 r769 111 111 //! [10] 112 112 ********* Start testing of TestQString ********* 113 Config: Using QTest library 4.6. 2, Qt 4.6.2113 Config: Using QTest library 4.6.3, Qt 4.6.3 114 114 PASS : TestQString::initTestCase() 115 115 PASS : TestQString::toUpper() -
trunk/doc/src/snippets/code/doc_src_wince-customization.qdoc
r651 r769 63 63 //! [4] 64 64 cd c:\Qt\mobile5-shadow 65 C:\Qt\4.6. 2\configure.exe -platform win32-msvc2005 -xplatform wincewm50pocket-msvc2005 -release65 C:\Qt\4.6.3\configure.exe -platform win32-msvc2005 -xplatform wincewm50pocket-msvc2005 -release 66 66 //! [4] 67 67 -
trunk/doc/src/snippets/code/src_corelib_kernel_qobject.cpp
r651 r769 375 375 [WRITE setFunction] 376 376 [RESET resetFunction] 377 [NOTIFY notifySignal] 377 378 [DESIGNABLE bool] 378 379 [SCRIPTABLE bool] 379 380 [STORED bool] 380 [USER bool]) 381 [USER bool] 382 [CONSTANT] 383 [FINAL]) 381 384 //! [36] 382 385 -
trunk/doc/src/snippets/code/src_corelib_tools_qscopedpointer.cpp
r651 r769 129 129 130 130 // this QScopedPointer frees its data using free(): 131 QScopedPointer<int, QScopedPointerPodDeleter <int>> podPointer(reinterpret_cast<int *>(malloc(42)));131 QScopedPointer<int, QScopedPointerPodDeleter> podPointer(reinterpret_cast<int *>(malloc(42))); 132 132 133 133 // this struct calls "myCustomDeallocator" to delete the pointer
Note:
See TracChangeset
for help on using the changeset viewer.