Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Creator 2.0.0 and self made Qt 4.6.3 libraries
QtWS25 Last Chance

Qt Creator 2.0.0 and self made Qt 4.6.3 libraries

Scheduled Pinned Locked Moved Qt Creator and other tools
3 Posts 2 Posters 3.4k 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.
  • U Offline
    U Offline
    Uwe Kindler
    wrote on last edited by
    #1

    Hi,

    I have a problem using Qt Creator (Win32) with self built Qt 4.6.3 libraries (MinGW). The libraries are built on a different machine and so the Qt directory on my machine differs from the Qt build directory. That means the build directory is C:/build/qt and the Qt directory on my machine is C:/use/qt. The Qt Creator settings display that Qt Creater has automatically detected my Qt version from PATH at C:/use/qt. The detected qmake and MinGW paths are correct and everything seems o.k. But as soon as I start build of an example project (i.e. dials.pro) the build console reports the following error:

    process_begin: CreateProcess(NULL, c:/build/qt/bin/uic.exe ../dials/dials.ui -o ui_dials.h, ...) failed.
    make (e=3): The system can't find the provided path

    That means Qt Creator tries to use the Qt version from build directory (C:/build/qt) altough it reports that it has detected qt on another directory (C:/use/qt). I tried to copy a qt.conf file to the Qt Creator bin directory that points to my Qt path but that did not help. Using the self made libraries with eclipse + qt.conf file is no problem. I need to use self made Qt 4.6.3 because we use gcc 4.5.0.

    Any ideas how to use Qt Creator with a self made Qt library that is not installed in the place where it has been built?

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lyuts
      wrote on last edited by
      #2

      You need to regenerate makefiles, so they contain the new path "C:\use\qt".

      I'm a rebel in the S.D.G.

      1 Reply Last reply
      0
      • U Offline
        U Offline
        Uwe Kindler
        wrote on last edited by
        #3

        Bingo!!! That was the solution.

        Thank you very much for your help :O)

        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