Skip to main content
0 votes
0 answers
22 views

I have an issue: qrc:/qt/qml/MyApp/qml/MyApp/Main.qml:11:5: QML StackView: initialItem: qrc:/qml/pages/LoginPage.qml:-1 No such file or directory File tree Im strugling to see why it cannot find my ...
Ewald's user avatar
  • 1
-1 votes
1 answer
123 views

I'm trying to load images from my resources.qrc but it doesn't seem to work. For instance: cardVN1->setImage("://vn1.jpg");// The set image function is user-defined passing a QString ...
Ian Mwendwa's user avatar
1 vote
0 answers
44 views

Auto completion doesn't work in Qt creator with QtQuick module and qmldir which includes qml component from qrc After defining my QML module which includes a c++ plugin and generating the .qmltypes ...
Amyyna142's user avatar
1 vote
1 answer
74 views

I follow these simple steps to recreate the problem. Create a new Qt project in Qt Creator, a widget. Create a new widget class "newform" with its .cpp, .h, and .ui files. Try to load it on ...
Petrov Crowford's user avatar
1 vote
0 answers
154 views

We have a qmldir declare a module contains qml files which are put inside resource file. The module has plugin which is in a directory, but not resource. Before add qmldir and qml files into resource, ...
Fei Su's user avatar
  • 9
2 votes
1 answer
810 views

Qt Designer allows me to add a .png file as a QLabel's pixmap, But it's only visible there, and not when running the app, and there are no errors. This occurs when the picture is already included in a ...
Max Cury's user avatar
0 votes
1 answer
671 views

I'm working on a Qt QML project, and I'm trying to display a simple image within my window, but nothing is displayed except for an empty window. I put my image in a resource file (qrc), and I provided ...
Jung San's user avatar
2 votes
1 answer
2k views

When a resource file is created via Qt Designer in a Form, the python code generated by the Qt Designer includes the following import statement: import icons_rc This import statement is same ...
Ajay's user avatar
  • 410
0 votes
3 answers
2k views

I read on the Qt forums that QFile::exists can be used to test for existence of an image resource. In my project I have a lot of images, one of the references in a QML file is to: qrc:/images/...
SPlatten's user avatar
  • 5,851
0 votes
1 answer
220 views

I'm attempting to use DefineClass which is part of the Java Native Interface. The method takes a const jbyte* which is a const signed char* and I'm trying to parse it from a Qt resource. But there has ...
Dome's user avatar
  • 3
0 votes
1 answer
752 views

I think I'm missing some fundamental way of working with various prefixes in the Qt Creator qrc environment. If I place a qml component in the default prefix, the application builds and runs fine. ...
Steve H's user avatar
  • 5,514
3 votes
1 answer
2k views

I draw GUI for the app and use many icons with resource file path prefix: /ico and path file in the folder of the project: Resources/Images/*.png So, each uses them in GUI, I must call::/ico/...
kien bui's user avatar
  • 1,820
3 votes
2 answers
4k views

The Qt resource file .qrc allows to split the embedded files into different prefixes <RCC> <qresource prefix="/qml"> <file alias="CustomWidget.qml">qml/CustomWidget.qml&...
ymoreau's user avatar
  • 4,188
0 votes
0 answers
384 views

I'm developing a Qt app in Qt Creator. I'm creating an install package via InnoSetup. And everything works OK except all the images are missing in the installed program (running it in Qt Creator works ...
madasionka's user avatar
1 vote
2 answers
2k views

edit: Following @eyllanesc comment, here is a minimal example hosted on github. The test is run on Qt5.9, on OS X 10.12. Base HTML Let's create a minimal example HTML loading an image by relative path,...
Ad N's user avatar
  • 8,526

15 30 50 per page