Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-14104

qt3support ideally be disabled by default in configure

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Out of scope
    • Icon: P2: Important P2: Important
    • 4.8.x
    • None
    • Build System
    • None

      Ideally Qt3support is disabled by default in configure this will aid in:

      • encouraging maintainers of code using Qt3 support to migrate to Qt4 equivalents
      • reducing the compilation time and size of Qt binaries

      Draft change to have Qt3 support disabled in configure by default under *nix:

      diff --git a/configure b/configure
      index 89cd97d..0bb8507 100755
      --- a/configure
      +++ b/configure
      @@ -746,7 +746,7 @@ CFG_NAS=no
       CFG_QWS_DEPTHS=all
       CFG_USER_BUILD_KEY=
       CFG_ACCESSIBILITY=auto
      -CFG_QT3SUPPORT=yes
      +CFG_QT3SUPPORT=no
       CFG_ENDIAN=auto
       CFG_HOST_ENDIAN=auto
       CFG_DOUBLEFORMAT=auto
      @@ -3547,8 +3547,8 @@ fi
       
           -system-sqlite ..... Use sqlite from the operating system.
       
      -    -no-qt3support ..... Disables the Qt 3 support functionality.
      - *  -qt3support ........ Enables the Qt 3 support functionality.
      + *  -no-qt3support ..... Disables the Qt 3 support functionality.
      +    -qt3support ........ Enables the Qt 3 support functionality.
       
           -no-xmlpatterns .... Do not build the QtXmlPatterns module.
        +  -xmlpatterns ....... Build the QtXmlPatterns module.
      

      Draft change to have Qt3 support disabled in configure by default under Win32 (not tested due to lack missing requirement, suitable Symbian environment):

       
      diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cppindex b35f454..46da465 100644
      --- a/tools/configure/configureapp.cpp
      +++ b/tools/configure/configureapp.cpp
      @@ -309,7 +309,7 @@ Configure::Configure( int& argc, char** argv )
           dictionary[ "LIBMNG" ]          = "auto";
           dictionary[ "FREETYPE" ]        = "no";
      
      -    dictionary[ "QT3SUPPORT" ]      = "yes";
      +    dictionary[ "QT3SUPPORT" ]      = "no";
           dictionary[ "ACCESSIBILITY" ]   = "yes";
           dictionary[ "OPENGL" ]          = "yes";
           dictionary[ "OPENVG" ]          = "no";
      

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            buddenha Oswald Buddenhagen
            tmacieir Thiago Macieira (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes