锘??xml version="1.0" encoding="utf-8" standalone="yes"?>国产激情久久久久久熟女老人,亚洲国产精品久久久久久,中文成人久久久久影院免费观看http://www.shnenglu.com/hkingSP/zh-cnWed, 07 May 2025 20:34:44 GMTWed, 07 May 2025 20:34:44 GMT60git rebase 鍒版洿鏂扮殑masterhttp://www.shnenglu.com/hkingSP/archive/2021/04/02/217650.html瀹嬮箯瀹嬮箯Fri, 02 Apr 2021 06:33:00 GMThttp://www.shnenglu.com/hkingSP/archive/2021/04/02/217650.htmlhttp://www.shnenglu.com/hkingSP/comments/217650.htmlhttp://www.shnenglu.com/hkingSP/archive/2021/04/02/217650.html#Feedback0http://www.shnenglu.com/hkingSP/comments/commentRss/217650.htmlhttp://www.shnenglu.com/hkingSP/services/trackbacks/217650.html1. Assume the following history exists and the current branch is "topic":
          A---B---C topic
         /
 D---E---F---G master

From this point, the result of either of the following commands:
git rebase master
git rebase master topic

would be:
                     A'--B'--C' topic
                    /
 D---E---F---G master

2. git rebase 榪囩▼涓細
鍦ㄤ慨鏀瑰畬闇瑕乵erge鐨勬枃浠跺悗錛岀敤git add鍜実it status鏉ョ‘璁ebase鐘舵侊紝鐒跺悗鍐峠it rebase --continue 


瀹嬮箯 2021-04-02 14:33 鍙戣〃璇勮
]]>
git tag and git describe a specified path/commits/tagshttp://www.shnenglu.com/hkingSP/archive/2021/01/13/217569.html瀹嬮箯瀹嬮箯Wed, 13 Jan 2021 02:40:00 GMThttp://www.shnenglu.com/hkingSP/archive/2021/01/13/217569.htmlhttp://www.shnenglu.com/hkingSP/comments/217569.htmlhttp://www.shnenglu.com/hkingSP/archive/2021/01/13/217569.html#Feedback0http://www.shnenglu.com/hkingSP/comments/commentRss/217569.htmlhttp://www.shnenglu.com/hkingSP/services/trackbacks/217569.html1. Create a tag with patterned name
git tag "tagname_v1.02"
(one tag is pointed to a specified commit)
2. get tag describe to use in software version name
git describe --tags --long --dirty=* --match "tagname*"
> tagname_v1.02-0-g59584af

3. push tag name to remote repo
git push origin <branchname> --tags


瀹嬮箯 2021-01-13 10:40 鍙戣〃璇勮
]]>
unix/windows鍥炶濺闂(\r\n or \n) or shell鑴氭湰鎵ц閿欒 $'\r':command not foundhttp://www.shnenglu.com/hkingSP/archive/2019/10/25/216956.html瀹嬮箯瀹嬮箯Fri, 25 Oct 2019 02:41:00 GMThttp://www.shnenglu.com/hkingSP/archive/2019/10/25/216956.htmlhttp://www.shnenglu.com/hkingSP/comments/216956.htmlhttp://www.shnenglu.com/hkingSP/archive/2019/10/25/216956.html#Feedback0http://www.shnenglu.com/hkingSP/comments/commentRss/216956.htmlhttp://www.shnenglu.com/hkingSP/services/trackbacks/216956.htmlunix/windows鍥炶濺闂
shell鑴氭湰鎵ц閿欒 $'\r':command not found
瀛樼幇榪欑閿欒鏄洜涓?緙栧啓鐨?nbsp; shell鑴氭湰鏄湪win涓嬬紪鍐欑殑錛屾瘡琛岀粨灝炬槸\r\n 鐨刄nix 緇撴灉琛屾槸\n  
鎵浠ュ湪Linux涓嬭繍琛岃剼鏈?浼氫換鍔r 鏄竴涓瓧絎︼紝鎵浠ヨ繍琛岄敊璇紝闇瑕佹妸鏂囦歡杞崲涓嬨?/div>
1.鍗曚釜鏂囦歡杞崲錛?/div>
榪愯鑴氭湰 
 dos2unix  鑴氭湰鍚?/div>
