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

qmake infile error



  • Hey guys,

    in the QT Creator output i get the following error for this line of qmake code.

    exists(user_config.pri):infile(user_config.pri, CONFIG) {
    		CONFIG += $$fromfile(user_config.pri, CONFIG)
    		message($$sprintf("Using user-supplied additional config: '%1' specified in user_config.pri", $$fromfile(user_config.pri, CONFIG)))
    }
    
    Cannot read ***/user_config.pri: No such file or directory
    

    Why?



  • @MaxBec

    Is the folder correct and the file existing?

    If yes, you need to split the statement and find out which of the parts are causing the error.


Log in to reply