Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

The command ""\bin\rcc.exe" --list "FireflyUpdater.qrc" > "Debug\rcc_list.txt" 2> nul" exited with code 3.



  • Hey, when i build my project i get the error above, full error:
    1>------ Build started: Project: FireflyUpdater, Configuration: Debug Win32 ------ 1>C:\Users\John_\AppData\Local\QtMsBuild\qtrcc.targets(74,5): error MSB3073: The command ""\bin\rcc.exe" --list "FireflyUpdater.qrc" > "Debug\rcc_list.txt" 2> nul" exited with code 3. 1>Done building project "FireflyUpdater.vcxproj" -- FAILED. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    How would i fix this?
    I don't think code matters but here:

    #include <QApplication>
    #include <QDesktopWidget>
    
    FireflyUpdater::FireflyUpdater(QWidget *parent)
    	: QMainWindow(parent)
    {
    	ui.setupUi(this);
    	//resize(QApplication::desktop()->size() / 2);
    	show();
    }
    
    std::string FireflyUpdater::getDateTime() {
    	time_t rawtime;
    	struct tm * timeinfo;
    	char buffer[80];
    
    	time(&rawtime);
    	timeinfo = localtime(&rawtime);
    
    	strftime(buffer, sizeof(buffer), "[%d-%m-%Y %H:%M:%S] ", timeinfo);
    	std::string str(buffer);
    	return str;
    }

  • Lifetime Qt Champion

    Hi,

    What is the structure of your project ?


Log in to reply