Add Clickable to Qt Creator IDE? ut-qtcreator error...
-
Hi everyone, I'm new to developing for UT (and anything other than websites and some javascript/php based applications), so please excuse this newbie question..
I want to add Clickable to the Qt Creator IDE so I can try to develop some apps that use the Qt libraries.
I searched this forum and I found a discussion on this topic and it had a link for installing something that does that... here's the link https://github.com/lduboeuf/ut-qtcreator
I ran the commands and it seemed to install it ok, but when I try the command to run it, it says "ut-qtcreator.sh: command not found". What am I doing wrong?
I also have the community version of Qt Creator installed (I installed it prior to running the commands for the ut-qtcreator) and I'm running Ubuntu 20.04.
Maybe it's not compatible? Or maybe it's not installed correctly? Or maybe it's not what I think it is...?
Any guidance or assistance is greatly appreciated!
-
@lisali I don't have the answer to your exact question, but note that there are multiple ways to (attempt) to run Qt Creator with clickable. I think the " @lduboeuf method" has a forum thread here somewhere. Another way is to try
clickable ide qtcreator
.But more importantly, I'd suggest you to not get hung up if you can't get Qt Creator working (right away). You can just use a template
clickable create
and then build/test it withclickable
and edit the files with whatever editor/ide you like. You can certainly get started without Qt Creator. -
@lisali This is not a reply to your question but a suggestion: Use atom instead of qtcreator. There is a Clickable extension and qml language support. My experience with atom has been great and I can highly recommend it.
-
@doniks Thank you for your help
My favorite editor is actually Visual Studio Code.. I like it more than Atom. The reason I ask about the Qt Creator IDE is that I'm taking a course in Qt 5 and C++ and I'm learning how to create programs in it using Qt Creator and the Qt libraries.
I've tried "clickable ide qtcreator" in the terminal and it does open Qt Creator, but it has an error on start.
It says the "QbsProjectManager" plugin has an error and it can't be loaded and under details it says:
/usr/lib/x86_64-linux-gnu/qtcreator/plugins/libQbsProjectManager.so: Cannot load library /usr/lib/x86_64-linux-gnu/qtcreator/plugins/libQbsProjectManager.so: (libqbscore.so.1.10: cannot open shared object file: No such file or directory)
I've tried looking up how to fix it and found some suggestions but I couldn't get them to work. It's entirely possible I'm doing something wrong... I just don't know what.
When I click continue on the error window, then tell it to run the program, it does seem to still run and compile ok.. I was able to test a simple hello world example app on my computer and my phone. So yay
Should I be concerned about the error? Or should I ignore it?
-
@lisali yeah, I just had the same error. not sure how bad ignoring it is
seemingly it has something to do with qt version ... here https://gitlab.com/clickable/clickable/-/issues/245#note_492570695 is the advice how to use the newer qt. it made the error go away for me ... not sure what other effects it might have
-
@aarontheissueguy hi thanks for the suggestion.
I've tried using Atom in the past for web development and found I liked Visual Studio Code (VSCodium) better. I haven't Visual Studio Code or Atom for anything other than web development.
I have Atom installed as well as the clickable plugin, but I don't know how to use it yet. My hesitation with using Atom right now is that I am wanting to use the Qt libraries and I don't know enough about it all to include all those things on my own without the help of the software. Even compiling programs is fairly new to me.
I'm a beginner in training... I can build a website from scratch, but not an app lol.
I have a lot to learn, but once I figure this stuff out, I hope to be able to contribute a lot.
-
@lisali yeah, don't bother the error at startup ( this is already fixed when we will switch to Qt5.12 ).
if your a lazy boy like me, i would definitly go with
clickable ide qtcreator
as it gives you good code navigation and completion if the project is well build.
You have test/debug/help facilities, preview for desktop ( like theclickable desktop
command )
Of course not super friendly first time regarding UI and some features missing.If i find some times i will post a quick intro, did something hacky few months ago :
https://m.youtube.com/watch?v=CCHL_tYDVL0I should Archive my ut-qtcreator repo
-
@lduboeuf
Hello, i'm new to UT and i have a little question: to use "clickable ide creator" it is necessary to install clickable and qt creator or something else??Thank you
-
@pierpaolo I didn't try it yet but I think you only need to install clickable (Qt Creator should be installed in the docker image)
You can read how to install clickable here: https://clickable-ut.dev/en/latest/
-
@cibersheep what do you mean with docker image???
-
@pierpaolo Start by installing clickable and running the command for the Qt Creator inside the container
-
@pierpaolo Yes as @CiberSheep said, just install clickable, create a project (
clickable create
) and when you 're inside the project's folder just runclickable ide qtcreator
-
@cibersheep said in Add Clickable to Qt Creator IDE? ut-qtcreator error...:
@pierpaolo Start by installing clickable and running the command for the Qt Creator inside the container
Thank you all