(SOLVED) Qt crashes when opening .qrc file
-
Win 7 enterprise VM
Qt 5.3.1
The .qrc in question
<RCC>
<qresource prefix="/icons">
<file alias="bitcoin">res/icons/netcoin-128.png</file>
<file alias="address-book">res/icons/address-book.png</file>
<file alias="quit">res/icons/quit.png</file>
<file alias="send">res/icons/send.png</file>
<file alias="toolbar">res/icons/netcoin-16.png</file>
<file alias="connect_0">res/icons/connect0_16.png</file>
<file alias="connect_1">res/icons/connect1_16.png</file>
<file alias="connect_2">res/icons/connect2_16.png</file>
<file alias="connect_3">res/icons/connect3_16.png</file>
<file alias="connect_4">res/icons/connect4_16.png</file>
<file alias="transaction_0">res/icons/transaction0.png</file>
<file alias="transaction_confirmed">res/icons/transaction2.png</file>
<file alias="transaction_1">res/icons/clock1.png</file>
<file alias="transaction_2">res/icons/clock2.png</file>
<file alias="transaction_3">res/icons/clock3.png</file>
<file alias="transaction_4">res/icons/clock4.png</file>
<file alias="transaction_5">res/icons/clock5.png</file>
<file alias="options">res/icons/configure.png</file>
<file alias="receiving_addresses">res/icons/receive.png</file>
<file alias="editpaste">res/icons/editpaste.png</file>
<file alias="editcopy">res/icons/editcopy.png</file>
<file alias="add">res/icons/add.png</file>
<file alias="bitcoin_testnet">res/icons/netcoin-128.png</file>
<file alias="toolbar_testnet">res/icons/netcoin-16.png</file>
<file alias="edit">res/icons/edit.png</file>
<file alias="history">res/icons/history.png</file>
<file alias="overview">res/icons/overview.png</file>
<file alias="export">res/icons/export.png</file>
<file alias="synced">res/icons/synced.png</file>
<file alias="remove">res/icons/remove.png</file>
<file alias="tx_mined">res/icons/tx_mined.png</file>
<file alias="tx_input">res/icons/tx_input.png</file>
<file alias="tx_output">res/icons/tx_output.png</file>
<file alias="tx_inout">res/icons/tx_inout.png</file>
<file alias="lock_closed">res/icons/lock_closed.png</file>
<file alias="lock_open">res/icons/lock_open.png</file>
<file alias="minting">res/icons/mining.png</file>
<file alias="key">res/icons/key.png</file>
<file alias="filesave">res/icons/filesave.png</file>
<file alias="qrcode">res/icons/qrcode.png</file>
<file alias="debugwindow">res/icons/debugwindow.png</file>
<file alias="shopping">res/icons/shopping.png</file>
</qresource>
<qresource prefix="/images">
<file alias="about">res/images/about.png</file>
<file alias="splash">res/images/splash.png</file>
<file alias="backg">res/images/wallet.png</file>
<file alias="songs">res/images/songsoflove.png</file>
<file alias="scrypt">res/images/scryptcoinstore.png</file>
<file alias="indes">res/images/in-disguise.png</file>
<file alias="forum">res/images/forum.png</file>
<file alias="block">res/images/explorer.png</file>
<file>res/images/cryptocoinstuff.png</file>
<file alias="coinrush">res/images/coinrush.png</file>
<file alias="breihost">res/images/breihost.png</file>
<file alias="paper">res/images/paperwallet.png</file>
<file alias="wallet">res/images/wallet.mng</file>
<file alias="backing">res/images/texture-6.jpg</file>
<file alias="bkg">res/images/home-background.jpg</file>
<file>res/images/AlpenShopImg.png</file>
<file>res/images/AmazoniaShopImg.png</file>
<file>res/images/BitezzeShopImg.png</file>
<file>res/images/BterNetCnyImg.png</file>
<file>res/images/BterNetLtcImg.png</file>
<file>res/images/CoinStuffShopImg.png</file>
<file>res/images/CryptoDirectShopImg.png</file>
<file>res/images/CryptsyNetBtcImg.png</file>
<file>res/images/CryptsyNetLtcImg.png</file>
<file>res/images/eCasinoImg.png</file>
<file>res/images/ExplorerImg.png</file>
<file>res/images/ForumImg.png</file>
<file>res/images/GRKreationsShopImg.png</file>
<file>res/images/MasterMindShopImg.png</file>
<file>res/images/PaperWalletImg.png</file>
<file>res/images/PiccaShopImg.png</file>
<file>res/images/RetroTowersShopImg.png</file>
<file>res/images/ScryptStoreShopImg.png</file>
<file>res/images/ServerBrosShopImg.png</file>
<file>res/images/SongsOfLoveShopImg.png</file>
<file>res/images/StakingMachineShopImg.png</file>
<file>res/images/TuffWrapsShopImg.png</file>
<file>res/images/WaterIDoShopImg.png</file>
<file>res/images/WrolInfoShopImg.png</file>
<file>res/images/ZetaSteamShopImg.png</file>
<file>res/images/home-background.png</file>
<file>res/images/LotteryImg.png</file>
<file>res/images/SpendYourNetcoins.png</file>
<file>res/images/GiveToCharity.png</file>
<file>res/images/PurchaseNetcoins.png</file>
<file>res/images/FancyAFlutter.png</file>
</qresource>
<qresource prefix="/movies">
<file alias="update_spinner">res/movies/update_spinner.mng</file>
</qresource>
<qresource prefix="/translations">
<file alias="en">locale/bitcoin_en.qm</file>
<file alias="ru">locale/bitcoin_ru.qm</file>
</qresource>
</RCC>It has opened on other systems just fine. It could be something to do with a VM glitch I dunno, ui files open fine I can edit build just fine. The .qrc will open in the plain editor, but not the gui version.
Any thoughts?
PS. If I set it to open in text editor and then select editor, no crash, just nothing, but if the file is not open, Qt crashes, no real error.
-
Rolled back the VM, because I had installed 2 5.3 installations, thought maybe that was causing it, nope..
Reinstalled only one 5.3, tried the qrc file and it crashed again
EDIT: Will try it with normal windows 7 (Non VM)... This is basically the online installer with default options... On the up side, maintenance tool works :) lol Doesn't if I don't use the online installer.
EDIT: Well I have it already on one win 7 system, doesn't work there either, crashes the same... Linux is the only system it works on.
-
How checking the RC file incrementally. May be start with few entries in rc file and check it. It may be failing with some specific entry of rc file.
-
[quote author="Dheerendra" date="1406038575"]How checking the RC file incrementally. May be start with few entries in rc file and check it. It may be failing with some specific entry of rc file.[/quote]
Okay thank you, I will try that.
EDIT:
I see why you are a specialist :)Spot on, removed all but 1 and it worked just fine, so my bad, I was/am getting errors about malformed png's so guess maybe something has got corrupted somewhere, now gotta weed out what it is XD, thanks for your help, sorry for the noob mistake.
Will mark as solved.
PS... Good thing I kept a snapshot of the VM how it was before XD
EDIT: Hmmm, seems like it doesn't like the .mng files, tried to add one and it crashed
-
Hi,
Does it also crash if you open the file from the hard drive ?