Nominate our 2022 Qt Champions!

Connecting Qt SDK to

  • Hello,

    I am trying to connect Qt SDK to the so I can download older versions of Qt (4.4.0) to build an old project. I've entered the address as a User Defined Repository but I get an error message saying "URL scheme not supported". Any help with this would be well appreciated. Thank you very much.

    Best regards

  • Moderators

    You need to use git for that, not the SDK.

  • Thank you. Is it possible to configure the Qt SDK Updater to access a local directory after I do that? Thanks again!

  • Moderators

    I don't know, I don't use the SDK.

    If you mean "will this new Qt version be available in Qt Creator?" then the answer is yes - you ust need to add it in options->Build & Run->Qt Versions (well, depends on how you configure Qt build - sometimes QtC will pick it up automatically).

  • I've been pulling teeth for the last few days to make that to happen... I keep getting build errors when I run nmake. Can you please walk me through how you actually get it to build with whatever method you use? I thank you very much in advance.

  • Moderators

    uuh, Windows, that's always tricky. OK let's try. This will be a shortened, concise list, if any step is unclear or does not work, ask.

    Don't use source code provided by Qt Nokia SDK, it's not fit for building (I don't know why, but that's what people do say).

    Assuming you use a new version (Qt >= 4.8), you need Perl in your path. For Qt5, the list also includes ICU, Python and probably Ruby (I know... :().

    Decide which compiler you want to use. Since you mentioned nmake, I suppose you are interested in MSVC. Note that only Qt4.8.4 is prepared for MSVC2012. You saind about Qt 4.4 in your first post - I suspect this one might be unaware of MSVC2010, too.

    Remember, MSVC and GCC are not binary compatible. Additionally, MSVC tends not to be BC between releases. This means you have to compile your programs with the same compiler that was used to build Qt.

    So, get your code from gitorious or Qt Project downloads (.zip package, don't use tar.gz on Windows). Unpack it if needed.

    Open cmd.exe (preferably one found in MS VisualStudio that has all the paths already set up).

    Verify compiler is there by running "cl".

    cd into Qt sources, type configure.exe -prefix

Log in to reply