Changing the default version of qtcreator for Clickable
-
Hello.
I'm looking for advice on how could I change the default version of QtCreator ide, that gets used\opened after launching
sudo clickable ide qtcreator
.At the moment, the one set is 4.12.4 ("based on Qt 5.12.9 (GCC 5.4.0)"). It's likely the version I installed from apt repository. The reason I decided to install another one (6.4.1, using the official installer) are the QtQuick components, that are inaccessible in the previous one.
I found a file
~/.clickable/QtProject/qtcreator/qtversion.xml
with some of the following content:<variable>QtVersion.0</variable> <valuemap type="QVariantMap"> <value type="int" key="Id">2</value> <value type="QString" key="Name">Qt %{Qt:Version} in PATH (qt5)</value> <value type="QString" key="QMakePath">/usr/lib/qt5/bin/qmake</value> <value type="QString" key="QtVersion.Type">Qt4ProjectManager.QtVersion.Desktop</value> <value type="QString" key="autodetectionSource">PATH</value> <value type="bool" key="isAutodetected">true</value>
and tried to modify it but it didn't bring results.
I haven't yet tried to reinstall qtcreator or Clickable but maybe there's yet some other way.
I have qt5 and qt6 installed, Ubuntu 20.
Thanks for help in advance
PS. All along I assumed that it's possible to create UBTouch applications using QtCreator6 but I haven't actually found information about it. Is it true?
-
UT is still on Qt 5.12 so what you want wouldn't make sense yet.
-
@utuser said in Changing the default version of qtcreator for Clickable:
Hello.
I'm looking for advice on how could I change the default version of QtCreator ide, that gets used\opened after launching
sudo clickable ide qtcreator
.When you run the above command, the qtcreator that is starred is the one in the Docker container, not the one you installed via apt.
To use a different version you would need to use a customized container. But as @kugiigi mentioned, that doesn't make much sense right now.
-
@utuser Hi do you know that QtCreator 9.0 landed on last clickable image ?.
-
Thanks for your replies.
@kugiigi @arubislander
That's resolves my main doubts.Is my setup the current standard and recommendation in UT app developement then?
@lduboeuf said in Changing the default version of qtcreator for Clickable:
@utuser Hi do you know that QtCreator 9.0 landed on last clickable image ?.
I don't know. Just in case it's a joke, I'm a relatively new UT user and even newer in UT app development so I perhaps lack some of the (basic) knowledge yet, though try to make it up.
But maybe I should't ask before making more research.
I'd like to thank for sharing the videos on UT app developement though, they were the main reason for me for trying myself in UT development.I should have probably rephrased the question in title as it could probably be misleading
-
@utuser said in Changing the default version of qtcreator for Clickable:
Is my setup the current standard and recommendation in UT app developement then?
There is no "standard' in UT app development. clickable is a very convenient option, but not everyone uses the ide option. I for instance use VSCodium as an editor. I find QtCreator has too many options I never use.
Others use Atom or Vi or Nano as code editors. A handful of developers don't even use clickable.Feel free to try QtCreator via clickable ide. If it works for you, then that is the right tool.