锘??xml version="1.0" encoding="utf-8" standalone="yes"?>久久性生大片免费观看性,99热成人精品免费久久,一本久久知道综合久久http://www.shnenglu.com/hkingSP/category/21382.htmlzh-cnSun, 27 Sep 2020 08:49:02 GMTSun, 27 Sep 2020 08:49:02 GMT60QT_VS2005_CE6.0_寮鍙戠幆澧冩灦璁?/title><link>http://www.shnenglu.com/hkingSP/archive/2019/03/08/216291.html</link><dc:creator>瀹嬮箯</dc:creator><author>瀹嬮箯</author><pubDate>Fri, 08 Mar 2019 06:30:00 GMT</pubDate><guid>http://www.shnenglu.com/hkingSP/archive/2019/03/08/216291.html</guid><wfw:comment>http://www.shnenglu.com/hkingSP/comments/216291.html</wfw:comment><comments>http://www.shnenglu.com/hkingSP/archive/2019/03/08/216291.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/hkingSP/comments/commentRss/216291.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/hkingSP/services/trackbacks/216291.html</trackback:ping><description><![CDATA[<div><p>銆奞T_VS2005_CE6.0_寮鍙戠幆澧冩灦璁俱?br />1銆佸熀紜鐜錛?br />鎿嶄綔緋葷粺錛歐indows XP<br />緙栬瘧鍣細錛?錛塚S2005 VC鐜 錛?錛塚S2005 SP1<br />錛圫P1 蹇呴』鏈夛紝浠ユ彁渚汣E騫沖彴鐨勬敮鎸侊紝娌℃湁鐨勮瘽錛孉rm Emulator鐨勭▼搴忕紪璇戜笉榪囷紝妯℃嫙鍣ㄤ篃鎶ラ敊“EmulatorStub.exe涓ラ噸閿欒”錛?br />QT鐗堟湰錛歲t-everywhere-opensource-src-4.8.6.zip<br />CE SDK錛欰RM Emulator<br /><br />2銆佸畨瑁呮楠わ細<br />錛?錛夋妸QT婧愮爜瑙e帇鍒癊:\QT\4.8.6\CE6.0\Emulator<br />Tim錛氫釜浜烘帹鑽愭牴鐩綍錛屼笉甯︿換浣曚笅鍒掔嚎銆佺┖鏍肩瓑騫鴻浘瀛愶紝闃叉鍑洪敊銆傘?br />Tim錛?u>緇濆涓嶈兘甯︿笅鍒掔嚎</u>錛?br />鍏徃鐢佃剳涓婄殑鐩綍錛岃搗鍚嶅甫涓笅鍒掔嚎"4.8.6_ArmEmulator"錛岀粨鏋淰S2005鍒涘緩宸ョ▼澶辮觸錛岃緙哄皯騫沖彴鏀寔銆傘?br />Tim錛氫篃鏈濂戒綅浜嶤鐩橈紝鎴戞妸瀹墮噷鐢佃剳鐨勭紪璇戠増鏈紝鏀懼埌鍏徃鐢佃剳鐨凜鐩橈紝鍒涘緩欏圭洰鎴愬姛錛屽師鏉ョ殑鍏徃鐗堟湰鍦‥鐩橈紝浼氬け璐ャ傘備笉鐭ラ亾鏄笉鏄敊瑙夈傘?br />錛?錛夎繘鍏?#8220;Visual Studio 2005 鍛戒護鎻愮ず”<br />浣嶇疆鏄?#8220;寮濮嬭彍鍗?>鎵鏈夌▼搴?>Microsoft Visual Studio 2005->Visual Studio Tools->Visual Studio 2005 鍛戒護鎻愮ず”銆傘?br />鐒跺悗鍒囨崲鍒扮紪璇戠洰褰曪細E:\QT\4.8.6\CE6.0\Emulator<br />錛?錛夋墽琛屼互涓嬪懡浠わ細<br />configure -platform win32-msvc2005 -xplatform wince60standard-armv4i-msvc2005<br />①濡傛灉鎯寵妭鐪佹椂闂達紝閮ㄥ垎緙栬瘧錛?br />[-debug-and-release] 緙栬瘧鍜岄摼鎺ヤ袱涓増鏈殑Qt<br />[-nomake examples]<br />[-nomake demos]<br />[-nomake docs]<br />[-no-multimedia] <br />[-no-phonon] <br />[-no-phonon-backend] <br />[-no-media-backend] <br />[-no-audio-backend] <br />[-no-openssl]<br />[-no-gtkstyle] <br />[-no-svg] <br />[-no-webkit]  鏄惁緙栬瘧Web鐩稿叧鐨勪竴浜決T瀛愬簱錛屽姞涓婅繖涓彲浠ョ渷涓嶅皯緙栬瘧鏃墮棿錛屽氨鐪嬩綘鏄惁鍑嗗鐢ㄨ繖浜涘簱浜嗐?br />[-no-javascript-jit] <br />[-no-script]<br />[-no-scripttools] <br />[-no-sql-sqlite]<br />[-no-declarative]<br />[-no-declarative-debug] <br />Tim錛氫互涓婂彲閫夐」鍧囨湭璇曢獙銆傘?<br />Tim錛?br />鍙堟妱鏉ヤ竴涓紪璇慦IN32 VS2005璁劇疆鐨勶細<br />configure -fast -platform win32-msvc2005  -nomake examples -nomake docs -nomake demos -no-webkit -no-phonon -no-phonon-backend -no-multimedia<br />Tim錛?br />4.8.6鐗堢殑錛屼笉綆℃庝箞緙栬瘧錛岄兘浼氬嚭閿欍傘?br />①絎竴涓敊璇紝淇敼濡備笅錛?br />qclipboard_win.cpp 絎?06琛岋細<br />鎶婂嚭閿欑殑CheckRemoteDebuggerPresent錛岄氳繃鐗堟湰鍒ゆ柇鐨勬柟寮忥紝涓嶇紪璇戣繘鏉ャ傘?br />#if defined(_MSC_VER) && _MSC_VER <= 1400<br />    return false;<br />#else<br />........................<br />    CheckRemoteDebuggerPresent(processHandle, &debugged);<br />#endif<br />②絎簩涓敊璇細<br />緇х畫 nmake銆閬囧埌絎簩涓敊璇?br />     platform\DefaultLocalizationStrategy.cpp(327) : error C2001: newline in constant<br />     platform\DefaultLocalizationStrategy.cpp(327) : fatal error C1057: unexpected end of file in macro expansion<br />     榪欎釜閿欒鐨勫師鍥犳槸鍥犱負浠g爜閲岄潰鐨勯潪鑻辨枃鐨勫紩鍙烽犳垚鐨勩?br />    鍘熷鐨勯敊璇唬鐮佸涓嬶細<br />     return WEB_UI_STRING("Look Up “<selection>”", "Look Up context menu item with selected word").replace("<selection>", truncatedStringForLookupMenuItem(selectedString));<br />     澶у娉ㄦ剰銆<selection> 鍗曡瘝鍓嶅悗鐨勫紩鍙楓傚氨鏄畠閫犳垚緙栬瘧鎶ラ敊銆備慨鏀規垚涓嬮潰鐨勪唬鐮?br />    return WEB_UI_STRING("Look Up \"<selection>\"", "Look Up context menu item with selected word").replace("<selection>", truncatedStringForLookupMenuItem(selectedString));<br />Tim錛氫篃灝辨槸灝唖election涓や晶鐨勪腑鏂囧紩鍙烽偅閲屾敼鎴愪笂鏂囩殑鏍峰瓙錛屻傘傚鎬佸涔熺敤榪欑寮曞彿涔堛傘?br />錛?錛塩onfigure涔嬪悗璁劇疆鐜鍙橀噺錛?br />①浣跨敤Arm Emulator錛?br />set INCLUDE=C:/Program Files/Microsoft Visual Studio 8/VC/ce/include;C:\Program Files\Windows CE Tools\wce600\ARM_Emulator\Include\Armv4i<br />set LIB=C:/Program Files/Microsoft Visual Studio 8/VC/ce/lib/armv4i;C:/Program Files/Windows CE Tools/wce600/ARM_Emulator/Lib/armv4i<br />set PATH=C:/Program Files/Microsoft Visual Studio 8/VC/ce/bin/x86_arm;%PATH%<br />②濡傛灉浣跨敤S2416鐨凷DK錛?br />set INCLUDE=C:/Program Files/Microsoft Visual Studio 8/VC/ce/include;C:\Program Files\Windows CE Tools\wce600\SBC2416\Include\Armv4i<br />set LIB=C:/Program Files/Microsoft Visual Studio 8/VC/ce/lib/armv4i;C:/Program Files/Windows CE Tools/wce600/SBC2416/Lib/armv4i<br />set PATH=C:/Program Files/Microsoft Visual Studio 8/VC/ce/bin/x86_arm;%PATH%<br />鎵ц錛?br />nmake<br />Tim錛氭垜涓嬭澆鐨勬簮鐮?.8.6鍦╟onfigure涔嬪悗錛屽嚭鐜拌鐩磋錛歴etcepaths.bat wince600standard-armv4i-msvc2005 && nmake鐨勬彁紺猴紝鎴戜及璁′笉鐢ㄨ緗笂榪扮幆澧冨彉閲忥紝涔熸湁鍙兘鍙互鎴愬姛緙栬瘧錛屼絾涓嶅啋閭d釜闄╋紝鐩存帴鎸夌収鏂囩珷鎺ㄨ崘鐨勬楠ゆ潵銆傘?br />Tim錛氭垜榪愯setcepaths.bat錛岀粨鏋滄病鏈夐偅涓猄DK鍙湁wincewm60standard-armv4i-msvc2005錛岃屼笖閭d釜BAT閲岄潰錛屽彧鏄繍琛屼簡check sdk鐨勫姩浣溿傘傛墍浠ョ粨璁烘槸鎸夌収鎺ㄨ崘鏂囩珷鎸囧畾SDK鐨勮礬寰勶紝nmake搴旇灝卞彲浠ャ傘?br />Tim錛氱敤浣滆呯殑鏂規錛孨make緙栬瘧鎴愬姛銆傘?br />錛?錛夊畨瑁卶t-vs-addin錛?br />瀹夎“qt-vs-addin-1.1.10.exe”銆傘?br />Tim錛?#8220;qt-vs-addin-1.2.0-opensource.exe 錛屽氨寮濮嬩笉鏀寔VS2005銆傘?#8221;鏃犺銆傘?br />錛?錛変慨鏀筍DK鐨勫悕縐幫細<br />緙栬緫" C:\QT\CE6.0\4.8.6\mkspecs\wince60standard-armv4i-msvc2005\qmake.conf "銆傘?br />灝嗛噷闈㈢殑<br />CE_SDK  = STANDARDSDK_600<br />鍙樻洿涓?br />CE_SDK  = ARM_Emulator<br />Tim錛氬洜涓哄師濮嬬紪璇戠殑SDK鐜錛屽畠鍚嶇О鍙仛"wince600standard-armv4i-msvc2005"錛孉rm Emulator鐨勫簱璺熻繖涓幆澧冧篃鏄竴鏍風殑錛屼絾鏄悕縐頒笉涓鏍鳳紝Qt鎻掍歡浼氭姤閿欍傘?br />錛?錛夊寘鍚幆澧冨彉閲忥細<br />①Arm_Emulator鐨勮瘽錛?br />鍦╒S2005 -> Tool -> Options -> VC++ Directories -> Arm_Emulator閲岄潰錛?br />Include澧炲姞錛? C:\QT\4.8.6\CE6.0\Emulator\include "銆傘?br />Library澧炲姞錛? C:\QT\4.8.6\CE6.0\Emulator\lib " 銆傘?br />Tim錛氭垜涓寮濮嬪氨娌″寘鍚紝緇撴灉緙栬瘧鍒漢鐨勪唬鐮侊紝鎶ラ敊娌℃湁" QtSql "銆傘?br />②WIN32緙栬瘧鐨勮瘽錛?br />鍦╒S2005 -> Tool -> Options -> VC++ Directories -> Win32閲岄潰錛?br />Include澧炲姞錛? C:\QT\4.8.6\WIN32\include "銆傘?br />Library澧炲姞錛? C:\QT\4.8.6\WIN32\lib " 銆傘?br />Tim錛?br />涓轟簡璁¬isual Assist鏇村ソ鐨勮瘑鍒玅T鐨勫嚱鏁板悕銆佺被鍚嶏紝鏈濂藉湪VS2005閲岄潰澶氭坊鍔犱竴浜涚洰褰曞錛?br />C:\QT\4.8.6\WIN32\src<br />C:\QT\4.8.6\WIN32\include\Qt<br />C:\QT\4.8.6\WIN32\include\QtCore<br />C:\QT\4.8.6\WIN32\include\QtGui<br />錛?錛夊紑鍚疉rm Emulator錛?br />Tool -> Connect to Device -> Arm Emulator Device銆傘?br />錛?錛夋柊寤轟竴涓猀T宸ョ▼錛岀紪璇戙佽繍琛岋細<br />寮鍚疺S2005 -> File -> New -> Project -> Qt4 Projects -> Qt Window CE Application -> 閮介夐粯璁よ緗紝鐒跺悗緙栬瘧銆侀儴緗層佹墽琛岋紝鏈鍚庢垚鍔熷湪Arm Emulator閲岄潰寮瑰嚭涓璇濇鏉ワ紙OK錛夈傘?br />Tim錛氱湅鍒伴儴緗茬殑鏃跺欙紝鐢ㄤ簡VS2005鐨勫簱錛坢svcr80d.dll錛夛紝榪樻湁QT鐨勪袱涓変釜搴擄紙QtCored4.dll銆丵tGuid4.dll浠涔堢殑錛夈傘?br />錛?0錛夌紪杈?.ui鏂囦歡錛岃璁$晫闈細<br />瀹夎" qt-creator-opensource-windows-x86-3.3.0.exe "錛屾墠鑳芥墦寮" *.ui "鏂囦歡錛屼粠鑰屽彉鏇寸晫闈€傘?br />Tim錛氱湅浜嗕笅.ui鏂囦歡鍏跺疄鏄竴涓獂ml緇撴瀯鐨勬枃妗c傘?br />Tim錛?br />" qt-creator-opensource-windows-x86-3.0.0.exe " Based on Qt5.2.0 ( MSVC2010,32 bit )銆傘?br />" qt-creator-opensource-windows-x86-3.3.0.exe " Based on Qt5.4.0 ( MSVC2010,32 bit )銆傘傘傘?br /><br /><br /><br /><br /><br /><br /><br /></p></div><img src ="http://www.shnenglu.com/hkingSP/aggbug/216291.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/hkingSP/" target="_blank">瀹嬮箯</a> 2019-03-08 14:30 <a href="http://www.shnenglu.com/hkingSP/archive/2019/03/08/216291.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Qt5.10.1 static compiling on Windows MSVC/Ubuntu g++http://www.shnenglu.com/hkingSP/archive/2019/03/08/216289.html瀹嬮箯瀹嬮箯Fri, 08 Mar 2019 03:00:00 GMThttp://www.shnenglu.com/hkingSP/archive/2019/03/08/216289.htmlhttp://www.shnenglu.com/hkingSP/comments/216289.htmlhttp://www.shnenglu.com/hkingSP/archive/2019/03/08/216289.html#Feedback0http://www.shnenglu.com/hkingSP/comments/commentRss/216289.htmlhttp://www.shnenglu.com/hkingSP/services/trackbacks/216289.html鐜錛歐indows10 / vs2013 or vs2015錛圦t5.10.1鏄互C++11涓哄熀紜錛屽洜姝s2008姝囪彍浜嗭級鍙傝冧唬鐮侀噷鐨凴eadme錛?br />
1.瀹夎錛?/strong>
瀹夎浜唒erl/python2.7/ruby 
瀹夎浜唙s2015

