Trouble adding static build to QtCreator

  • I'm pretty new to Qt development and am trying to build Qt statically on Windows for distribution with my open source project. I've been trying to follow this guide so far:

    Here is my configure command: configure -release -platform win32-g++ -opensource -nomake examples -nomake tests -static

    Using the MinGW tools that came with the download bundle, and it appears that the build succeeds, but when I go to add the new Qt version to QtCreator, the following notices appear:

    Non-installed -prefix build - for internal development only
    No qmlscene installed.
    No qmlveriwer installed.

    ! Version Notices)!

    If I add it to a new kit anyway, and switch my project to use the static kit and dry to build, I get the following error:

    Unknown module(s) in QT: script

    ! build error)!

    I'm certain I'm just doing something very wrong, as a new user of Qt. Can anyone give me some guidance?

  • Moderators

    First, don't use a tutorial from 2 years ago. It's outdated.

    Next, use explicit prefix when building:
    configure -prefix

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.