OK
2.鏁翠釜鐩綍涓殑鏂囦歡鍋歞os2unix鎿嶄綔:
$ find . -type f -exec dos2unix {} \;
鍏朵腑鍏蜂綋鍛戒護鐨勮В閲婂涓嬶細
find .
= find files in the current directory
-type f
= of type f
-exec dos2unix {} \;


瀹嬮箯 2019-10-25 10:41 鍙戣〃璇勮
]]>緙栬瘧 linux kernel package .kohttp://www.shnenglu.com/hkingSP/archive/2019/10/10/216905.html瀹嬮箯瀹嬮箯Thu, 10 Oct 2019 02:50:00 GMThttp://www.shnenglu.com/hkingSP/archive/2019/10/10/216905.htmlhttp://www.shnenglu.com/hkingSP/comments/216905.htmlhttp://www.shnenglu.com/hkingSP/archive/2019/10/10/216905.html#Feedback0http://www.shnenglu.com/hkingSP/comments/commentRss/216905.htmlhttp://www.shnenglu.com/hkingSP/services/trackbacks/216905.html宸ュ叿鍜屼唬鐮佸噯澶囷細 sudo apt-get install build-essential linux-source bc kmod cpio flex cpio libncurses5-dev
Full source: https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.4.167.tar.xz
t
ar xvf linux-4.4.167.tar.xz 媯鏌ユ灦鏋勶細
dpkg --print-architecture
鍐呮牳閰嶇疆錛? 浣跨敤arch/arm64/configs/defconfig涓嬮潰鐨勯粯璁ら厤緗繘琛岀紪璇?/strong>錛?br />make ARCH=arm64 defconfig `make oldconfig` reads the .config file in the current directory and prompts you about any new changes to the kernel:
make oldconfig&&make prepare&&make scripts ko浠g爜緙栬瘧錛?br />
make 4_4_167_smp_x64
媯鏌ersion magic錛? modinfo bizwsd.ko


瀹嬮箯 2019-10-10 10:50 鍙戣〃璇勮
]]>
vi 鍒濆璁劇疆錛屽垏鎹㈠埌闈炲吋瀹規ā寮忥紝闃叉涓婁笅鍙沖乏 鍙樻垚 ABCDhttp://www.shnenglu.com/hkingSP/archive/2019/09/06/216778.html瀹嬮箯瀹嬮箯Fri, 06 Sep 2019 01:40:00 GMThttp://www.shnenglu.com/hkingSP/archive/2019/09/06/216778.htmlhttp://www.shnenglu.com/hkingSP/comments/216778.htmlhttp://www.shnenglu.com/hkingSP/archive/2019/09/06/216778.html#Feedback0http://www.shnenglu.com/hkingSP/comments/commentRss/216778.htmlhttp://www.shnenglu.com/hkingSP/services/trackbacks/216778.htmlIf you don't already have a .vimrc file in your home directory, create one using this:

vim ~/.vimrc 

Add this line to the top of the file:

set nocompatible 

Save the file and this should fix the problem for you. :)

瑙i噴 浣曚負鍏煎妯″紡錛?br />鍒濊linux錛寁i 鍚姩鐨勬椂鍊欙紝浼氳繍琛屽湪鍏煎妯″紡錛屾鍏煎妯″紡鏄吋瀹筼ld vi錛屾墍浠ヤ細鏈夎繖縐嶆儏鍐點?br />姝ゆā寮忎笅錛屾墍鏈塿i鍚庢潵鐨勬敼榪涢兘鏄叧闂殑銆?br />



