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. Compile Qt 5.5.1 for Windows without Bearer Management
Qt 6.11 is out! See what's new in the release blog

Compile Qt 5.5.1 for Windows without Bearer Management

Scheduled Pinned Locked Moved General and Desktop
5 Posts 3 Posters 1.8k 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
    naftali
    wrote on last edited by naftali
    #1

    I'm following the online guide to compile Qt from source.

    I managed to configure my environment using configure.bat -opensource -nomake examples -nomake tests

    But the final compilation now requires my application to have the bearer plugin shipped along. Despite having more files to ship, it is also causing some errors in the field.

    So I wanted to recompile Qt removing this feature like the compiled version that can be downloaded in Qt's website.

    By reading the online configure options manual, I could see that it supports the parameter -no-feature-<feature> where <feature> is the name listed inside qtbase/src/corelib/global/qfeatures.txt.

    This is true for the configure.sh file, but on Windows the file that is run is configure.exe which does not support this parameter.

    So I opened up the configure source code and saw that these options are hard-coded (rather than read from the qfeatures.txt) and is used differently: -no-<feature> instead of the documented -no-feature-<feature>.

    But, I could not see inside the configure.exe source code how can I disable the Bearer Management plugin, since the -no-bearermanagement parameter is not coded.

    My question is: How can I compile Qt 5.5.1 on Windows (with Visual Studio 2013) disabling the Bearer Management plugin?

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

      I solved the problem by changing the configureapp.cpp source adding support for the Bearer Management switch.

      How can I submit this patch to Qt's source base to be evaluated?

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi and welcome to devnet,

        The gerrit guide is the starting point :)

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • N Offline
          N Offline
          naftali
          wrote on last edited by
          #4

          Thank you ;)

          1 Reply Last reply
          0
          • U Offline
            U Offline
            user123456789
            wrote on last edited by
            #5

            where did you put the patch for disabling bearermanager? Do you have a link?

            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