2.鐜鍙橀噺
add C:\Perl\bin to PERL_HOME
add %PERL_HOME% to path
add C:\Python27 to PYTHON_HOME
add %PYTHON_HOME% to path
add C:\Ruby26\bin to RUBY_HOME
add %RUBY_HOME% to path
add C:\Qt\Qt5.10.1\5.10.1\msvc2015\bin to QT_LIB_HOME
add %QT_LIB_HOME% to path
add C:\Qt\Qt5.10.1\Tools\QtCreator\bin to QT_CREATOR_HOME
add %QT_CREATOR_HOME% to path
娉ㄦ剰錛氬儚瀹樻柟鎺ㄨ崘鐨勪竴鏍鳳紝榪欓噷鏈濂界敤鍚屼竴鐗堟湰鐨刡inary瀹夎鐨凲t姣旇緝瀹夎銆?br />娉ㄦ剰錛氬鏋滆繖閲屾病鏈夋坊鍔燪T鐨勮礬寰勶紝灝變細琚帹鑽愮敤nmake緙栬瘧錛屽惁鍒欒鎺ㄨ崘鐢╦om緙栬瘧銆?/div>3.浠g爜錛?/strong>
浠g爜瑙e帇緙╁埌C:\Qt\Qt5.10.1_src
浜庢槸Configure鏂囦歡鍦細
C:\Qt\Qt5.10.1_src

