Important: Please read the Qt Code of Conduct -

Qt Creator 2.0.0 and self made Qt 4.6.3 libraries

  • 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. 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?

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

  • Bingo!!! That was the solution.

    Thank you very much for your help :O)

Log in to reply