瀹嬮箯 2019-09-06 09:40 鍙戣〃璇勮
]]>
cl commandhttp://www.shnenglu.com/hkingSP/archive/2019/03/09/216292.html瀹嬮箯瀹嬮箯Sat, 09 Mar 2019 03:23:00 GMThttp://www.shnenglu.com/hkingSP/archive/2019/03/09/216292.htmlhttp://www.shnenglu.com/hkingSP/comments/216292.htmlhttp://www.shnenglu.com/hkingSP/archive/2019/03/09/216292.html#Feedback0http://www.shnenglu.com/hkingSP/comments/commentRss/216292.htmlhttp://www.shnenglu.com/hkingSP/services/trackbacks/216292.html鎼炴噦緙栬瘧榪囩▼ 緙栬瘧鍣ㄩ兘鍦ㄥ共鍢?br />
cl -I 鍖呭惈闇瑕佺殑鐩綍錛屽叾鍛戒護鐨勭粨灝懼線寰鏄竴涓?c鎴?cpp鏂囦歡銆?br />cl鍛戒護鍑洪敊錛屼竴鑸槸鏃犳硶鎵懼埌闇瑕佺殑澶存枃浠躲?/div>
闄勫綍錛歝l -help
                         C/C++ COMPILER OPTIONS
                              -OPTIMIZATION-
/O1 minimize space                      /O2 maximize speed
/Ob<n> inline expansion (default n=0)   /Od disable optimizations (default)
/Og enable global optimization          /Oi[-] enable intrinsic functions
/Os favor code space                    /Ot favor code speed
/Ox maximum optimizations               /Oy[-] enable frame pointer omission 
/favor:<blend|ATOM> select processor to optimize for, one of:
    blend - a combination of optimizations for several different x86 processors
    ATOM - Intel(R) Atom(TM) processors 
                             -CODE GENERATION-
/Gw[-] separate global variables for linker
/GF enable read-only string pooling     /Gm[-] enable minimal rebuild
/Gy[-] separate functions for linker    /GS[-] enable security checks
/GR[-] enable C++ RTTI                  /GX[-] enable C++ EH (same as /EHsc)
/guard:cf[-] enable CFG (control flow guard)
/EHs enable C++ EH (no SEH exceptions)  /EHa enable C++ EH (w/ SEH exceptions)
/EHc extern "C" defaults to nothrow     
/EHr always generate noexcept runtime termination checks
/fp:<except[-]|fast|precise|strict> choose floating-point model:
    except[-] - consider floating-point exceptions when generating code
    fast - "fast" floating-point model; results are less predictable
    precise - "precise" floating-point model; results are predictable
    strict - "strict" floating-point model (implies /fp:except)
/Qfast_transcendentals generate inline FP intrinsics even with /fp:except
/Qpar[-] enable parallel code generation
/Qpar-report:1 auto-parallelizer diagnostic; indicate parallelized loops
/Qpar-report:2 auto-parallelizer diagnostic; indicate loops not parallelized
/Qvec-report:1 auto-vectorizer diagnostic; indicate vectorized loops
/Qvec-report:2 auto-vectorizer diagnostic; indicate loops not vectorized
/GL[-] enable link-time code generation 
/volatile:<iso|ms> choose volatile model:
    iso - Acquire/release semantics not guaranteed on volatile accesses
    ms  - Acquire/release semantics guaranteed on volatile accesses
/GA optimize for Windows Application    /Ge force stack checking for all funcs
/Gs[num] control stack checking calls   /Gh enable _penter function call
/GH enable _pexit function call         /GT generate fiber-safe TLS accesses
/RTC1 Enable fast checks (/RTCsu)       /RTCc Convert to smaller type checks
/RTCs Stack Frame runtime checking      /RTCu Uninitialized local usage checks
/clr[:option] compile for common language runtime, where option is:
    pure - produce IL-only output file (no native executable code)
    safe - produce IL-only verifiable output file
    initialAppDomain - enable initial AppDomain behavior of Visual C++ 2002
    noAssembly - do not produce an assembly
    nostdlib - ignore the default \clr directory
/Gd __cdecl calling convention          /Gr __fastcall calling convention
/Gz __stdcall calling convention        /GZ Enable stack checks (/RTCs)
/Gv __vectorcall calling convention     /QIfist[-] use FIST instead of ftol()
/hotpatch ensure function padding for hotpatchable images
/arch:<IA32|SSE|SSE2|AVX|AVX2> minimum CPU architecture requirements, one of:
   IA32 - use no enhanced instructions and use x87 for floating point
   SSE - enable use of instructions available with SSE-enabled CPUs
   SSE2 - (default) enable use of instructions available with SSE2-enabled CPUs
   AVX - enable use of instructions available with AVX-enabled CPUs
   AVX2 - enable use of instructions available with AVX2-enabled CPUs