qtbase鏂囦歡澶瑰湪錛?br />
C:\Qt\Qt5.10.1_src\qtbase

4.淇敼閰嶇疆浠嶮D鍒癕T錛堝姩鎬侀摼鎺ユ敼涓洪潤鎬侀摼鎺ワ級錛?/strong>
淇敼鏂囦歡錛?br />C:\Qt\Qt5.10.1_src\qtbase\mkspecs\common\msvc-desktop.conf
淇敼涓嬮潰鍑犺浠g爜錛?/div>
QMAKE_CFLAGS_RELEASE    = $$QMAKE_CFLAGS_OPTIMIZE -MD
QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += $$QMAKE_CFLAGS_OPTIMIZE -Zi -MD
QMAKE_CFLAGS_DEBUG      = -Zi -MDd
鏀逛負錛?br />
QMAKE_CFLAGS_RELEASE    = $$QMAKE_CFLAGS_OPTIMIZE -MT
QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += $$QMAKE_CFLAGS_OPTIMIZE -Zi -MT
QMAKE_CFLAGS_DEBUG      = -Zi -MTd

淇敼鏂囦歡錛?br />C:\Qt\Qt5.10.1_src\qtbase\mkspecs\common\msvc-version.conf
鍦ㄦ渶鍓嶉潰鍔犱笂錛?br />
QMAKE_MSC_VER = 1900
鍚﹀垯浼氭姤閿欙細
msvc-version.conf loaded but qmake_msc_ver isn't set

