Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Re-configure / re-compile a subset of Qt5

Re-configure / re-compile a subset of Qt5

Scheduled Pinned Locked Moved General and Desktop
9 Posts 2 Posters 2.7k Views
  • 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.
  • S Offline
    S Offline
    soroush
    wrote on last edited by
    #1

    Duo to "this issue":http://stackoverflow.com/questions/14500759/application-crashes-when-opening-a-mysql-database I would like to test the -plugin-sql-mysql instead of -qt-sql-mysql . I don't want to recompile whole Qt. how do I compile only SQL module?

    I'm using source tarball, not a git clone

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lgeyer
      wrote on last edited by
      #2

      @
      C:\qt> cd qtbase\src\sql
      C:\qt\qtbase\src\sql> mingw32-make
      @

      1 Reply Last reply
      0
      • S Offline
        S Offline
        soroush
        wrote on last edited by
        #3

        yes, but then

        @
        mingw32-make install
        @

        tries to compile everything

        1 Reply Last reply
        0
        • L Offline
          L Offline
          lgeyer
          wrote on last edited by
          #4

          I have to admit I never <code>mingw32-make install</code> Qt builds, but shouldn't
          @
          C:\qt> cd qtbase\src\sql
          C:\qt\qtbase\src\sql> mingw32-make install
          @
          just re-install the files related to the QtSql module (at least the Makefile implies that)?

          1 Reply Last reply
          0
          • S Offline
            S Offline
            soroush
            wrote on last edited by
            #5

            [quote author="Lukas Geyer" date="1359444328"]I have to admit I never <code>mingw32-make install</code> Qt builds, but shouldn't
            @
            C:\qt> cd qtbase\src\sql
            C:\qt\qtbase\src\sql> mingw32-make install
            @
            just re-install the files related to the QtSql module (at least the Makefile implies that)?[/quote]

            I think so. But it says no install target found

            1 Reply Last reply
            0
            • L Offline
              L Offline
              lgeyer
              wrote on last edited by
              #6

              Hm... that's interesting. The generated makefiles do have an install target, at least for me.
              @
              C:\qt\qtbase\src\sql> cat Makefile
              ...
              install: debug-install release-install
              ...
              debug-install: FORCE
              $(MAKE) -f $(MAKEFILE).Debug install

              C:\qt\qtbase\src\sql> cat Makefile.Debug
              ...
              install: install_dlltarget install_target install_class_headers install_targ_headers ...
              @

              1 Reply Last reply
              0
              • S Offline
                S Offline
                soroush
                wrote on last edited by
                #7

                Ahh... I have install too. But generated makefile looks damaged. The "install:" is in same line whith it's previous content. I know about the Carriage Return / New Line issue in Windows. I opened file with Wordpad. And this is first time I'm looking in it (not edited before).

                This is second problem I encounter about generating makefiles. In previous build, I have had a "similar problem":https://bugreports.qt-project.org/browse/QTBUG-28878. For some reason makefiles are not generated properly.

                1 Reply Last reply
                0
                • L Offline
                  L Offline
                  lgeyer
                  wrote on last edited by
                  #8

                  Do you have <code>sh.exe</code> in your path? This has caused problems for me before (although it has been a long time since I encountered one).

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    soroush
                    wrote on last edited by
                    #9

                    I have installed MSYS and msys-git. They are not in path.

                    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