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. How to build the Qt 4.8 tech preview with MinGW?
Forum Updated to NodeBB v4.3 + New Features

How to build the Qt 4.8 tech preview with MinGW?

Scheduled Pinned Locked Moved Installation and Deployment
12 Posts 6 Posters 9.1k 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.
  • N Offline
    N Offline
    nonot1
    wrote on last edited by
    #1

    Hello,

    How can I build the Qt 4.8 tech preview with mingw?

    The "how-to page":http://developer.qt.nokia.com/wiki/Category:HowTo lists all sorts of static/standalone variations, but I don't see any simple recipe for a plain-vanilla "mingw on windows from qt source" build.

    So, I made an empty one: http://developer.qt.nokia.com/wiki/Building_Qt_Desktop_for_Windows_with_MinGW

    Can anyone help me figure out the correct steps and flesh out the page?

    Thank you

    1 Reply Last reply
    0
    • N Offline
      N Offline
      nonot1
      wrote on last edited by
      #2

      Anybody? Does it exist somewhere, and I'm just missing it?

      1 Reply Last reply
      0
      • C Offline
        C Offline
        Chuck Gao
        wrote on last edited by
        #3

        Brief Steps:

        1. configure
        2. mingw32-make
        3. mingw32-make install

        Is that you want ?

        Chuck

        1 Reply Last reply
        0
        • S Offline
          S Offline
          sigrid
          wrote on last edited by
          #4

          The following "FAQ":http://developer.qt.nokia.com/faq/answer/how_can_i_set_up_my_environment_for_building_qt_qt_applications_with_mingw lists the necessary steps.

          1 Reply Last reply
          0
          • N Offline
            N Offline
            nonot1
            wrote on last edited by
            #5

            Thanks. I did not see that FAQ.

            Is this information correct that Qt requires a very specific patched version of MinGW to build?

            If so, why?

            1 Reply Last reply
            0
            • N Offline
              N Offline
              nonot1
              wrote on last edited by
              #6

              Bump. Anybody?

              1 Reply Last reply
              0
              • T Offline
                T Offline
                thierry
                wrote on last edited by
                #7

                The patched version is a version with more support for DirectShow. That is required if you want to build the phonon DirectShow backend.
                Other than that we require mingw-gcc 4.4.0 or up.

                ...and yes we probably need to update the docs ;-)

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  sigrid
                  wrote on last edited by
                  #8

                  We have now updated the "FAQ":http://developer.qt.nokia.com/faq/answer/how_can_i_set_up_my_environment_for_building_qt_qt_applications_with_mingw to reflect this.

                  1 Reply Last reply
                  0
                  • P Offline
                    P Offline
                    Peter Pan
                    wrote on last edited by
                    #9

                    Hi,

                    I'm desperately trying to compile Qt 4.8-beta (from the git repository) on Windows 7 (64bit) with MinGW (gcc version 4.5.2, separate install).

                    I followed the build instructions found here: http://developer.qt.nokia.com/faq/answer/how_can_i_set_up_my_environment_for_building_qt_qt_applications_with_mingw

                    The configure.exe step bails out with "project.h:45:25: fatal error: qstringlist.h: No such file or directory".

                    Any hints?

                    Cheers
                    Peter

                    1 Reply Last reply
                    0
                    • P Offline
                      P Offline
                      Peter Pan
                      wrote on last edited by
                      #10

                      I found out that compiling from the git repo. does not work. The tarball, however, can be compiled. Why is this?

                      1 Reply Last reply
                      0
                      • V Offline
                        V Offline
                        vsorokin
                        wrote on last edited by
                        #11

                        Do you tried build from "master" branch or from "4.8"?
                        Just in git repo keep all last changes for branch, and it is not guaranteed that it will build, however tarball have guarantee for build

                        --
                        Vasiliy

                        1 Reply Last reply
                        0
                        • P Offline
                          P Offline
                          Peter Pan
                          wrote on last edited by
                          #12

                          I tried to build from the "4.8" branch. But the same compile error (see post from 26th July) happens with the checkout of the "4.7.3" branch. That somehow puzzles me...

                          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