Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. how do i start qt creator from terminal

how do i start qt creator from terminal

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 3 Posters 1.7k Views
  • 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.
  • serkan_trS Offline
    serkan_trS Offline
    serkan_tr
    wrote on last edited by
    #1

    Hello,
    I am using Ubuntu 22.04 linux operating system. I downloaded the Qt application and I want to run qtcreator from terminal.
    I am able to go to qtcreator directory and run it from terminal. or as a link, I tried to copy it into the /usr/bin directory and run it, but it gives an error because it does not see some libraries. and it won't open

    A 1 Reply Last reply
    0
    • serkan_trS serkan_tr

      Hello,
      I am using Ubuntu 22.04 linux operating system. I downloaded the Qt application and I want to run qtcreator from terminal.
      I am able to go to qtcreator directory and run it from terminal. or as a link, I tried to copy it into the /usr/bin directory and run it, but it gives an error because it does not see some libraries. and it won't open

      A Offline
      A Offline
      andi456
      wrote on last edited by andi456
      #2

      @serkan_tr Isn't there a qtcreator package for ubuntu? If so, install that with apt get install qtcreator (or whatever the exact name of the package might be.).

      JoeCFDJ 1 Reply Last reply
      1
      • A andi456

        @serkan_tr Isn't there a qtcreator package for ubuntu? If so, install that with apt get install qtcreator (or whatever the exact name of the package might be.).

        JoeCFDJ Offline
        JoeCFDJ Offline
        JoeCFD
        wrote on last edited by JoeCFD
        #3

        @andi456 or add the path of qtcreator to env PATH and it will work as well.
        For example: qtcreator is installed under /opt/qtcreator/bin, open .bashrc
        and add
        export PATH=/opt/qtcreator/bin:$PATH
        close file .bashrc. Open another terminal and you will be able to start it from command line.

        Another way to do it: add alias to .bashrc
        alias qtrun='/opt/qtcreator/bin/qtcreator &'

        Do not copy it into the /usr/bin. But you may try to add a softlink to it with ln -s

        serkan_trS 1 Reply Last reply
        2
        • JoeCFDJ JoeCFD

          @andi456 or add the path of qtcreator to env PATH and it will work as well.
          For example: qtcreator is installed under /opt/qtcreator/bin, open .bashrc
          and add
          export PATH=/opt/qtcreator/bin:$PATH
          close file .bashrc. Open another terminal and you will be able to start it from command line.

          Another way to do it: add alias to .bashrc
          alias qtrun='/opt/qtcreator/bin/qtcreator &'

          Do not copy it into the /usr/bin. But you may try to add a softlink to it with ln -s

          serkan_trS Offline
          serkan_trS Offline
          serkan_tr
          wrote on last edited by
          #4

          @JoeCFD thank you it worked

          1 Reply Last reply
          0
          • serkan_trS serkan_tr has marked this topic as solved on

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved