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. Trouble adding static build to QtCreator
Qt 6.11 is out! See what's new in the release blog

Trouble adding static build to QtCreator

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 2 Posters 2.3k 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.
  • D Offline
    D Offline
    dodgepong
    wrote on last edited by
    #1

    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: http://falsinsoft.blogspot.com/2011/12/building-static-qt-on-windows-with.html

    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.

    !http://i.imgur.com/hfRh0y1.png(Qt 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

    !http://i.imgur.com/VHNljrm.png(Qt build error)!

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

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

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

      Next, use explicit prefix when building:
      @
      configure -prefix

      (Z(:^

      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