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. Set Paths for Qt
Forum Updated to NodeBB v4.3 + New Features

Set Paths for Qt

Scheduled Pinned Locked Moved Installation and Deployment
5 Posts 3 Posters 10.7k Views 1 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.
  • C Offline
    C Offline
    chcw
    wrote on last edited by
    #1

    I install Qt 4.8.3 and then want to build the "GettingStarted" sample, however,

    when I invoke

    qmake -project

    I get "not a internal or external command" error, which means qmake's path is not

    in the current path.

    I think I should add the path of qmake to the system path environment, but not

    sure if I should also add other paths for Qt library building and making, so is

    there a complete list of the paths to be configured before running it? A complete

    document will also be better.

    Thanks

    Alan

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Adding <qt dir>/bin to PATH is sufficient for most cases. Sometimes, setting QTDIR variable to <qt dir> is required, too. Or you can use a tool like QtCreator, which will manage allow you to run and develop Qt apps without changing system-wide environment.

      (Z(:^

      1 Reply Last reply
      0
      • C Offline
        C Offline
        chcw
        wrote on last edited by
        #3

        Hi,

        I have installed Qt 4.8.2 and Qt Creator(IDE). But when I start Qt Creator(IDE), then go to "Tools | Options | Build and Run" and click "Qt versions" tab, I find nothing in the "automatic". It seems my installation of Qt is not correct. Or am I missing somthing. Must I install the Qt SDK on my computer for development as well?

        Thanks

        Alan

        1 Reply Last reply
        0
        • D Offline
          D Offline
          deimos
          wrote on last edited by
          #4

          In “Qt versions” tab you can also "Manual add" your Qt installation. Also, if it is not set yet, you must choose a compiler in "Compiler" tab.

          1 Reply Last reply
          0
          • C Offline
            C Offline
            chcw
            wrote on last edited by
            #5

            THanks

            I add Qt to the Qt versions tab. Then when go to "Compiler" tab, I find the following compilers are being detected automatically:

            MS VC++ 9.0(x86)
            MS VC++ 9.0(amd64)

            but I cannot find a way to add MS VC++ 9.0(x64) since we need to build the app in both 32bit and 64bit target platform.

            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