榪愯C:\Qt\Qt5.10.1_src>configure.bat 紜閰嶇疆
5.緙栬瘧錛?/strong>
<license>閫夋嫨-opensource
鎺у埗鍙伴夋嫨錛?/strong>
寮濮?-> Visual Studio 2015 -> Developer Command Prompt for VS2015 
緙栬瘧閫夋嫨錛?br />
 -skip <repo> ......... Exclude an entire repository from the build.
Ex:
-skip qtwebengine
C:\Qt\Qt5.10.1_src\qtwebengine
-nomake <part> ....... Exclude <part> from the list of parts to be built.
Ex:
-nomake tools -nomake examples -nomake tests
C:\Qt\Qt5.10.1_src\qtbase\tests
-make <part> ......... Add <part> to the list of parts to be built.
                                Specifying this option clears the default list first.
                                [libs and examples, also tools if not cross-building,
                                also tests if -developer-build]
-make libs -qt-zlib -qt-pcre -qt-libpng
Ex錛?br />
C:\Qt\Qt5.10.1_src\qtbase\src\3rdparty\zlib

鐤媯鐨勭緝鍑忕紪璇戦夋嫨錛屽彲浠ョ敤鏉ュ皾璇曟渶灝忓寲緙栬瘧錛?span style="color: red;">褰撶劧鎴戝け璐ヤ簡錛?comercial user 鍙互鐢╭t鐨凜ongiguration tool 鐒惰屾垜騫舵病鏈夛紝鏈変簺浠ユ潵鏃犳硶zh錛?/strong>錛?br />
configure -confirm-license -opensource -platform win32-msvc -static -debug-and-release -prefix "C:\Qt\Qt5.10.1_static"  -make libs -nomake tools -nomake examples -nomake tests -skip qt3d -skip qtandroidextras -skip qtcanvas3d -skip qtcharts -skip qtconnectivity -skip qtdatavis3d -skip qtdeclarative -skip qtdoc -skip qtgamepad -skip qtgraphicaleffects -skip qtimageformats -skip qtlocation -skip qtmacextras -skip qtmultimedia -skip qtnetworkauth -skip qtpurchasing -skip qtquickcontrols -skip qtquickcontrols2 -skip qtscript -skip qtscxml -skip qtsensors -skip qtserialbus -skip qtserialport -skip qtspeech -skip qtsvg -skip qttools -skip qttranslations -skip qtvirtualkeyboard -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebsockets -skip qtwebview -skip qtwinextras -skip qtx11extras -skip qtxmlpatterns -no-feature-texthtmlparser -no-feature-textodfwriter -no-feature-concurrent -no-feature-effects -no-feature-sharedmemory -no-feature-systemsemaphore -no-feature-im -no-feature-process -no-feature-dom -no-feature-filesystemmodel -no-feature-filesystemwatcher -no-feature-graphicsview -no-feature-graphicseffect -no-feature-sizegrip -no-feature-calendarwidget -no-feature-printpreviewwidget -no-feature-keysequenceedit -no-feature-colordialog -no-feature-filedialog -no-feature-fontdialog -no-feature-printpreviewdialog -no-feature-progressdialog -no-feature-inputdialog -no-feature-errormessage -no-feature-wizard -no-feature-datawidgetmapper -no-feature-imageformat_bmp -no-feature-imageformat_ppm -no-feature-imageformat_xbm -no-feature-imageformat_png -no-feature-imageformat_jpeg -no-feature-image_heuristic_mask -no-feature-image_text -no-feature-colornames -no-feature-cups -no-feature-paint_debug -no-feature-freetype -no-feature-translation -no-feature-codecs -no-feature-big_codecs -no-feature-iconv -no-feature-ftp -no-feature-udpsocket -no-feature-networkproxy -no-feature-socks5 -no-feature-networkdiskcache -no-feature-bearermanagement -no-feature-completer -no-feature-fscompleter -no-feature-desktopservices -no-feature-mimetype -no-feature-systemtrayicon -no-feature-undocommand -no-feature-undostack -no-feature-undogroup -no-feature-undoview -no-feature-statemachine -no-feature-gestures -no-feature-dbus -no-opengl 

