Hi,
I have an Emscripten kit with a compiler set up to point to: `C:\Program
Files\Emscripten\emscripten\1.25.0\emcc.bat`
I also have a QBS file as follows:
import qbs
CppApplication {
type: "application"
files: [
"*.cpp",
"*.h",
"enet/*.cpp",
"enet/*.h"
]
cpp.executableSuffix: ".html"
cpp.includePaths: ["."]
cpp.cxxFlags: ["-std=c++11", "-Wno-unused-parameter",
"-Wno-unused-private-field", "-Wno-unused-variable", "-Wno-switch",
"-fno-exceptions", "-fno-rtti"]
cpp.linkerFlags: ["--preload-file", path + "/res@/"]
}
This worked fine in an older version of Qt Creator (the one that came with
Qt 5.1 I believe). I just upgraded to Qt Creator 3.3.0 (from Qt 5.4), and I
get the following error when parsing the QBS file:
C:\Qt\Tools\QtCreator\share\qtcreator\qbs\share\qbs\imports\qbs\base\CppApplication.qbs:4:
error: Module cpp could not be loaded.
The verbose debug output from QBS isn't interesting. The error goes away
when I change the kit's compiler to mingw, but obviously that isn't very
useful. Does anyone have any ideas about this?
Cheers,
Tim
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qt-creator