Quantcast
Channel: Installation and Deployment
Viewing all articles
Browse latest Browse all 22112

Statically Compile Ressource File

$
0
0
First, English isn’t my first language…. I learned all i know about programmation on youtube so, if you have any ! any ! constructive comment, please write it, i will be very happy! My problem is that when i compile it dynamically, it’s flawless, works like it’s supposed to but, when i try to compile it in static mode, i get an error ([debug/qrc_Dossier.cpp] Error 2) that i can’t find anywhere by googling it. i read a lot about (Error 1, file not found) an how to compile with only an image icon but, none of them worked for me. Link for all my program (Something near at least…): Link [rapidshare.com] In .pro CONFIG += static   RESOURCES += \     Dossier.qrc In main.cpp int main(int argc, char *argv[]) {     Q_INIT_RESOURCE();     QApplication a(argc, argv); In Dossier.qrc (i’ve read about .rc… don’t know the difference..) <RCC>     <qresource prefix="/icons">         <file>Tatice-Browsers-Download.ico</file>         <file>Benjigarner-Softdimension-7zip.ico</file>         <file>Iconmoon-Web-Application-Load.ico</file>         <file>Iconmoon-Web-Application-Save.ico</file>         <file>Saki-Snowish-Extras-internet-download.ico</file>     </qresource>     <qresource prefix="/7Zip">         <file>7z.dll</file>         <file>7z.exe</file>         <file>7z.sfx</file>         <file>7zCon.sfx</file>         <file>7zFM.exe</file>         <file>7zG.exe</file>         <file>7-zip.chm</file>         <file>7-zip.dll</file>         <file>descript.ion</file>         <file>History.txt</file>         <file>License.txt</file>         <file>readme.txt</file>     </qresource> </RCC> Thanks ALOT! for your help!

Viewing all articles
Browse latest Browse all 22112

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>