Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to have path names that include spaces in .pro file?
kitfox last edited by
I'm trying to compile a third party library that stores .cpp and .h files in a subdirectory that contains spaces. This is causing the compiler not to find them. Is there a way to specify paths with spaces for the HEADERS and SOURCES section?
@kitfox Putting the path in quotes is usually enough.
But the best advice I can give you: avoid spaces at all. Rename the directories to have proper ASCII names without spaces will save you a lot of trouble.
Also blame the library vendor so he becomes aware of the problem.