Yes the workaround you posted there worked! I have absolutely no idea why as Emscripten Clang, not GCC, and the platform is really Emscripten, not Windows (although I am running Windows). Weird.
On 2 February 2015 at 07:50, Denis Shienkov <[email protected]> wrote: > Hi. > > Maybe it is related (similar) to: https://bugreports.qt.io/browse/QBS-709 > ? > > BR, > Denis > > 2015-02-01 23:43 GMT+03:00 Tim Hutt <[email protected]>: > >> 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 >> >> > > _______________________________________________ > Qt-creator mailing list > [email protected] > http://lists.qt-project.org/mailman/listinfo/qt-creator > >
_______________________________________________ Qt-creator mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/qt-creator
