UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Add Clickable to Qt Creator IDE? ut-qtcreator error...

    Scheduled Pinned Locked Moved App Development
    13 Posts 6 Posters 1.5k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • lisaliL Offline
        lisali
        last edited by

        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!

        D A 2 Replies Last reply Reply Quote 0
        • D Offline
          doniks @lisali
          last edited by

          @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 with clickable and edit the files with whatever editor/ide you like. You can certainly get started without Qt Creator.

          lisaliL 1 Reply Last reply Reply Quote 0
          • A Offline
            aarontheissueguy @lisali
            last edited by

            @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.

            lisaliL 1 Reply Last reply Reply Quote 0
            • lisaliL Offline
              lisali @doniks
              last edited by

              @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?

              D 1 Reply Last reply Reply Quote 1
              • D Offline
                doniks @lisali
                last edited by

                @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

                1 Reply Last reply Reply Quote 0
                • lisaliL Offline
                  lisali @aarontheissueguy
                  last edited by

                  @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.

                  lduboeufL 1 Reply Last reply Reply Quote 1
                  • lduboeufL Offline
                    lduboeuf @lisali
                    last edited by lduboeuf

                    @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 the clickable 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_tYDVL0

                    I should Archive my ut-qtcreator repo 😉

                    P 1 Reply Last reply Reply Quote 1
                    • P Offline
                      PierPaolo @lduboeuf
                      last edited by

                      @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

                      CiberSheepC lduboeufL 2 Replies Last reply Reply Quote 0
                      • CiberSheepC Offline
                        CiberSheep @PierPaolo
                        last edited by

                        @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/

                        Another planet, another time, another universe!

                        P 1 Reply Last reply Reply Quote 0
                        • P Offline
                          PierPaolo @CiberSheep
                          last edited by

                          @cibersheep what do you mean with docker image???

                          CiberSheepC 1 Reply Last reply Reply Quote 0
                          • CiberSheepC Offline
                            CiberSheep @PierPaolo
                            last edited by

                            @pierpaolo Start by installing clickable and running the command for the Qt Creator inside the container

                            Another planet, another time, another universe!

                            P 1 Reply Last reply Reply Quote 0
                            • lduboeufL Offline
                              lduboeuf @PierPaolo
                              last edited by CiberSheep

                              @pierpaolo Yes as @CiberSheep said, just install clickable, create a project ( clickable create ) and when you 're inside the project's folder just run clickable ide qtcreator

                              1 Reply Last reply Reply Quote 1
                              • P Offline
                                PierPaolo @CiberSheep
                                last edited by PierPaolo

                                @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

                                1 Reply Last reply Reply Quote 1
                                • First post
                                  Last post