The rcc tool is part of the Qt framework and is used to embed resources into a Qt application during the build process.
Questions tagged [rcc]
31 questions
2
votes
0 answers
rcc: File does not exist
i am using a custom version of QLed for my project. Actually it worked fine when i first included the files in my project. Somehow i end up with this weird error from rcc now. The .svg files are shown when executing the UI. This is my project's…

tobilocker
- 891
- 8
- 27
2
votes
2 answers
How to decompress compiled qt resource file with rcc extension?
How to decompress compiled qt resource file with rcc extension?

INs
- 2,909
- 2
- 20
- 26
1
vote
1 answer
Can I use the Qt resource compiler with other libraries?
I use the qt resource system with png files. I create .a qrc file where I specify all the pictures I need and add it to my CMakeLists. The following code works great:
QPixmap pix(":/resources/image.png");
But can I somehow use compiled resources…

vltimvtxx
- 27
- 2
1
vote
1 answer
How to fix missing resource imports when using pyside2-uic
The tool offers no help whatsoever what the argument does and a colleague of mine is facing the issue of having to add the Python module generated by processing a QRC file (pyside2-rcc) to the Python module generated by processing the UI file…

rbaleksandar
- 8,713
- 7
- 76
- 161
1
vote
2 answers
can't load qrc files in Qt C++ program
I am trying load css file to the program using qrc . But at run time at get following error:-
QIODevice::read (QFile, ":/css/stylesheet.qss"): device not open
I am using Cmake . here is my project's structure:-
.
├── calculator.cpp
├──…
user9392253
1
vote
0 answers
How can we cross compile qmake?
When qt5 (5.9.2) is cross-compiled, the qmake/moc/rcc/uic tools are generated for the host machine. Is it possible to generate (cross-compile) them for the target device?
Thanks.

Fatih Erol
- 11
- 3
1
vote
2 answers
STM32 Output MCO configuration
I try to configure my MCO ouput on my STM32f103, only with STD periph lib.
here is my code:
void OutputMCO() {
GPIO_InitTypeDef GPIO_InitStructure;
RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOA, ENABLE);
/* Output clock on MCO pin…

vib
- 199
- 2
- 13
1
vote
0 answers
QResource register multiple resources, resource loading principle, which is the last available resource?
Let's say I have 3 qrc files. The first 2 contain the same resource path and the 3rd one doesn't contain that path, for eg:
qrc1:
res/image.png
qrc2:

Ispas Claudiu
- 1,890
- 2
- 28
- 54
1
vote
2 answers
Large Qt external binary resource file
I want to use a Qt external resource file as an expansion file for my Android app. The total size of the resource to be bundled in the resource file is 700+ MB. I have experienced that the resource compiler (rcc) can not handle more than about 500MB…

uniquenamehere
- 1,869
- 3
- 31
- 60
1
vote
1 answer
python-3.4, pyqt5: somthing similar like loadUiType for the resource file?
I was wondering if there might be something similar to loadUiType for the resource file.
Of course one can use pyrcc5 example.qrc -o example_rc.py but than I have to do this step every time something is changed.
Using:
from PyQt5.uic import…

camaro
- 118
- 12
1
vote
1 answer
Will symbol links in a Qt resource file consume extra space?
I have an image file named image-generic.png and a symbol link to it, named image-generic-x.png, both of them are included in a Qt resource file.
Now If I compile the program, image-generic.png would consume some space, but would image-generic-x.png…

daisy
- 22,498
- 29
- 129
- 265
0
votes
1 answer
STM32F103C8 writing driver and can't change register bit value
this is my code, when I try to change ADC1 register bit I change address of ADC and offset and it works well.
but when I wan to change ADC CR2 value it doesn't work. when I run this code, ADC2 is enabled but CONT value is 0.
I tried to enable all…

GiGeNCo
- 31
- 1
- 3
0
votes
0 answers
Compiling an rcc file is skipped with cmake --build, but works with make. What could be the reason for this?
I have a larger project in which some *.qrc files are used and compiled using Qt's RCC. The project is configured via CMake as a Unix Makefile project.
When I build the program via make everything works without problems, but when I build via Cmake…

Gockel
- 21
- 4
0
votes
2 answers
QML import rcc modules
I try to create an application in which I use rcc modules but I get the error "modules not installed".
I have the following folders and files:
MainFolder
|_Folder1
|_Folder11
|_qmldir
|_MyButton.qml
|_Folder2
|_qmldir
…

SteveTJS
- 635
- 17
- 32
0
votes
1 answer
Importing QML Document Directories
I want to import my custom QML type MyType from subdirectory mytypes into my main.qml file. Which is also in the same directory with the mytypes folder. I used this documentation page as…

OnurA
- 611
- 2
- 11
- 25