Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. What should I add to the PATH? [SOLVED]
Forum Updated to NodeBB v4.3 + New Features

What should I add to the PATH? [SOLVED]

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 2 Posters 925 Views 2 Watching
  • 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.
  • sosunS Offline
    sosunS Offline
    sosun
    wrote on last edited by sosun
    #1

    I found that I should add only qt_folder/bin to the PATH variable, is this true? Also, I don't see structure like this in my folder, where I've installed Qt. I tried to add /home/john/Qt5.5.0/5.5/gcc_64/bin:$PATH (yes, I did my installation in the home dir), but when I execute which qt an output would be:
    which: no qt in (/home/john/Qt5.5.0/5.5/gcc_64/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl). Also, do I need quotes when setting some variables in the PATH?

    Thanks.

    JKSHJ 1 Reply Last reply
    0
    • sosunS sosun

      I found that I should add only qt_folder/bin to the PATH variable, is this true? Also, I don't see structure like this in my folder, where I've installed Qt. I tried to add /home/john/Qt5.5.0/5.5/gcc_64/bin:$PATH (yes, I did my installation in the home dir), but when I execute which qt an output would be:
      which: no qt in (/home/john/Qt5.5.0/5.5/gcc_64/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl). Also, do I need quotes when setting some variables in the PATH?

      Thanks.

      JKSHJ Online
      JKSHJ Online
      JKSH
      Moderators
      wrote on last edited by
      #2

      Hi @sosun ,

      You don't need to add anything to your PATH.

      In fact, you should not add anything to your PATH -- people who do this often encounter crashes (due to the wrong libraries being loaded).

      but when I execute which qt... an output would be:
      which: no qt in (/home/john/Qt5.5.0/5.5/gcc_64/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl).

      That's because there is no file called qt (which is normal). Instead, launch Qt Creator to start coding.

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      1 Reply Last reply
      0
      • sosunS Offline
        sosunS Offline
        sosun
        wrote on last edited by
        #3

        @JKSH , oh thanks! You made it clear to me.

        1 Reply Last reply
        0

        • Login

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