To cause scons to search for dependencies instead of using cached results, add force-configure=1 to the commandline: scons force-configure=1 Swift is usually built with Qt4. If you want to build it against Qt5, add the line qt5 = 1 to your config.py