issue with qtcreator compile on R21.3

I upgraded my Jetson TK1 board to R21.3 yesterday and I’m currently trying to reinstall all the software I need.

I successfully compiled Qt version 5.4.1 but I’m having issues with qt creator.
I get an error that cpuid.h is missing every time I compile it.

I tried to switch branches but I get errors. Tried v3.0, 3.1, 3.2, 3.3 and 3.4 :(

Any suggestions how to fix this?

/applications/GIT/qt-creator/src/libs/3rdparty/botan/botan.cpp:46208:21: fatal error: cpuid.h: No such file or directory
#include <cpuid.h>
^
compilation terminated.
make[3]: *** [.obj/release-shared/botan.o] Error 1
make[3]: Leaving directory /applications/GIT/qt-creator-build/src/libs/ssh' make[2]: *** [sub-ssh-make_first] Error 2 make[2]: Leaving directory /applications/GIT/qt-creator-build/src/libs’
make[1]: *** [sub-libs-make_first-ordered] Error 2
make[1]: Leaving directory `/applications/GIT/qt-creator-build/src’
make: *** [sub-src-make_first-ordered] Error 2

Does this look similar?

https://codereview.qt-project.org/#/c/79728/1

It got abandoned eventually for no good reason.

it might yes, I’ll give it a try this evening :)

thank you

get a different error now :(

/applications/GIT/qt-creator/src/plugins/qbsprojectmanager/qbsproject.cpp:482:73: error: cannot call member function ‘qbs::SetupProjectJob* qbs::Project::setupProject(const qbs::SetupProjectParameters&, qbs::ILogSink*, QObject*)’ without object
= qbs::Project::setupProject(params, m_manager->logSink(), 0);
^
make[3]: *** [.obj/release-shared/qbsproject.o] Error 1
make[3]: Leaving directory /applications/GIT/qt-creator-build/src/plugins/qbsprojectmanager' make[2]: *** [sub-qbsprojectmanager-make_first] Error 2 make[2]: Leaving directory /applications/GIT/qt-creator-build/src/plugins’
make[1]: *** [sub-plugins-make_first-ordered] Error 2
make[1]: Leaving directory `/applications/GIT/qt-creator-build/src’
make: *** [sub-src-make_first-ordered] Error 2

I solved this.

I pulled the code from git again, but this time without the qbs submodule.
Applied the patch kulve suggested and I was able to compile the qtcreator.

oh, I forgot one more thing:

src/plugins/qmldesigner/components/formeditor/anchorindicatorgraphicsitem.cpp

I had to change QVector to QVector
My Qt is compiled with -qfloat param