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?
QtWS25 Last Chance

How to set QT directory as default?

Scheduled Pinned Locked Moved Solved Installation and Deployment
3 Posts 2 Posters 395 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 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?

    jsulmJ 1 Reply Last reply
    0
    • J JANG SOONMYUN

      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?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on 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
      0
      • jsulmJ jsulm

        @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 last edited by
        #3

        @jsulm Thank you a lot. Solved it.

        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