/Qimprecise_fwaits generate FWAITs only on "try" boundaries, not inside "try"
/Qsafe_fp_loads generate safe FP loads  
                              -OUTPUT FILES-
/Fa[file] name assembly listing file    /FA[scu] configure assembly listing
/Fd[file] name .PDB file                /Fe<file> name executable file
/Fm[file] name map file                 /Fo<file> name object file
/Fp<file> name precompiled header file  /Fr[file] name source browser file
/FR[file] name extended .SBR file       /Fi[file] name preprocessed file
/Fd: <file> name .PDB file              /Fe: <file> name executable file
/Fm: <file> name map file               /Fo: <file> name object file
/Fp: <file> name .PCH file              /FR: <file> name extended .SBR file
/Fi: <file> name preprocessed file      
/doc[file] process XML documentation comments and optionally name the .xdc file
                              -PREPROCESSOR-
/AI<dir> add to assembly search path    /FU<file> forced using assembly/module 
/C don't strip comments                 /D<name>{=|#}<text> define macro
/E preprocess to stdout                 /EP preprocess to stdout, no #line
/P preprocess to file                   /Fx merge injected code to file
/FI<file> name forced include file      /U<name> remove predefined macro
/u remove all predefined macros         /I<dir> add to include search path
/X ignore "standard places"             
                                -LANGUAGE-
/Zi enable debugging information        /Z7 enable old-style debug info
/Zp[n] pack structs on n-byte boundary  /Za disable extensions
/Ze enable extensions (default)         /Zl omit default library name in .OBJ
/Zs syntax check only                   /vd{0|1|2} disable/enable vtordisp
/vm<x> type of pointers to members      
/Zc:arg1[,arg2] C++ language conformance, where arguments can be:
  forScope[-]           enforce Standard C++ for scoping rules
  wchar_t[-]            wchar_t is the native type, not a typedef
  auto[-]               enforce the new Standard C++ meaning for auto
  trigraphs[-]          enable trigraphs (off by default)
  rvalueCast[-]         enforce Standard C++ explicit type conversion rules
  strictStrings[-]      disable string-literal to [char|wchar_t]*
                        conversion (off by default)
  implicitNoexcept[-]   enable implicit noexcept on required functions
  threadSafeInit[-]     enable thread-safe local static initialization
  inline[-]             remove unreferenced function or data if it is
                        COMDAT or has internal linkage only (off by default)
  sizedDealloc[-]       enable C++14 global sized deallocation
                        functions (on by default)
  throwingNew[-]        assume operator new throws on failure (off by default)
  referenceBinding[-]   a temporary will not bind to an non-const
                        lvalue reference (off by default)
/ZH:SHA_256             use SHA256 for file checksum in debug info (experimental)
/Zo[-] generate richer debugging information for optimized code (on by default)
/ZW enable WinRT language extensions    
/constexpr:depth<N>     use <N> as the recursion depth limit
                        for constexpr (default: 512)
/constexpr:backtrace<N> show <N> constexpr evaluations
                        in diagnostics (default: 10)
/constexpr:steps<N>     terminate constexpr evaluation after
                        <N> steps (default: 100000)
/ZI enable Edit and Continue debug info 
/openmp enable OpenMP 2.0 language extensions
                              -MISCELLANEOUS-
@<file> options response file           /?, /help print this help message
/bigobj generate extended object format /c compile only, no link
/errorReport:option Report internal compiler errors to Microsoft
    none - do not send report                
    prompt - prompt to immediately send report
    queue - at next admin logon, prompt to send report (default)
    send - send report automatically         
