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. How to set QT directory as default?
Forum Updated to NodeBB v4.3 + New Features

How to set QT directory as default?

Scheduled Pinned Locked Moved Solved Installation and Deployment
3 Posts 2 Posters 401 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.
  • J Offline
    J Offline
    JANG SOONMYUN
    wrote on 3 May 2021, 06:39 last edited by
    #1

    Hi, I'm installing QT5 in Jetson Xavier from source.

    https://wiki.qt.io/Building_Qt_5_from_Git
    I followed the above tutorial, and installed in one folder.

    However, I cannot use any command of QT on terminal, such as "qmake --version".
    If I want to use that command, I have to run like "/path/to/qt-build/qtbase/bin/qmake --version"

    None of QT tools works in terminal. How could I set every modules in PATH correctly?

    J 1 Reply Last reply 3 May 2021, 06:40
    0
    • J JANG SOONMYUN
      3 May 2021, 06:39

      Hi, I'm installing QT5 in Jetson Xavier from source.

      https://wiki.qt.io/Building_Qt_5_from_Git
      I followed the above tutorial, and installed in one folder.

      However, I cannot use any command of QT on terminal, such as "qmake --version".
      If I want to use that command, I have to run like "/path/to/qt-build/qtbase/bin/qmake --version"

      None of QT tools works in terminal. How could I set every modules in PATH correctly?

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 3 May 2021, 06:40 last edited by
      #2

      @JANG-SOONMYUN said in How to set QT directory as default?:

      How could I set every modules in PATH correctly?

      Well, add the directories you need to PATH:

      PATH=$PATH:/path/to/qt-build/qtbase/bin
      

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      J 1 Reply Last reply 3 May 2021, 06:57
      0
      • J jsulm
        3 May 2021, 06:40

        @JANG-SOONMYUN said in How to set QT directory as default?:

        How could I set every modules in PATH correctly?

        Well, add the directories you need to PATH:

        PATH=$PATH:/path/to/qt-build/qtbase/bin
        
        J Offline
        J Offline
        JANG SOONMYUN
        wrote on 3 May 2021, 06:57 last edited by
        #3

        @jsulm Thank you a lot. Solved it.

        1 Reply Last reply
        0

        1/3

        3 May 2021, 06:39

        • Login

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