rcc: File does not exist

3.7k views Asked by At

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 folder:

|-- _UI_Projects
|   |-- XmlReader
|   |   |-- include
|   |   |   |-- ...
|   |   |-- resources
|   |   |   |-- circle_black.svg
|   |   |   |-- circle_blue.svg
|   |   |   |-- circle_green.svg
|   |   |   |-- ...
|   |   |-- src
|   |   |   |-- ...
|   |   |-- qled.qrc
|   |   `-- xml_reader.pro

and qmake-qt4 ~/_UI_Projects/XmlReader/xml_reader.pro gives me:

/usr/lib64/qt4/bin/rcc: File does not exist: '../_UI_Projects/XmlReader/qled.qrc

This is my project file:

#####################################################
#                  My Project File                  #
#####################################################


greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
greaterThan(QT_MAJOR_VERSION, 4): QT += serialport

TEMPLATE = app

DEPENDPATH += . include resources src
INCLUDEPATH += . include

# Input
HEADERS += include/mainwindow.h \
            include/... (and so on)


SOURCES += src/main.cpp \
            src/...(and so on)

RESOURCES = qled.qrc

QT += svg
QT += testlib

I found few information on this rcc error so i would appreciate some help on this one.

EDIT: Excerpt from qled.qrc added below

<RCC>
    <qresource prefix="/">
        <file>resources/circle_green.svg</file>
        <file>resources/circle_grey.svg</file>
        <file>resources/circle_orange.svg</file>
        ... and so on and so on
    </qresource>
</RCC>
0

There are 0 answers