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.
  • S Offline
    S Offline
    serkan_tr
    wrote on 10 May 2023, 17:37 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 10 May 2023, 17:52
    0
    • S serkan_tr
      10 May 2023, 17:37

      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 10 May 2023, 17:52 last edited by andi456 5 Oct 2023, 17:52
      #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.).

      J 1 Reply Last reply 10 May 2023, 18:12
      1
      • A andi456
        10 May 2023, 17:52

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

        J Offline
        J Offline
        JoeCFD
        wrote on 10 May 2023, 18:12 last edited by JoeCFD 5 Oct 2023, 18:15
        #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

        S 1 Reply Last reply 25 May 2023, 05:04
        2
        • J JoeCFD
          10 May 2023, 18:12

          @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

          S Offline
          S Offline
          serkan_tr
          wrote on 25 May 2023, 05:04 last edited by
          #4

          @JoeCFD thank you it worked

          1 Reply Last reply
          0
          • S serkan_tr has marked this topic as solved on 25 May 2023, 05:04

          • Login

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