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. Qt compiled the qtbase module with MinGW 64bit, but more modules?

Qt compiled the qtbase module with MinGW 64bit, but more modules?

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 871 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.
  • R Offline
    R Offline
    Rapidrain
    wrote on last edited by
    #1

    I've finally got Qt to compile with a 64bit MinGW--the qtbase module to be exact--no more.
    I used this configuration :

    /d/Qt64/qt-source/configure -prefix /d/Qt64/qt-build -I/d/Qt/Tools/mingw530_32/i686-w64-mingw32/include -confirm-license -debug-and-release -opensource -platform win32-g++ -opengl desktop -skip qtsvg -skip qtwebengine -skip qtspeech -skip qtremoteobjects -skip qtmacextras -skip qtx11extras -skip qtimageformats -skip qtandroidextras -skip qtserialport -skip qtserialbus -skip qtactiveqt -skip qtxmlpatterns -skip qtdeclarative -skip qtscxml -skip qtpurchasing -skip qtcanvas3d -skip qtgamepad -skip qt3d -skip qtwayland -skip qtconnectivity -skip qtwebsockets -skip qtwebchannel -skip qtsensors -skip qtmultimedia -skip qtdatavis3d -skip qtcharts -skip qtwinextras -skip qtgraphicaleffects -skip qtquickcontrols2 -skip qtquickcontrols -skip qtlocation -skip qttools -skip qtscript -skip qtwebview -skip qtnetworkauth -skip qttranslations -skip qtdoc -skip qtqa -qt-zlib -D ASSIMP_BUILD_NO_OWN_ZLIB -Wno-unknown-pragmas -Wa,-mbig-obj

    It skips all modules except for qtbase, gets done after about 6 hours and that is good enough to get my gui going.
    I've run make install on it too.

    I would now like to add more of these modules.

    Since this is a shadow-build I hope to add each module to what I already have in /qt-build, piece by piece.

    How exactly can I "add" these other modules, one at a time.

    Must I start with building qtbase...and if it seems to work.
    Erase all of it. And build qtbase and qtremoteobjects...if this works then
    Erase all of it. And build qtbase and qtremoteobjects and qtmacextras... and if this works...etc.

    Or can I build any singular module, like qtx11extras and just copy the folder 'qtx11extras' all to a nice place to store it like potatoes with all the other module folders?

    Or must I build qtx11extras and each of the modules every time together with qtbase???

    JKSHJ 1 Reply Last reply
    0
    • R Rapidrain

      I've finally got Qt to compile with a 64bit MinGW--the qtbase module to be exact--no more.
      I used this configuration :

      /d/Qt64/qt-source/configure -prefix /d/Qt64/qt-build -I/d/Qt/Tools/mingw530_32/i686-w64-mingw32/include -confirm-license -debug-and-release -opensource -platform win32-g++ -opengl desktop -skip qtsvg -skip qtwebengine -skip qtspeech -skip qtremoteobjects -skip qtmacextras -skip qtx11extras -skip qtimageformats -skip qtandroidextras -skip qtserialport -skip qtserialbus -skip qtactiveqt -skip qtxmlpatterns -skip qtdeclarative -skip qtscxml -skip qtpurchasing -skip qtcanvas3d -skip qtgamepad -skip qt3d -skip qtwayland -skip qtconnectivity -skip qtwebsockets -skip qtwebchannel -skip qtsensors -skip qtmultimedia -skip qtdatavis3d -skip qtcharts -skip qtwinextras -skip qtgraphicaleffects -skip qtquickcontrols2 -skip qtquickcontrols -skip qtlocation -skip qttools -skip qtscript -skip qtwebview -skip qtnetworkauth -skip qttranslations -skip qtdoc -skip qtqa -qt-zlib -D ASSIMP_BUILD_NO_OWN_ZLIB -Wno-unknown-pragmas -Wa,-mbig-obj

      It skips all modules except for qtbase, gets done after about 6 hours and that is good enough to get my gui going.
      I've run make install on it too.

      I would now like to add more of these modules.

      Since this is a shadow-build I hope to add each module to what I already have in /qt-build, piece by piece.

      How exactly can I "add" these other modules, one at a time.

      Must I start with building qtbase...and if it seems to work.
      Erase all of it. And build qtbase and qtremoteobjects...if this works then
      Erase all of it. And build qtbase and qtremoteobjects and qtmacextras... and if this works...etc.

      Or can I build any singular module, like qtx11extras and just copy the folder 'qtx11extras' all to a nice place to store it like potatoes with all the other module folders?

      Or must I build qtx11extras and each of the modules every time together with qtbase???

      JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      @Rapidrain said in Qt compiled the qtbase module with MinGW 64bit, but more modules?:

      Or can I build any singular module, like qtx11extras and just copy the folder 'qtx11extras' all to a nice place to store it like potatoes with all the other module folders?

      If you already have qtbase built, then you can use that to build a single module, and copy the built files over.

      Note: You can't use Qt X11 Extras on Windows, however

      Or must I build qtx11extras and each of the modules every time together with qtbase???

      You don't need to do this.

      I would now like to add more of these modules.

      Since this is a shadow-build I hope to add each module to what I already have in /qt-build, piece by piece.

      How exactly can I "add" these other modules, one at a time.

      I can't remember if you need to set the prefix again, but here's the gist of it:

      1. Navigate into the module's root folder.
      2. Run qmake (from your custom-built qtbase) on the module's *.pro file
      3. Run make and make install

      Something like this:

      > cd /d/Qt64/qt-source/qtwinextras
      > ../../qt-build/qmake.exe qtwinextras.pro
      > make
      > make install
      

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      R 1 Reply Last reply
      1
      • JKSHJ JKSH

        @Rapidrain said in Qt compiled the qtbase module with MinGW 64bit, but more modules?:

        Or can I build any singular module, like qtx11extras and just copy the folder 'qtx11extras' all to a nice place to store it like potatoes with all the other module folders?

        If you already have qtbase built, then you can use that to build a single module, and copy the built files over.

        Note: You can't use Qt X11 Extras on Windows, however

        Or must I build qtx11extras and each of the modules every time together with qtbase???

        You don't need to do this.

        I would now like to add more of these modules.

        Since this is a shadow-build I hope to add each module to what I already have in /qt-build, piece by piece.

        How exactly can I "add" these other modules, one at a time.

        I can't remember if you need to set the prefix again, but here's the gist of it:

        1. Navigate into the module's root folder.
        2. Run qmake (from your custom-built qtbase) on the module's *.pro file
        3. Run make and make install

        Something like this:

        > cd /d/Qt64/qt-source/qtwinextras
        > ../../qt-build/qmake.exe qtwinextras.pro
        > make
        > make install
        
        R Offline
        R Offline
        Rapidrain
        wrote on last edited by
        #3

        @JKSH Many thanks, this will save me a lot of time.

        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