鎴愬姛鐨勭粍鍚?錛堟兂緙栬瘧鍝釜 灝卞幓鎺夊摢涓猻kip錛夛細
configure -confirm-license -opensource -platform win32-msvc -static -debug-and-release -prefix "C:\Qt\Qt5.10.1_mt_static" -make libs -nomake tools -nomake examples -nomake tests -skip qt3d -skip qtandroidextras -skip qtcanvas3d -skip qtcharts -skip qtconnectivity -skip qtdatavis3d -skip qtdeclarative -skip qtdoc -skip qtgamepad -skip qtgraphicaleffects -skip qtimageformats -skip qtlocation -skip qtmacextras -skip qtmultimedia -skip qtnetworkauth -skip qtpurchasing -skip qtquickcontrols -skip qtquickcontrols2 -skip qtscript -skip qtscxml -skip qtsensors -skip qtserialbus -skip qtserialport -skip qtspeech -skip qtsvg -skip qttools -skip qttranslations -skip qtvirtualkeyboard -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebsockets -skip qtwebview -skip qtwinextras -skip qtx11extras -skip qtxmlpatterns -no-opengl 
灝濊瘯2錛?br />
configure -confirm-license -opensource -platform win32-msvc -static -debug-and-release -prefix "C:\Qt\Qt5.10.1_mt_static" -make libs -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -qt-freetype -opengl desktop -nomake tools -nomake examples -nomake tests -skip qtandroidextras -skip qtgamepad -skip qtmacextras -skip qttools -skip qtwinextras -skip qtx11extras  -no-openssl 
Note: No wayland-egl support detected. Cross-toolkit compatibility disabled.
緇撴灉錛?br />
Static builds of QtWebEngine aren't supported.
"Some of the required modules (android|ios|winrt|qtHaveModule(webengine)) are not available."
skip webengine 緇х畫嫻嬭瘯錛?br />
configure -confirm-license -opensource -platform win32-msvc -static -debug-and-release -prefix "C:\Qt\Qt5.10.1_mt_static" -make libs -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -qt-freetype -opengl desktop -nomake tools -nomake examples -nomake tests -skip qtandroidextras -skip qtgamepad -skip qtmacextras -skip qttools -skip qtwebengine -skip qtwinextras -skip qtx11extras  -no-openssl 
緇撴灉錛?br />鎴愬姛

