Error [release/qrc_qmake_qmake_immediate.cpp] Error 1

  • Hello,
    When i debug my project i get this error [release/qrc_qmake_qmake_immediate.cpp] Error 1

    I use Qt 5.9.0 MinGW 32bits

    I have as  message in the complie output: 
    17:00:24: Exécution des étapes pour le projet Atomex...
    17:00:24: Configuration inchangée, étape qmake sautée.
    17:00:24: Débute : "C:\Qt\Tools\mingw530_32\bin\mingw32-make.exe" 
    C:/Qt/Tools/mingw530_32/bin/mingw32-make -f Makefile.Release
    mingw32-make[1]: Entering directory 'C:/Qt/Tools/QtCreator/bin/build-Atomex-Desktop_Qt_5_9_0_MinGW_32bit-Release'
    C:\Qt\5.9\mingw53_32\bin\rcc.exe -name qmake_qmake_immediate release\qmake_qmake_immediate.qrc -o release\qrc_qmake_qmake_immediate.cpp
    RCC Parse Error: 'release\qmake_qmake_immediate.qrc' Line: 1 Column: 2 [Encountered incorrectly encoded content.]
    Makefile.Release:109: recipe for target 'release/qrc_qmake_qmake_immediate.cpp' failed
    mingw32-make[1]: Leaving directory 'C:/Qt/Tools/QtCreator/bin/build-Atomex-Desktop_Qt_5_9_0_MinGW_32bit-Release'
    mingw32-make[1]: *** [release/qrc_qmake_qmake_immediate.cpp] Error 1
    Makefile:34: recipe for target 'release' failed
    mingw32-make: *** [release] Error 2
    17:00:26: Le processus "C:\Qt\Tools\mingw530_32\bin\mingw32-make.exe" s'est terminé avec le code 2.
    Erreur lors de la compilation/déploiement du projet Atomex (kit : Desktop Qt 5.9.0 MinGW 32bit)
    When executing step "Make"
    17:00:26: Temps écoulé : 00:02.

    Help me please...

  • Moderators

    @Titi01 This looks like the file encoding on your resource file is wrong. Since some of the output is in french my guess is you aren't using a proper encoding that rcc understands. Try switching the encoding for that file to UTF-8 or something. That should fix the issue.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.