1. qt¹¤³Ì±ØÐëÊÇÓ¢ÎÄ·¾¶
2. Îļþ¼Ð ×îºÃ²»ÒªÓпոñ -
3. Èí¼þ°²×°Ä¿Â¼£¬Ó¢ÎÄĿ¼
4. Ó¦ÓóÌÐòxxx.exeµÄ´ò¿ª·½Ê½
1)Èç¹ûÖ±½ÓÔÚ×Ô¼ºµÄµçÄÔµã»÷xxx.exe£¬
Ìí¼Ó±àÒëÆ÷binĿ¼µ½ÏµÍ³»·¾³±äÁ¿
D:\Program_software\Qt5.5.1\5.5\mingw492_32\bin\
2)½«exe³ÌÐò¿½±´¸øÆäËûÈËʹÓÃ
ÔÚdosϵͳ ʹÓÃwindeployqt (·¾¶+exe.³ÌÐò) ×Ô¶¯²¿ÊðÓ¦ÓóÌÐòÐèÒªµÄ¶¯Ì¬¿â
Ó¦ÓóÌÐòÖ±½Ó´ò¿ª£¬²»ÐèÒª°²×°
windeployqt ÃüÁî±ØÐëÌí¼Ó»·¾³±äÁ¿ D:\Program_software\Qt5.5.1\5.5\mingw492_32\bin\
3£©Ê¹Óýű¾Ïòµ¼£¬½«exe³ÌÐòÒÔ¼°ÐèÒªµÄ¶¯Ì¬¿âÒ»Æð´ò°ü---->Éú³É°²×°°ü
¿½±´°²×°°ü¸ø±ðÈË£¬ÆäËûÈË°²×°°²×°°ü£¬Ê¹ÓÃexe³ÌÐò----->Èí¼þ
½Å±¾Îļþ±àÒ룬½«exe³ÌÐò´ò°ü
5. qt¹¤³ÌµÄ¿½±´µ½²»Í¬µÄµçÄÔÖУ¬Óû§ÎļþÐèҪɾµô£¬ÖØÐÂÅäÖÃ
»òÕß×Ô¼º¹¤³ÌµÄÎļþ¼Ð±»¸Ä±ä£¬Ò²ÐèҪɾ³ýÓû§Îļþ£¬ÈÃqtÈí¼þÖØÐÂÅäÖÃ
6.ÐźÅÓë²Û£º
ÓÃÓÚ²¿¼þ¼äµÄÏìÓ¦£¬Ò»¸ö²¿¼þ·¢ËÍÐźţ¬ÁíÍâÒ»¸ö²¿¼þ²úÉúÏìÓ¦
2. Îļþ¼Ð ×îºÃ²»ÒªÓпոñ -
3. Èí¼þ°²×°Ä¿Â¼£¬Ó¢ÎÄĿ¼
4. Ó¦ÓóÌÐòxxx.exeµÄ´ò¿ª·½Ê½
1)Èç¹ûÖ±½ÓÔÚ×Ô¼ºµÄµçÄÔµã»÷xxx.exe£¬
Ìí¼Ó±àÒëÆ÷binĿ¼µ½ÏµÍ³»·¾³±äÁ¿
D:\Program_software\Qt5.5.1\5.5\mingw492_32\bin\
2)½«exe³ÌÐò¿½±´¸øÆäËûÈËʹÓÃ
ÔÚdosϵͳ ʹÓÃwindeployqt (·¾¶+exe.³ÌÐò) ×Ô¶¯²¿ÊðÓ¦ÓóÌÐòÐèÒªµÄ¶¯Ì¬¿â
Ó¦ÓóÌÐòÖ±½Ó´ò¿ª£¬²»ÐèÒª°²×°
windeployqt ÃüÁî±ØÐëÌí¼Ó»·¾³±äÁ¿ D:\Program_software\Qt5.5.1\5.5\mingw492_32\bin\
3£©Ê¹Óýű¾Ïòµ¼£¬½«exe³ÌÐòÒÔ¼°ÐèÒªµÄ¶¯Ì¬¿âÒ»Æð´ò°ü---->Éú³É°²×°°ü
¿½±´°²×°°ü¸ø±ðÈË£¬ÆäËûÈË°²×°°²×°°ü£¬Ê¹ÓÃexe³ÌÐò----->Èí¼þ
½Å±¾Îļþ±àÒ룬½«exe³ÌÐò´ò°ü
5. qt¹¤³ÌµÄ¿½±´µ½²»Í¬µÄµçÄÔÖУ¬Óû§ÎļþÐèҪɾµô£¬ÖØÐÂÅäÖÃ
»òÕß×Ô¼º¹¤³ÌµÄÎļþ¼Ð±»¸Ä±ä£¬Ò²ÐèҪɾ³ýÓû§Îļþ£¬ÈÃqtÈí¼þÖØÐÂÅäÖÃ
6.ÐźÅÓë²Û£º
ÓÃÓÚ²¿¼þ¼äµÄÏìÓ¦£¬Ò»¸ö²¿¼þ·¢ËÍÐźţ¬ÁíÍâÒ»¸ö²¿¼þ²úÉúÏìÓ¦
ÐźÅÓë²ÛµÄʵÏÖ£º
1£©ui½çÃæÉÏʵÏÖ
a.²¿¼þ¼äÁ¬Ïߣ¬ ²¿¼þÒ»¶ÔÒ»
Ô¤¶¨ÒåÐźŠÓëÔ¤¶¨ÒåµÄ²Ûº¯Êý
Ô¤¶¨ÒåÐźţ¬Óë×Ô¶¨ÒåµÄ²Ûº¯Êý
b.תµ½²ÛµÄģʽ Ò»¶Ô¶à
תµ½²ÛµÄº¯Êý£¬Ö»Äܱ»²Ù×÷µÄ²¿¼þ¹ØÁª
2. ³ÌÐòʵÏÖ£¬connect(·¢ËÍÕß,ÐźÅ,½ÓÊÕÕß,²Ûº¯Êý)
¶à¶ÔÒ»£¬¶à¸öÐźſÉÒÔ¹ØÁªÒ»¸ö²Ûº¯Êý
¿ÉÒÔÓÐui½çÃæÒ²¿ÉÒÔʹÓóÌÐò´úÂë½øÐв¿¼þ(ûÓÐui½çÃæ)
1£©ui½çÃæÉÏʵÏÖ
a.²¿¼þ¼äÁ¬Ïߣ¬ ²¿¼þÒ»¶ÔÒ»
Ô¤¶¨ÒåÐźŠÓëÔ¤¶¨ÒåµÄ²Ûº¯Êý
Ô¤¶¨ÒåÐźţ¬Óë×Ô¶¨ÒåµÄ²Ûº¯Êý
b.תµ½²ÛµÄģʽ Ò»¶Ô¶à
תµ½²ÛµÄº¯Êý£¬Ö»Äܱ»²Ù×÷µÄ²¿¼þ¹ØÁª
2. ³ÌÐòʵÏÖ£¬connect(·¢ËÍÕß,ÐźÅ,½ÓÊÕÕß,²Ûº¯Êý)
¶à¶ÔÒ»£¬¶à¸öÐźſÉÒÔ¹ØÁªÒ»¸ö²Ûº¯Êý
¿ÉÒÔÓÐui½çÃæÒ²¿ÉÒÔʹÓóÌÐò´úÂë½øÐв¿¼þ(ûÓÐui½çÃæ)