/FC use full pathnames in diagnostics   /H<num> max external name length
/J default char type is unsigned        
/MP[n] use up to 'n' processes for compilation
/nologo suppress copyright message      
/sdl enable additional security features and warnings
/showIncludes show include file names   /Tc<source file> compile file as .c
/Tp<source file> compile file as .cpp   /TC compile all files as .c
/TP compile all files as .cpp           /V<string> set version string
/w disable all warnings                 /wd<n> disable warning n
/we<n> treat warning n as an error      /wo<n> issue warning n once
/w<l><n> set warning level 1-4 for n    /W<n> set warning level (default n=1)
/Wall enable all warnings               /WL enable one line diagnostics
/WX treat warnings as errors            /Yc[file] create .PCH file
/Yd put debug info in every .OBJ        /Yl[sym] inject .PCH ref for debug lib
/Yu[file] use .PCH file                 /Y- disable all PCH options
/Zm<n> max memory alloc (% of default)  /FS force to use MSPDBSRV.EXE
/await enable resumable functions extension
/Wv:xx[.yy[.zzzzz]] disable warnings introduced after version xx.yy.zzzzz
/source-charset:<iana-name>|.nnnn set source character set
/execution-charset:<iana-name>|.nnnn set execution character set
/utf-8 set source and execution character set to UTF-8
/validate-charset[-] validate UTF-8 files for only legal characters
                                -LINKING-
/LD Create .DLL                         /LDd Create .DLL debug library
/LN Create a .netmodule                 /F<num> set stack size
/link [linker options and libraries]    /MD link with MSVCRT.LIB
/MT link with LIBCMT.LIB                /MDd link with MSVCRTD.LIB debug lib
/MTd link with LIBCMTD.LIB debug lib    
                              -CODE ANALYSIS-
/analyze[-] Enable native analysis      /analyze:quiet[-] No warning to console
/analyze:log<name> Warnings to file     /analyze:autolog Log to *.pftlog
/analyze:autolog:ext<ext> Log to *.<ext>/analyze:autolog- No log file
/analyze:WX- Warnings not fatal         /analyze:stacksize<num> Max stack frame
/analyze:max_paths<num> Max paths       /analyze:only Analyze, no code gen


瀹嬮箯 2019-03-09 11:23 鍙戣〃璇勮
]]>
QT_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 鍙戣〃璇勮
]]>Git絎笁闃舵錛歴how log/show head/show modified/modify commenthttp://www.shnenglu.com/hkingSP/archive/2019/03/05/216287.html瀹嬮箯瀹嬮箯Tue, 05 Mar 2019 01:09:00 GMThttp://www.shnenglu.com/hkingSP/archive/2019/03/05/216287.htmlhttp://www.shnenglu.com/hkingSP/comments/216287.htmlhttp://www.shnenglu.com/hkingSP/archive/2019/03/05/216287.html#Feedback0http://www.shnenglu.com/hkingSP/comments/commentRss/216287.htmlhttp://www.shnenglu.com/hkingSP/services/trackbacks/216287.html鏌ョ湅鏃ュ織錛堟湰鍦癱ommit璁板綍錛夛細

git log
result:
commit f46a2277acf6b1604f3268fcd3652682f23347bc (HEAD -> master)
Author: songpeng <song.peng@bizerba.com>
Date:   Mon Mar 4 17:07:09 2019 +0800
鏌ョ湅鏃ュ織涓殑鏌愭鎻愪氦錛?/strong>
git show f46a2277acf6b1604f3268fcd3652682f23347bc 
鏌ョ湅鍚勪釜鏃ュ織閮戒慨鏀逛簡鍝簺鏂囦歡錛?br />
git log --name-only
鏌ョ湅鍚勪釜鏃ュ織鏂囦歡鐨勫叿浣撲慨鏀癸細
git log -p /path_you_specified

鏌ョ湅鏈湴浠g爜淇敼鎯呭喌錛?br />宸蹭慨鏀癸紝鏈猘dd鐨勫彉鏇達細
git diff
宸瞐dd錛屾湭commit鐨勫彉鏇達細
git diff --cached
涓婇潰涓ゆ潯鍚堝茍錛?br />git diff HEAD
涓や釜commit涔嬮棿鐨勫尯鍒細
git diff 0da94be  59ff30c

