1. 29 Apr, 2017 - 1 commit
  2. 22 Feb, 2017 - 4 commits
  3. 26 Jan, 2017 - 2 commits
    • Allan Sandfeld Jensen's avatar
      Optimize debug builds when -Og is available · d03ba0e8
      Allan Sandfeld Jensen authored
      
      Enables optimizing with -Og if GCC has the option available, this
      should produce faster debug binaries without compromising debugability.
      
      Is a privateConfig to limit it to the default Qt build.
      
      Includes two fixes for false positives of maybe_uninitialized triggered
      by -Og on gcc 4.9.
      
      Change-Id: I466d7a4070295714189024369312e6cbd36cfacf
      Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@qt.io>
      d03ba0e8
    • Thiago Macieira's avatar
      Remove the -no-rtti option from configure · dcfeeef9
      Thiago Macieira authored
      
      It only applied to Windows (not MSVC, like the help said) and the build
      was broken with this option. So remove it, as we clearly never test
      this.
      
      [ChangeLog][Windows] The -no-rtti configure option was removed, as Qt
      5.8 fails to build under that condition. To disable RTTI on user code,
      add to your .pro file: CONFIG += rtti_off.
      
      Change-Id: I2bc52f3c7a574209b213fffd149aae1b8d0cf9df
      Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@qt.io>
      dcfeeef9
  4. 04 Jan, 2017 - 1 commit
  5. 15 Dec, 2016 - 1 commit
  6. 13 Dec, 2016 - 1 commit
    • Oswald Buddenhagen's avatar
      nuke configure -host-option · 42196f40
      Oswald Buddenhagen authored
      
      in its current form, it was introduced only in 5.7, mostly as a side
      effect of -external-hostbindir (which is now handled differently).
      it only ever worked for the macOS and MinGW specs, as a side effect of
      them supporting -sdk and -device-option (for good reasons), and was
      supported only by the unix configure. it's not believed to be really
      useful and complicates matters somewhat, so get rid of it again.
      
      should it ever become actually relevant, it can be re-introduced
      properly, probably along with a -host-sdk option for macOS.
      
      Change-Id: Ib078469ea39deb821c7b6a8c67fda9e1a95fedf5
      Reviewed-by: default avatarLars Knoll <lars.knoll@qt.io>
      42196f40
  7. 12 Dec, 2016 - 1 commit
    • Giuseppe D'Angelo's avatar
      PCRE2: port QRegularExpression to PCRE2 · 9ca63548
      Giuseppe D'Angelo authored
      PCRE1 is going towards EOL. PCRE2 is the way forward in terms
      of new features, performance, and security improvements. The
      APIs that QRegularExpression uses are similar so the required
      modifications aren't extensive.
      
      The biggest difference comes to JIT-compiling of the pattern.
      
      In PCRE1, JIT-compiling did not modify the processed PCRE pattern,
      but returned a new chunk of data.
      
      This allowed multiple threads to keep matching using the same
      processed data and NULL for the JIT data, until a thread
      JIT-compiled and atomically set the shared JIT data to the results
      of the compilation.
      
      In PCRE2, JIT-compiling _modifies_ the processed PCRE pattern in a
      way that it's thread unsafe [1]; the results of JIT-compilation
      are stored somewhere inside the processed pattern.
      This means the above approach cannot work -- a thread may be
      matching while another one JIT-compiles, causing a data race.
      
      While waiting for better workarounds from upstream, employ a
      read/write mutex to protect the matching from JIT-compilation.
      
      [1] https://lists.exim.org/lurker/message/20160104.105831.3cb25b39.en.html
      
      
      
      [ChangeLog][General] QRegularExpression now requires the PCRE2
      library, at least version 10.20. Support for the PCRE1 library
      has been dropped. A copy of PCRE2 is shipped with Qt and will
      automatically be used on those platforms which lack it.
      
      Change-Id: I9fe11104230a096796df2d0bdcea861acf769f57
      Reviewed-by: default avatarThiago Macieira <thiago.macieira@intel.com>
      9ca63548
  8. 15 Nov, 2016 - 1 commit
  9. 07 Nov, 2016 - 1 commit
  10. 04 Oct, 2016 - 1 commit
  11. 19 Aug, 2016 - 1 commit
  12. 18 Aug, 2016 - 6 commits
    • Lars Knoll's avatar
      Make the ICO image format a configurable feature · 6903cad0
      Lars Knoll authored
      
      ... including a [-no]-ico command line option.
      
      Change-Id: I3cb13d2be72b512f72f8dcdb9de72e7a99e36e47
      Reviewed-by: default avatarLars Knoll <lars.knoll@qt.io>
      Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
      6903cad0
    • Lars Knoll's avatar
      Use the qmake based configuration system also on Windows · 97b856b7
      Lars Knoll authored
      
      Adapt configure.exe to use qmake to do most of the work of configuring
      Qt. This unifies a large part of our configuration system between Unix
      and Windows. configure.exe is now still doing the license check,
      creating qconfig.cpp, building qmake, and not much more.
      
      On the way, re-implement the still missing Windows-specific tests with
      the new system.
      
      The opengles2 vs. opengl-desktop conditions got a bit convoluted, as
      Unix prefers desktop GL, while Windows GLES2 (via ANGLE). Superficially,
      there is a circular dependency, but the platform scopes are supposed to
      break it.
      
      Done-with: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
      Change-Id: Ia1941f2c34b7f5bd4990a7673cd737361381c2e7
      Reviewed-by: default avatarLars Knoll <lars.knoll@qt.io>
      Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
      97b856b7
    • Oswald Buddenhagen's avatar
      make the windows configure also use config_help.txt · c027cffb
      Oswald Buddenhagen authored
      
      specifically, make configure.bat dump the text file (which got some
      windows-specific adjustments).
      
      incidentally, this change removes the need for including a pre-built
      configure.exe into our source packages.
      
      Change-Id: Ib3515c113f3602767554fe1493df226551a7bf10
      Reviewed-by: default avatarLars Knoll <lars.knoll@qt.io>
      c027cffb
    • Oswald Buddenhagen's avatar
      unify configure command line saving with configure.exe · 672c0b37
      Oswald Buddenhagen authored
      
      that is, save it to config.opt and recall it when -redo is used (and do
      not write it again in this case).
      
      a trivial config.status is still created, as having it is very
      convenient when shadow-building.
      
      Task-number: QTBUG-38792
      Change-Id: I5e9f7374d6bfc60c427cbfd5e9b3e68bfcaae9f2
      Reviewed-by: default avatarLars Knoll <lars.knoll@qt.io>
      672c0b37
    • Oswald Buddenhagen's avatar
      replace mechanism to override variables from the mkspecs · fd3e12e7
      Oswald Buddenhagen authored
      
      it is sometimes desirable to override values from the mkspec without
      modifying (or wrapping) the spec itself. linux distributors do this on a
      regular basis.
      
      so far, we'd pick up CFLAGS, etc. from the environment, in a somewhat
      autoconf-like fashion. however, over time, this approach proved
      problematic: the concept doesn't mix particularly well with mkspecs to
      start with, is unexpected (and therefore causes frustration), and
      doesn't mix well with cross-building (at least the way it was realized).
      ironically, it was implemented this way (quite a while ago) upon my
      explicit request ...
      
      the new mechanism uses explicit variable manipulations on the configure
      command line, just like qmake itself understands. as it happens, this is
      again quite similar to autoconf-generated configure scripts. however,
      this time around we don't pretend to be actually autoconf-like, so we
      also don't try to map any variable names (some of which have different
      semantics anyway).
      
      this commit also eliminates the last use of the QMakeVar() function,
      so delete it and the underlying infrastructure.
      
      Task-number: QTBUG-32530
      Task-number: QTBUG-42962
      Change-Id: Id31a6b80e1add08ca21f5b178614bda530d12374
      Reviewed-by: default avatarLars Knoll <lars.knoll@qt.io>
      fd3e12e7
    • Lars Knoll's avatar
      Add configure.exe-like FOO_LIBS=bar style command line options · 9172143f
      Lars Knoll authored
      
      Add the command line options supported by the windows version of
      configure and respect them when running our configure tests.
      
      Done-with: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
      Change-Id: I1206d60a177e251540d34d232c73c930847564b3
      Reviewed-by: default avatarLars Knoll <lars.knoll@qt.io>
      9172143f
  13. 11 Aug, 2016 - 2 commits
  14. 27 Jul, 2016 - 1 commit
  15. 13 Jul, 2016 - 1 commit
  16. 27 May, 2016 - 1 commit
    • Andy Shaw's avatar
      Turn off libproxy support by default · 5011b746
      Andy Shaw authored
      
      Since the system proxies are on by default now then we turn off
      libproxy support by default so that there is no risk of a conflict
      occurring.
      
      For instance on Linux, it is possible that libproxy indirectly causes
      KDE 4 libraries to be loaded which will cause a conflict with the Qt 5
      libraries. Therefore we turn it off by default, since the system
      proxy setting is the overall better one to have.
      
      [ChangeLog][Important Behavior Changes][QtNetwork] libproxy is now
      turned off by default. Configure with -libproxy in order to enable it
      again.
      
      Task-number: QTBUG-53649
      Change-Id: I0c6c5b9091dc2b2b7662fd44f2a1b49c622e563f
      Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
      Reviewed-by: default avatarRobin Burchell <robin.burchell@viroteck.net>
      Reviewed-by: default avatarRichard J. Moore <rich@kde.org>
      5011b746
  17. 25 May, 2016 - 1 commit
  18. 01 May, 2016 - 1 commit