![]() ![]() QtCreator uses this name to mark the compiler, Qt version, debugger, CMake version and device as belonging to this kit. The script works for any SDK built with Yocto. The script generates the Qt Creator configuration files, which QtCreator displays in the dialog Tools | Options | Kits. $ chmod a+x $HOME/bin/configure-qtcreator.sh In the unlikely event that you must use older versions, I explain a workaround in my post Deploying Qt Projects to Embedded Devices with CMake.ĭownload the script configure-qtcreator.sh, install it in a directory from $PATH and make it executable. Using the latest QtCreator and CMake versions has never caused me any problems. You should use a QtCreator version not older than 4.11 and a CMake version not older than 3.14. You can log into the board with SSH using a username and password. For this post, I built the SDK for the reference image tdx-reference-multimedia-image of the Verdin i.MX8M Mini board from Toradex. ![]() You have built a Linux image and an SDK for an embedded device with Yocto. The script in this post is the first time that (L)GPLv3 users of Qt can enjoy the same convenience. Users of the commercial Qt for Device Creation license have been enjoying this fast and proper QtCreator setup for several years now. I can cross-compile the Qt application for my embedded device and run the Qt application on the device with one button press in QtCreator. ![]() The last two times took me 5 minutes – using the script presented in this post. The next half a dozen times took me 4 hours on average. Setting up QtCreator for cross-compilation with CMake took me 15-20 hours the first two or three times. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |