2014-09-29 84 views

回答

2

它是描述哪些文件應該以XML格式寫入exe的文件。 看看結構。例如:

<RCC> 
    <qresource prefix="/">//your prefix 
     <file>description.txt</file>//txt file 
     <file>SolarSystem.qml</file>//source 
     <file>images/earth.png</file>//pictures 
     <file>images/jupiter.png</file> 
     <file>images/logo.png</file> 
     <file>images/mars.png</file> 
     <file>images/mercury.png</file> 
     <file>images/neptun.png</file> 
     <file>images/saturn.png</file> 
     <file>images/sun.png</file> 
     <file>images/uran.png</file> 
     <file>images/venera.png</file> 
     <file>images/icon.png</file> 
    </qresource> 
</RCC> 

所以它可以是importamt。

+0

謝謝,這回答我的問題。我總是這樣理解,qrc文件已經是二進制文件了。所以我從來沒有嘗試用文本編輯器打開它。我不知道它只指定哪些文件將被編譯到二進制_later_中。慢慢地,我在Qt上越來越好,也感謝您的幫助:) – mozzbozz 2014-09-29 15:11:47

+0

@mozzbozz歡迎您! :) – Chernobyl 2014-09-29 15:12:49

相關問題