鎴愬姛鐨勭粍鍚?錛?/strong>
configure -confirm-license -opensource -platform win32-msvc -static -debug-and-release -prefix "C:\Qt\Qt5.10.1_mt_static" -make libs -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -qt-freetype -opengl desktop -nomake tools -nomake examples -nomake tests -skip qtandroidextras -skip qtgamepad -skip qtmacextras -skip qttools -skip qtwebengine -skip qtwinextras -skip qtx11extras  -no-openssl 
鎴愬姛鐨勭粍鍚?鍙槸鍦ㄥ崟鐙紪璇憅tbase鏃舵湁鐢紝浜庢槸浠ュ悗閲囩敤鐨勬垚鍔熺殑緇勫悎2錛屾葷粨鍛戒護涓猴細
cd C:\Qt\Qt5.10.1_src
configure -confirm-license -opensource -platform win32-msvc -static -debug-and-release -prefix "C:\Qt\Qt5.10.1_mt_static" -make libs -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -qt-freetype -opengl desktop -nomake tools -nomake examples -nomake tests -skip qtandroidextras -skip qtgamepad -skip qtmacextras -skip qttools -skip qtwebengine -skip qtwinextras -skip qtx11extras  -no-openssl 
jom -j2
jom install

plus1:
WARNING: Using OpenGL ES 2.0 on Windows without ANGLE.
The build will most likely fail.
Specify -opengl desktop to use regular OpenGL.

plus2:
-skip qtwebengine , 閮芥槸Linux only
Webengine options:
  -webengine-alsa ................ Enable ALSA support [auto] (Linux only)
  -webengine-pulseaudio .......... Enable PulseAudio support [auto]
                                   (Linux only)
  -webengine-embedded-build ...... Enable Linux embedded build [auto]
                                   (Linux only)
  -webengine-icu ................. Use system ICU libraries [system/qt]
                                   (Linux only)