鍙樻洿鏃ュ織鍐呭錛坈omment錛?
棣栧厛鏄劇ず鏈榪?嬈℃彁浜ょ殑commit:
git rebase -i HEAD~3
榪愯鍚庢樉紺哄涓?鎴戞槸鍦╳indows閲岄潰瀹夎浜唙im,鍐呭浼氭樉紺哄湪vim閲岋紝涓嶇煡閬撴病瀹夎vim浼氬浣曟樉紺?錛?br />
pick 41b65c0 recursive_search_and_link_libraries
pick 0de33bd success_built_with_vs2013lib_on_creator
pick 7ed1e94 success to built with vs2013lib and run on vs2013 ide
縐誨姩鍏夋爣鍒版兂瑕佷慨鏀筩ommit鐨勬墍鍦ㄨ錛屽皢pick鏀規垚reword錛岀劧鍚庝繚瀛?br />鐒跺悗鍒鋒柊鐨勭晫闈㈠唴綾諱技浼氬嚭鐜頒綘鎯充慨鏀圭殑comment錛屽皢涔嬩慨鏀逛繚瀛樸?br />鐒跺悗榪愯錛?br />git push --force錛屽氨浼氶噸鏂頒紶鍒版湇鍔″櫒錛屾洿鏂頒綘瑕佷慨鏀圭殑comment.




瀹嬮箯 2019-03-05 09:09 鍙戣〃璇勮
]]>Git絎簩闃舵錛歛dd files/undo add/branch add/branch view/branch new/branch delete/branch push/pull remote to local files/fetch originhttp://www.shnenglu.com/hkingSP/archive/2019/03/04/216286.html瀹嬮箯瀹嬮箯Mon, 04 Mar 2019 08:26:00 GMThttp://www.shnenglu.com/hkingSP/archive/2019/03/04/216286.htmlhttp://www.shnenglu.com/hkingSP/comments/216286.htmlhttp://www.shnenglu.com/hkingSP/archive/2019/03/04/216286.html#Feedback0http://www.shnenglu.com/hkingSP/comments/commentRss/216286.htmlhttp://www.shnenglu.com/hkingSP/services/trackbacks/216286.htmladd:
git add *

undo add:
You can undo git add before commit with

git reset <file> 

which will remove it from the current index (the "about to be committed" list) without changing anything else.

You can use

git reset

add brach:
git branch rikSkinLoader

view branch:
git branch -a

switch branch:
git checkout BranchName

delete branch:
git branch -d

push branch:
git push origin branchname

pull:
git pull origin <remote_branch>錛?lt;local_branch>
git pull origin master:master



鏌ョ湅榪滅鍙樻洿/鍚庣畫鎿嶄綔錛?br />git remote update

 

First use git remote update, to bring your remote refs up to date. Then you can do one of several things, such as:


git status -uno 
git status -uno will tell you whether the branch you are tracking is ahead, behind or has diverged. If it says nothing, the local and remote are the same.
git show-branch *master
git show-branch *master will show you the commits in all of the branches whose names end in 'master' (eg master and origin/master).


瀹嬮箯 2019-03-04 16:26 鍙戣〃璇勮
]]>
色诱久久久久综合网ywww| 欧美激情精品久久久久久久九九九| 午夜精品久久影院蜜桃| 久久久久亚洲爆乳少妇无| 噜噜噜色噜噜噜久久| 天天躁日日躁狠狠久久 | 99久久免费只有精品国产| 99久久婷婷免费国产综合精品| 久久综合久久综合久久综合| 久久久久国色AV免费观看| 精品久久久久久国产| 久久精品国产WWW456C0M| 久久久久久精品无码人妻| 久久精品草草草| 久久久久99精品成人片欧美| 久久久99精品成人片中文字幕| 精品伊人久久大线蕉色首页| 久久精品国产亚洲Aⅴ蜜臀色欲| 久久99久久99精品免视看动漫| 成人精品一区二区久久| 精品国产一区二区三区久久久狼| 99久久精品免费| 高清免费久久午夜精品| 久久久久亚洲AV片无码下载蜜桃| 色综合久久最新中文字幕| 久久亚洲欧美国产精品| 久久久久久伊人高潮影院| 无码国内精品久久人妻麻豆按摩| 青青青青久久精品国产h| 国产午夜福利精品久久2021| 久久久亚洲AV波多野结衣| 无码任你躁久久久久久老妇App| 国产91久久综合| 国产午夜精品理论片久久| 国产叼嘿久久精品久久| 久久国产乱子伦精品免费午夜| 久久99精品久久久久婷婷| 久久久无码人妻精品无码| 国内精品久久久久久99| 国产精品久久精品| 国产成人久久精品二区三区|