{"id":285379,"date":"2023-10-21T20:04:49","date_gmt":"2023-10-21T12:04:49","guid":{"rendered":"https:\/\/lrxjmw.cn\/jyqrslxtxdqk.html"},"modified":"2023-10-21T20:04:49","modified_gmt":"2023-10-21T12:04:49","slug":"jyqrslxtxdqk","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/jyqrslxtxdqk.html","title":{"rendered":"\u57fa\u4e8e\u5d4c\u5165\u5f0fLinux\u7cfb\u7edf\u4e0b\u7684Qt\u5f00\u53d1\uff0823\u5377\uff09"},"content":{"rendered":"
\u7b2c23\u5377\u7b2cl\u671f\u7535\u8111\u5f00\u53d1\u4e0e\u5e94\u7528\u6587\u7ae0\u7f16\u53f7\uff1a1003\u20145850(2010)01\u2014001103\u57fa\u4e8e\u5d4c\u5165\u5f0fLinux<\/a>\u7cfb\u7edf<\/a>\u4e0b\u7684Qt\u5f00\u53d1DevelopmentofQtbasedonEmbeddedLinux\u738b\u6d69\u5357\u5218\u76ca\u6210(\u9ec4\u6cb3\u5b66\u9662\u7535\u5b50\u4fe1\u606f\u5927\u5b66\u6c5f\u897f\u4e5d\u6c5f434023)\u3010\u6458\u8981\u3011\u968f\u7740\u5d4c\u5165\u5f0f\u7cfb\u7edf\u7684\u53d1\u5c55\uff0c\u5728Iinux\u4e0b\u4f7f\u7528Qt\u5f00\u53d1\u5d4c\u5165\u5f0f\u56fe\u5f62\u7528\u6237\u754c\u9762\u662f\u5d4c\u5165\u5f0f\u5e94\u7528\u7684\u91cd\u70b9\u3002\u6211\u4eec\u901a\u8fc7\u5b9e\u4f8b\uff0c\u63a2\u8ba8\u4e86\u57fa\u4e8e\u5d4c\u5165\u5f0fIinux\u56fe\u5f62\u754c\u9762\u5f00\u53d1\u8fc7\u7a0b\u5e76\u5177\u4f53\u63cf\u8ff0Qt\uff0fEmbedded\u56fe\u5f62\u7cfb\u7edf\u7684\u79fb\u690d\u3002\u3010\u5173\u952e\u8bcd\u3011Qt\uff0cLinux\uff0c\u5d4c\u5165\u5f0f\u7cfb\u7edf\uff0c\u56fe\u5f62\u754c\u9762\u5f00\u53d1\uff0c\u79fb\u690d\u4e2d\u56fe\u5206\u7c7b\u53f7\uff1aTP391\uff0e4l\u6587\u732e\u6807\u8bc6\u7801\uff1aAABSTRACTWiththerapiddevelopmentofembeddedtechnologies\uff0ctOdevelopGraphicalUserinterfaceusingQtonIinuxisafocalpointofembeddedapplication\uff0eWiththedevelopmentexample\u3002<\/p>\n thepaperintroducesgraphicalinterfacedevelopmentprogrammingmethodsbasedonembeddedI,inux\u3002anddescribesthetransplantingofQt\uff0fEmbeddedgraphicalsystem\uff0eKEYWORDSQt\uff0cLinux\uff0cembeddedsyslenl_\uff0cgraphicalinterfacedevelopment\uff0ctransplanting\u968f\u7740\u8ba1\u7b97\u673a\u6280\u672f\u548c\u4fe1\u606f\u7f51\u8def\u6280\u672f\u7684\u6025\u901f\u53d1\u5c55\uff0c\u5d4c\u5165\u5f0f\u7cfb\u7edf\u7684\u5e94\u7528\u8d8a\u6765\u8d8a\u5e7f\u6cdb\uff0c\u800c\u5d4c\u5165\u5f0f\u4ea7\u54c1\u4ee5\u5176\u7cbe\u5de7\u3001\u4f7f\u7528\u4fbf\u6377\u3001\u5b9e\u7528\u7b49\u7279\u6027\u8d8a\u6765\u8d8a\u906d\u5230\u4eba\u4eec\u7684\u504f\u7231\u3002\u975e\u5e38\u662f\u8fd1\u51e0\u5e74\u6765\uff0c\u5d4c\u4eba\u5f0f\u6280\u672f\u8d8a\u6765\u8d8a\u591a\u7684\u88ab\u5e94\u7528\u4e8e\u5404\u4e2a\u9886\u57df\uff0c\u5982\u56fd\u9632\u3001\u5de5\u4e1a\u63a7\u5236\u3001\u901a\u4fe1\u3001\u529e\u516c\u624b\u52a8\u5316\u548c\u6d88\u8d39\u7535\u5b50\u9886\u57df\u7b49\u3002\u4e3a\u6b64\u8bbe\u8ba1\u51fa\u5e26\u6709\u56fe\u5f62\u7528\u6237\u754c\u9762\u3001\u64cd\u4f5c\u4fbf\u6377\u7684\u5d4c\u5165\u5f0f\u667a\u80fd\u7ec8\u7aef\u63a7\u5236\u7cfb\u7edf\u5219\u5177\u6709\u5f88\u9ad8\u7684\u5b9e\u7528\u4ef7\u503c\u548c\u7814\u7a76\u4ef7\u503c\u3002\u672c\u6587\u5c31\u662f\u4ecb\u7ecd\u600e\u6837\u5728\u5d4c\u5165\u5f0fLinux\u4e0b\u8fdb\u884cQt\u56fe\u5f62\u754c\u9762\u5f00\u53d1\u7684\u95ee\u9898\u30021\u7cfb\u7edf\u5e73\u53f0\u7684\u5efa\u7acb\u6309\u7167\u8bbe\u8ba1\u987b\u8981\uff0c\u672c\u6587\u642d\u5efa\u7684\u7cfb\u7edf\u5e73\u53f0\u57fa\u672c\u6846\u67b6\u4e3a\uff1a\u786c\u4ef6\u4e0a\u91c7\u7528\u57fa\u4e8eSansung$3C2410CPU\u7684\u76ee\u6807\u677f\uff1b\u5728\u8f6f\u4ef6\u4e0a\uff0c\u9009\u62e9\u5d4c\u5165\u5f0fLinux\u4e3a\u64cd\u4f5c\u7cfb\u7edf\uff0c\u6574\u4e2a\u7cfb\u7edf\u8f6f\u4ef6\u7531\u5f15\u5bfc\u7a0b\u5e8f(ViVi\u516c\u53f8\u7684bootLoader)\u3001\u8bbe\u5907\u9a71\u52a8\u3001\u5d4c\u5165\u5f0fLinux\u5185\u6838\u3001\u6587\u4ef6\u7cfb\u7edf(cramfs)\u3001\u57fa\u4e8eQt\uff0fEmbedded\u548cQtopia\u7684\u7528\u6237\u56fe\u5f62\u754c\u9762\u53ca\u5e94\u7528\u7a0b\u5e8f\u7ec4\u6210\u3002<\/p>\n 2Qt\u3001Embedded\u7684\u4ecb\u7ecd\u4e0e\u5728Iinux\u4e2d\u5f00\u53d1\u73af\u5883\u7684\u6784\u5efa2\uff0e1\u6709\u5173Qt\u3001Qt\uff0fEmbedded\u548cQtopiaQt\u8db3\u4e00\u4e2a\u5168\u9762\u7684C++\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u6846\u67b6\u3002\u5b83\u5305\u542b\u4e00\u4e2a\u6cdb\u578b\uff0c\u548c\u7528\u4e8e\u8de8\u5e73\u53f0\u5f00\u53d1\u53ca\u56fd\u9645\u5316\u7684\u5de5\u5177\u3002\u7531\u632a\u5a01Trolhech\u516c\u53f8\u63a8\u51fa\uff0c\u4e3b\u8981\u901a\u8fc7\u6c47\u96c6(++\u7c7b\u7684\u65b9\u5f0f\u6765\u5b9e\u73b0\u63d0\u4f9b\u5f00\u53d1\u5e94\u7528\u7a0b\u5e8f\u7528\u6237\u754c\u9762\u90e8\u4efd\u7684\u9700\u6c42\u3002Qt\uff0fEmbedded\u662f\u4e00\u4e2a\u4e3a\u5d4c\u5165\u5f0f\u8bbe\u5907\u4e0a\u7684\u56fe\u5f62\u7528\u6237\u63a5\u53e3\u548c\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u800c\u5b9a\u5236\u7684C\u6597I+\u5de5\u5177\u5f00\u53d1\u5305\u3002\u662f\u4e00\u7ec4\u7528\u4e8e\u8bbf\u95ee\u5d4c\u5165\u5f0f\u8bbe\u5907\u7684QtC\u2014q-\u4e00f-API\u3002\u5b83\u53ef\u4ee5\u8fd0\u884c\u5728\u591a\u79cd\u4e0d\u540c\u7684\u5904\u7406\u5668\u4e0a\u5e03\u7f72\u7684\u5d4c\u5165\u5f0fIinux\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u3002Qtopia\u662fTrolhech\u516c\u53f8\u4e3a\u91c7\u7528Linux\u64cd\u4f5c\u7cfb\u7edf\u7684\u6d88\u8d39\u7535\u5b50\u8bbe\u5907\u800c\u5f00\u53d1\u7684\u7efc\u5408\u5e94\u7528\u5e73\u53f0\u3002Qtopia\u5305\u62ec\u5b8c\u6574\u7684\u5e94\u7528\u5c42\u3001\u7075\u6d3b\u7684\u7528\u6237\u754c\u9762\u3001\u7a97\u53e3\u64cd\u4f5c\u7cfb\u7edf\u3001\u5e94\u7528\u7a0b\u5e8f\u542f\u52a8\u7a0b\u5e8f\u4ee5\u53ca\u5f00\u53d1\u6846\u67b6\u30022\uff0e2Qt\uff0fEmbedded\u5f00\u53d1\u73af\u5883\u7684\u6784\u5efa\u6253\u7b97\u4ee5\u4e0b\u6e90\u7801\u5305\u548c\u6587\u4ef6\u2460tmake\u4e001\uff0e11\uff0etar\uff0egz(\u7528\u4e8e\u751f\u6210Makefile\u6587\u4ef6\u8f85\u52a9\u5de5\u5177)\u2461qt\u2014embedded2\uff0e3\uff0e7\uff0etar\uff0egz(Qtopia\u6784\u5efa\u7684\u57fa\u7840)\u2467qt\u2014xl1\u20142\uff0e3\uff0e2\uff0etar\uff0egz(\u7528\u4e8e\u751f\u6210moc\u548cuic\u4e24\u4e2a\u5de5\u5177)\u2463qtopiafree1\uff0e7\uff0e0\uff0etar\uff0ebz2(Qtopia\u6e90\u4ee3\u7801\u5305)\u2464cross\uff5e3\uff0e3\uff0e2\uff0etar\uff0ebz2(\u4ea4\u53c9\u7f16\u8bd1\u5668)\u5f00\u53d1\u73af\u5883\u6784\u5efa\u8fc7\u7a0b\u65b0\u5efa\u4e00\u4e2a\u76ee\u5f55\uff1a\uff0fusr\uff0flocal\uff0farm\uff0fQT\uff0c\u5e76\u5c06\u91cc\u9762\u76845\u4e2a\u6e90\u7801\u5305\u653e\u5728\uff0fusr\uff0flocal\uff0farm\uff0fQT?\uff0fF{\u5f55\u4e0btmake\u7684\u5b89\u88c5#tarzxvftmake\u4e001\uff0e11\uff0etar\uff0egz#cdtmake\uff0e\uff0e1\uff0e]l\u6784\u5efashell\u6587\u4ef6\uff0c\u5728\u6587\u4ef6\u4e2d\u6dfb\u52a0\u5982\u4e0b\u5185\u5bb9\u5d4c\u5165\u5f0flinux\u4e0b\u754c\u9762\u5f00\u53d1<\/strong>\uff0c\u64cd\u4f5c\u4e3a\u6253\u5f00\u7ec8\u7aef\u3002<\/p>\n \u8f93\u5165\uff1a#vienv\uff0eshexport~\u3001MAKEDIR====$PWD*200909\u201410\u6536\u5230\uff0c2009\u201411\u201410\u6539\u56de**\u57fa\u91d1\u9879\u76ee\uff1a\u4e2d\u56fd\u77f3\u6cb9\u5929\u7136\u6c14\u96c6\u56e2\u516c\u53f8\u91cd\u5927\u79d1\u6280\u3005\u9879\u6350\u52a9\u9879\u76ee(I)6(10302)\u3002***\u738b\u6d69\u5357\uff0e\u7537\u30021984\u5e74\u751f\uff0e\u7855\u7814\u7a76\u751f\uff0e\u7814\u7a76\u65b9\u5411\uff1a\u5165\u300f\u2103\u7cfb\u7edf\u3002\u00b712\u00b7(\u603b16)\u57fa\u4e8e\u5d4c\u5165\u5f0fLinux\u7cfb\u7edf\u4e0b\u7684Qt\u5f00\u53d12010\u6b63exportTMAKEPATH=$TMAKEDlR\uff0f1ib\uff0fqws\uff0flinuxarm\uff5eg+\u2014+_exportPATH\u4e00$TMAKEDIR\uff0fbin\uff1a$PATH\u4fdd\u5b58\u9000\u51fa\u3002\u5e76\u6dfb\u52a0\u73af\u5883\u53d8\u91cf\u5982\u4e0b#sourceenv\uff0esh\u2461QtXJl\u7684\u5b89\u88c5#tar\u2014vxzfqt\u2014xl1-2\uff0e3\uff0e2\uff0etar\uff0egz#cdqt\u4e002\uff0e3\uff0e2#vienv\uff0esh(\u64cd\u4f5c\u540c\u4e0a\u4e0a\u5236env\uff0esh\u6587\u4ef6\u65b9\u5f0f)exportQTDIR\u4e00$PWDexportPA'I\u3001H\u4e00$QTDIR\uff0fbin\uff1a$PATHexportIDLIBRARYPATH\u4e00$QTDIR\uff0flib\uff1a$LDIIBRARYPATH\u4fdd\u5b58\u9000\u51fa\u3002\u5e76\u6dfb\u52a0\u73af\u5883\u53d8\u91cf#soureeenv\uff0esh\u751f\u6210Makefile\u540e\uff0c\u5c31\u53ef\u4ee5\u8fdb\u884c\u5b89\u88c5#make\u5b89\u88c5\u6210\u529f\u540e\uff0c\u5c06\u4f1a\u6709\u4ee5\u4e0b\u590d\u5370\u4fe1\u606f\uff1aEnjoy!\u4e00theTrolhechteam\u7f16\u8bd1\u751f\u6210qvfb\u3001qembed\u5de5\u5177#make\u2014Ctools\uff0fqvfb#make\u2014Ctools\uff0fqembed\u2462Qt\uff0fEmbedded\u5b89\u88c5#cdusr\uff0flocal\uff0farm#mkdir3\uff0e3\uff0e2#tarzxvfcross\u4e003\uff0e3\uff0e2\uff0etar\uff0ebz2#cdusr\uff0flocal\uff0farm\uff0fQT#tarzxvfqtembedded\u4e002\uff0e3\uff0e7\uff0etar\uff0egz\u6b65\u5165\u8f6f\u4ef6\u5305\u4e2d\u5e76\u8bbe\u7f6e\u4e00\u4e9b\u73af\u5883\u53d8\u91cf\uff1a#cdqt\u4e002\uff0e3\uff0e7#exportPATH=\uff0fusr\uff0floeal\uff0farm\uff0f3\uff0e3\uff0e2\uff0fbin\uff1a$PATH#exportQTDIR\u4e00$PWD#exportQTEDIR\u4e00$QTDIR\u5728qconfig\u2014loca1\uff0e\u8089\u6587\u4ef6\u4e2d\u6dfb\u52a0\u4e00\u884c\uff1a#defineQTQWSIPAQRAW\u6dfb\u52a0\u5b8c\u4ee5\u540e\u5c06\u8be5\u6587\u4ef6\u62f7\u8d1d\u5230src\uff0ftools\uff0f\u76ee\u5f55#ep\uff0fqconfig\u2014loca1\uff0ehsrc\uff0ftools\uff0f\u5c06qt\u4e002\uff0e3\uff0e2\u6e90\u7801\u7f16\u8bd1\u540e\u7684uic\u5de5\u5177\u62f7\u8d1d\u5230bin\u76ee\u5f55#cpqt\u4e002\uff0e3\uff0e2\uff0fbin\uff0fuic\uff0e\uff0fbin\u4ea4\u53c9\u7f16\u8bd1\uff0c\u8bbe\u7f6e\u7f16\u8bd1\u9009\u9879\uff1a#\uff0e\uff0fconfigure\u2014xplatformlinux\u2014arm\u2014g++\u4e00sharedqconfiglocal\u2014qvfb\u2014depths4\uff0c8\uff0c16\uff0c32\u4e00gif\u2014system\u2014jpeg\u751f\u6210Makefile\u4ee5\u540elinux\u547d\u4ee4tar\uff0c\u5c31\u53ef\u4ee5\u8fdb\u884c\u7f16\u8bd1\u4e86\uff1a#make\u2463qtopia\u7684\u5b89\u88c5#tarzxvfqtopia\u2014free\u20141\uff0e7\uff0e0\uff0etar\uff0egz\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf\uff1a#exportQTDIR=$QTEDIR#exportQPEDIR\u4e00$PWD#exportPATH\u4e00$QPEDIR\uff0fbin\uff0f\uff1a$PATH\u63a5\u51fa\u6765\u5c31\u53ef\u4ee5\u914d\u7f6e\u4e86\uff1a#cdsrc\uff0f#\uff0e\uff0fconfigure\u2014platformlinux\u2014arm\u2014g++\u751f\u6210Makefile\u4ee5\u540e\uff0c\u5c31\u53ef\u4ee5\u8fdb\u884c\u7f16\u8bd1\u4e86\uff1a#make\u4ee5\u4e0a\u8fc7\u7a0b\u7f16\u8bd1\u901a\u8fc7\u540e\uff0cQt\uff0fEmbedded\u5f00\u53d1\u73af\u5883\u5df2\u7ecf\u5b8c\u5584\uff0c\u800c\u4e14Qt\uff0fEmbedded\u548cQtopia\u9762\u5411\u76ee\u6807\u673a\u7684\u4ea4\u53c9\u7f16\u8bd1\u73af\u5883\u4e5f\u5efa\u7acb\u5b8c\u6210\uff0c\u8bbe\u7f6e\u73af\u5883\u53d8\u91cfset\u2014env\uff0c\u5c31\u53ef\u4ee5\u4f7f\u7528Qt\u6765\u8fdb\u884c\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u4e86\u3002<\/p>\n <\/p>\n