7/25/2023 0 Comments Qt creator raspberry pi![]() Next install the just built QtCreator, you can use whatever path you like, I prefer installing custom software under /opt. This will take a while make -j4 Install QtCreator opt/Qt/5.12.10/bin/qmake -r Compile QtCreator We will assume that Qt 5.12.10 is installed in /opt/Qt/5.12.10 (and if not, adjust the path for your installation) cd qt-creator-opensource-src-4.12.4 Build QtCreator Download QtCreator source archive wget Unpack the QtCreator sources from the archive tar xf qt-creator-opensource-src-4.12.4.tar.xz No need to install other that Qt 5 and what it requires for building. When you have done that succesfully, come back here. Note that the deprecated QtScript module is required for QtCreator, so make sure you enable it when building Qt 5. So if you have an older Qt 5 already installed from distro packages, remove them first with apt: apt remove Build and install Qt 5.12 or laterįirst you need to various build tool and of course build Qt 5 for your Raspberry Pi, for example if using Qt 5.12, follow this Qt build tutorial for instructions on how to install required packages and building of Qt 5. ![]() First steps Remove any installed Qt packagesįor some reason installed Qt libraries might cause link failures, so we need to get rid of them first. It is, the latest releases are in the 4.14 branch, but unfortunately it has build dependencies that the current version of Raspbian does not yet fullfill (LLVM 10 or 11). ![]() You might wonder, "Why 4.12, isn't that old already ?". This tutorial will explain how to build a native QtCreator 4.12.2 to run on a Raspberry Pi using Qt 5.12 or later. ![]()
0 Comments
Leave a Reply. |