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. [Outdated: Using 5.2.1 with QTC 3.0.1 now] Compile Qt 5.2 Qt Creator 3.0 on Win 7 / MingW32: Some Probs:
Qt 6.11 is out! See what's new in the release blog

[Outdated: Using 5.2.1 with QTC 3.0.1 now] Compile Qt 5.2 Qt Creator 3.0 on Win 7 / MingW32: Some Probs:

Scheduled Pinned Locked Moved Installation and Deployment
35 Posts 3 Posters 17.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.
  • sierdzioS Offline
    sierdzioS Offline
    sierdzio
    Moderators
    wrote on last edited by
    #26

    Your determination is quite astounding :) Good luck, mate.

    (Z(:^

    1 Reply Last reply
    0
    • MeerMusikM Offline
      MeerMusikM Offline
      MeerMusik
      wrote on last edited by
      #27

      [quote author="sierdzio" date="1386922264"]Your determination is quite astounding :) Good luck, mate.[/quote]

      It still is there. Yeah Thanks :)

      I did a quick Check and Qt Creator cant find Files like QApplication and QWebView and even not QObject and QMainWindow. But the Files are in the Qt-Build Subfolders. Also if i load my Project it says "Unknown Module(s) in webkitwidgets". And in the UI Designer, the WebView Stuff is gone.

      Seems i need to build this manually even as i have build Qt with the -ICU Paramter and the Webkit and Webkit-Examples Folders are in Place.

      But i am not sure what i can do about the "Files not Found" - other than copy things from a to b.

      For Building the Webkit i will try these Instructions
      trac.webkit.org/wiki/BuildingQtOnWindows
      I hope after 1 Year that they are still valid.

      And for the (not really) missing Files: "Playtime!"

      I have come that far, now i want everything :)

      1 Reply Last reply
      0
      • MeerMusikM Offline
        MeerMusikM Offline
        MeerMusik
        wrote on last edited by
        #28

        I tried to make Webkit and was forced to rename \Gnuwin32\bin\flex.exe to win_flex.exe (WebKit is looking for win_flex.exe which leads to an error). And i need many many other things too like fonconfig, SQLite and so on,

        This will take a while...

        1 Reply Last reply
        0
        • MeerMusikM Offline
          MeerMusikM Offline
          MeerMusik
          wrote on last edited by
          #29

          Compiling Webkit now with above Instructions.

          Question: Is there a Parameter for mingw32-make (or the other build tools) to build the Webkit only?

          Edit 01: Compiler Stops with Error 1: "Win_Flex unknown flag '-' and "[generated/glslang_lex.cpp] Error 1"

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

            [quote author="MeerMusik" date="1386939965"]Question: Is there a Parameter for mingw32-make (or the other build tools) to build the Webkit only?[/quote]

            @
            cd qtwebkit
            mingw32-make
            @

            Or in root dir:
            @
            mingw32-make webkit
            @

            (Z(:^

            1 Reply Last reply
            0
            • MeerMusikM Offline
              MeerMusikM Offline
              MeerMusik
              wrote on last edited by
              #31

              [quote author="sierdzio" date="1386940283"][quote author="MeerMusik" date="1386939965"]Question: Is there a Parameter for mingw32-make (or the other build tools) to build the Webkit only?[/quote]

              @
              cd qtwebkit
              mingw32-make
              @

              Or in root dir:
              @
              mingw32-make webkit
              @[/quote]

              Thanks. Thats simpler than i thought.

              I tried that and get "*** no rule to make target webkit. stop"

              Time to clean things up - again.

              1 Reply Last reply
              0
              • MeerMusikM Offline
                MeerMusikM Offline
                MeerMusik
                wrote on last edited by
                #32

                Sorry its me again: I have run qmake and i get the configuration warning

                "! Qt not configured to use system libjpeg, QImageDecoder will Decode JPEG images" and
                ! Qt not configured to use system libpng, QImageDecoder will Decode PNG images" <<-- Can ignore this or must i prepare my Apps in future some how?

                Thanks!

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

                  Most probably you can ignore this.

                  (Z(:^

                  1 Reply Last reply
                  0
                  • MeerMusikM Offline
                    MeerMusikM Offline
                    MeerMusik
                    wrote on last edited by
                    #34

                    Hello Again.

                    I decided to build Qt 5.2 again - and this time Webkit got compiled and QWebview is shown in Designer.

                    But: Compiling Qt Creator 3.0:
                    I am back to that dumb Problem that qmake says
                    "Utils.pro -> Missing Module(s) in Qt: Script". No matter what i try.

                    Even when i check this QBS Stuff out with Git.
                    And when i do qmake without "-r", everything seems to be fine and MingW32-make builds the "AggregationSystemD.dll" "ExtensionSystemD.dll". But he crashs at "UtilsD.dll"

                    Get an Error when he tries to built:
                    "Unknown Module(s) in Qt: Script"

                    Well its Playtime again.
                    EDIT 01: Erased QtScript Folder and running mingw32-make again...
                    EDIT 02: QtScript compiled without Error but compiling Qt Creator still dont work

                    1 Reply Last reply
                    0
                    • MeerMusikM Offline
                      MeerMusikM Offline
                      MeerMusik
                      wrote on last edited by
                      #35

                      Hello and good morning Forum :)

                      Oh man I cant believe it: I have lost 1.5 Days for looking through the qt-project Forum, Google and many many other Sites.

                      And the Reason why i cant Compile Qt Creator ["Utils.pro -> Unknown Module(s) in Qt: Script"] is that simple (and also that dumb):

                      After successfully building Qt 5.2, make sure to run
                      "mingw32-make install" (just be sure everything is in Place) - i had some probs even with the Parameter "-developer-build".

                      And then
                      "mingw32-make clean"

                      to remove the temporary Files or you [well at least i ;)] cant compile Qt Creator.

                      One negative thing I have read about the Clean Parameter: It will also remove the Debugger Symbols and some People had to recompile Qt completely. Not sure if i can avoid this by putting the Release and Debug Libraries (or the whole Qt "Kit") into seperate Folders.

                      But this is something i will try in February 2014 when the 5.2.1 Final is (expected [planned to be]) released.

                      The noob is now going to waste more time for compiling Qt Creator ;)
                      Start compiling at 11:41AM GMT+1

                      Have a nice Day everyone :)
                      Update 01:

                      First Compilation Try failed ("-lqbscored1" error thingy). I have tried the Variant with "git clone --recursive" and it works. Now setting up the System. Will report back if i run into more Probs :)

                      Update 02: Anothing i have learnt: Dont be an Idiot like me and run "mingw32-make docs" and "mingw32-make translations" BEFORE You run "mingw32-make clean" or the Documentation for Qt and Creator cant be build. Luckily i did a Full Backup of the Qt Folder before i ran "mingw32-make clean".

                      My Steps for doing this Stuff in the Future:
                      @
                      1.) First compile Qt
                      2.) Run "mingw32-make"
                      When Qt is successfully compiled:
                      3.) Run "mingw32-make docs"
                      4.) Run "mingw32-make translations"

                      When its done witout Errors:
                      5.) Compile Qt Creator
                      6.) redo Steps 3 and 4 (but this time while being in the Qt Creator Folder of course)
                      7.) Start Qt Creator and Happy coding :)
                      @

                      I wish you all a peaceful Sunday evening and a wonderful start in the new Week.
                      Greetings
                      The Noob aka Oliver ;)

                      Edit 03: Forget it. I ran into that long existing Bug, that i cant create the Documentation when i use "-prefix". Even i have used the Parameter "-developer-build". Trying to get things in order. Some how. Some Day. Maybe.

                      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