plus3:
Static builds of QtWebEngine aren't supported.

鐜錛歎buntu 18.10/linux g++


1.瀹夎錛?/strong>
瀹夎浜唒erl/python/ruby ( Linux 涓?python2.x 鐨勫悕瀛楁槸python python3.x鐨勫悕瀛楁槸python3 )
緇熶竴瀹夎錛?br />

sudo apt-get install build-essential libpcap0.8-dev libx11-dev libfreetype6-dev libavahi-gobject-dev libsm-dev libxrender-dev perl python ruby


2.鐜鍙橀噺錛?/strong>
linux鐨勭幆澧冨彉閲?鍙涓嶆槸鐗規畩瀹夎鐨勶紝搴旇閮借鍖呭惈鍦ㄥ唴浜?br />
3.浠g爜錛?/strong>
鍚屼笂

4.鍔ㄦ侀摼鎺ユ敼涓洪潤鎬侀摼鎺ワ細
linux娌℃湁md/mt錛岀紪璇戦兘鏃跺?鐩存帴-static搴旇灝卞彲浠ャ?br />
5.緙栬瘧錛?/strong>
灝濊瘯鐨勭粍鍚?:
./configure -confirm-license -opensource -static -debug-and-release -prefix "/home/peng/Share/Qt5.10.1_static" -make libs -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -qt-freetype -opengl desktop -nomake tools -nomake examples -nomake tests -skip qtandroidextras -skip qtgamepad -skip qtmacextras -skip qttools -skip qtwebengine -skip qtwinextras -no-openssl 
緙栬瘧鍑洪敊錛?br />
qfilesystemengine_unix.cpp:101:12: error: ‘int renameat2(int, const char*, int, const char*, unsigned int)’ was declared ‘extern’ and later ‘static’ [-fpermissive]
bug fix錛?br />榪欐槸璺焔libc2.28鏈夊叧鐨刡ug銆傘傜敱浜庡師鏉ョ殑patch宸茬粡瀵逛笉涓婂彿錛屾墍浠ュ垏鎹㈠埌5.10 鎴栬?.11

灝濊瘯鐨勭粍鍚?錛坕n qt 5.11錛?
./configure -confirm-license -opensource -static -debug-and-release -prefix "/home/peng/Share/Qt5.10.1_static" -make libs -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -qt-freetype -opengl desktop -nomake tools -nomake examples -nomake tests -skip qtandroidextras -skip qtgamepad -skip qtmacextras -skip qttools -skip qtwebengine -skip qtwinextras -no-openssl 
configure鎵ц鍑洪敊錛?br />
WARNING: -debug-and-release is only supported on Darwin and Windows platforms.  Qt can be built in release mode with separate debug information, so -debug-and-release is no longer necessary.
ERROR: Feature 'debug_and_release' was enabled, but the pre-condition 'config.darwin || config.win32' failed.
灝濊瘯鐨勭粍鍚?錛坕n qt 5.11錛?
./configure -confirm-license -opensource -static -force-debug-info -prefix "/home/peng/Share/Qt5.11_static" -make libs -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -qt-freetype -opengl desktop -nomake tools -nomake examples -nomake tests -skip qtandroidextras -skip qtgamepad -skip qtmacextras -skip qttools -skip qtwebengine -skip qtwinextras -no-openssl 
緙栬瘧鍑洪敊錛?br />
collect2: fatal error: ld terminated with signal 9 [Killed]
compilation terminated.
make[3]: *** [Makefile:135: ../../bin/qml] Error 1
make[3]: Leaving directory '/home/peng/qt5/qt5/qtdeclarative/tools/qml'
make[2]: *** [Makefile:155: sub-qml-make_first] Error 2
make[2]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/home/peng/qt5/qt5/qtdeclarative/tools/qmlpreview'
make[2]: Leaving directory '/home/peng/qt5/qt5/qtdeclarative/tools'
make[1]: *** [Makefile:75: sub-tools-make_first] Error 2
make[1]: Leaving directory '/home/peng/qt5/qt5/qtdeclarative'
make: *** [Makefile:159: module-qtdeclarative-make_first] Error 2

灝濊瘯鐨勭粍鍚?錛堟垚鍔熺殑緇勫悎錛?/strong>錛坕n qt 5.11錛?
./configure -confirm-license -opensource -static -force-debug-info -prefix "/home/peng/Share/Qt5.11_static" -make libs -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -qt-freetype -opengl desktop -nomake tools -nomake examples -nomake tests -skip qtandroidextras -skip qtgamepad -skip qtmacextras -skip qttools -skip qtwebengine -skip qtwinextras -skip qtdeclarative  -no-openssl 
make -j2
make install
緇撴灉錛?br />鎴愬姛銆?/div>

5.10.1鐨勫叧浜巊libc鐨剅enameat鐨刡ug錛岃瀹樻柟鍦?.11鐨刡ranch閲屼慨澶嶅涓嬶細
commit 25feee4e061b99edab79503d81f5bd045c6c8e3d
Author: Thiago Macieira <thiago.macieira@intel.com>
Date:   Tue Aug 7 09:38:42 2018 -0700
    Fix qmake build with glibc 2.28
    
    We haven't yet run the configure checks to see if statx and renameat2
    are present in glibc, so this fails when we redefine the structures and
    functions.
    
    linux/stat.h:56:8: error: redefinition of 'struct statx_timestamp'
    bits/statx.h:25:8: note: previous definition of 'struct statx_timestamp'
    qfilesystemengine_unix.cpp:110:12: error: 'int renameat2(int, const char*, int, const char*, unsigned int)' was declared 'extern' and later 'static' [-fpermissive]
    
    Change-Id: Ia741b559c24d46c78fb2fffd1548a792d22e3368
    Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
    Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>

鐜錛歎buntu 18.04/浜ゅ弶緙栬瘧 arm


1.瀹夎錛?/strong>
瀹夎浜唒erl/python/ruby ( Linux 涓?python2.x 鐨勫悕瀛楁槸python python3.x鐨勫悕瀛楁槸python3 )
緇熶竴瀹夎錛?br />

sudo apt-get install build-essential libpcap0.8-dev libx11-dev libfreetype6-dev libavahi-gobject-dev libsm-dev libxrender-dev perl python ruby gcc-multilib g++-multilib

sudo apt-get install libxkbcommon-x11-dev libxkbcommon-dev libxcb-xkb-dev libxcb-cursor-dev libxcb1-dev libxcb-xtest0-dev libx11-xcb-dev
for opengl desktop:
sudo apt install 
libgl1-mesa-dev

for opengl es2:
sudo apt-get install libglfw3-dev libgles2-mesa-dev


2. 閰嶇疆
./configure -recheck-all -confirm-license -opensource -xplatform linux-arm-gnueabihf-g++ -I /usr/arm-linux-gnueabihf/include -L /usr/lib/arm-linux-gnueabihf/ -L /lib/arm-linux-gnueabihf/ -L /usr/arm-linux-gnueabihf/lib/ -nomake tests -skip qtandroidextras -skip qtgamepad -skip qtmacextras -skip qtwebengine -skip qtwinextras -opengl es2 -qt-xcb -no-kms -prefix \"${PWD}/../qt-everywhere-install\"                       

鍙傝冩枃鐚細
https://retifrav.github.io/blog/2018/02/17/build-qt-statically/
https://blog.csdn.net/u012822903/article/details/62058287


瀹嬮箯 2019-03-08 11:00 鍙戣〃璇勮
]]> 精品久久久久久无码人妻热| 久久人人爽人人爽人人AV东京热| 久久婷婷综合中文字幕| 国产呻吟久久久久久久92| 久久毛片一区二区| 国产高潮国产高潮久久久| 久久精品国产精品亚洲| 久久久一本精品99久久精品88| 97久久香蕉国产线看观看| 精品久久人人爽天天玩人人妻| 久久无码AV一区二区三区| 国产精品久久网| 久久无码专区国产精品发布| 99久久婷婷国产综合精品草原| 超级97碰碰碰碰久久久久最新| A级毛片无码久久精品免费| 日日狠狠久久偷偷色综合96蜜桃| 久久国产热精品波多野结衣AV | 久久久久久亚洲精品不卡| 久久久久亚洲av综合波多野结衣| 国产女人aaa级久久久级| 久久精品欧美日韩精品| 久久丫忘忧草产品| 久久久久久国产a免费观看不卡| 久久综合九色综合97_久久久| 亚洲国产精品无码久久久秋霞2| 一级做a爰片久久毛片免费陪| 国内精品久久久久久久久电影网| 丰满少妇高潮惨叫久久久| 亚洲av成人无码久久精品| 欧美成人免费观看久久| 久久人人爽人人爽AV片| 国产亚洲精久久久久久无码AV| 久久久久久久综合日本亚洲 | 2020最新久久久视精品爱 | 久久人爽人人爽人人片AV| 午夜精品久久久久久影视777| 久久精品国产精品亚洲人人 | 国产精品久久免费| 精品久久一区二区三区| 久久精品国产精品国产精品污|