1. 07 Feb, 2019 - 7 commits
    • Morten Johan Sørvig's avatar
      Wasm: Implement QThread::idealThreadCount() · c1f4286a
      Morten Johan Sørvig authored
      
      Read the navigator.hardwareConcurrency property.
      
      Task-number: QTBUG-64625
      Change-Id: I2ad582b67e4b0ddac3e3c21febab55543b2e1d6d
      Reviewed-by: default avatarLorn Potter <lorn.potter@gmail.com>
      v5.13.0-alpha1
      c1f4286a
    • Morten Johan Sørvig's avatar
      Wasm: enable thread support · de4f256d
      Morten Johan Sørvig authored
      
      configure.json: Make the “thread” feature be allowed
      for wasm but disabled by default.
      
      Change qmake.conf and wasm.prf to enable Emscripten
      pthreads mode:
      - Add USE_PTHREADS=1 linker flag
      - Add PTHREAD_POOL_SIZE linker flag with a default pool size (4).
      - Add TOTAL_MEMORY linker flag to set available memory (1GB)
      
      It is possible to override options such as PTHREAD_POOL_SIZE
      from the application .pro file using QMAKE_WASM_PTHREAD_POOL_SIZE
      To change TOTAL_MEMORY, use QMAKE_WASM_TOTAL_MEMORY
      
      Make qtloader.js work in pthreads mode:
      - The Module.instantiateWasm callback must provide the module
        in addition to the instance to Emscripten.
      - Set Module.mainScriptUrlOrBlob so that the pthreads web workers
        can access the main script
      
      Task-number: QTBUG-64625
      Change-Id: I1ab5a559ec97c27c5fc24500ba5f863bcd275141
      Reviewed-by: default avatarMorten Johan Sørvig <morten.sorvig@qt.io>
      Reviewed-by: default avatarLorn Potter <lorn.potter@gmail.com>
      de4f256d
    • Morten Johan Sørvig's avatar
      Wasm: enable source map support for debug builds · 6e7a7d5f
      Morten Johan Sørvig authored
      
      The source map location can be configured by setting
      QMAKE_WASM_SOURCE_MAP_BASE in the .pro file. Fall back
      to “http://localhost:8000” if not set.
      
      Task-number: QTBUG-72002
      Change-Id: I9da80dacdefc272f267e5db4caac274d93ba4479
      Reviewed-by: default avatarLorn Potter <lorn.potter@gmail.com>
      6e7a7d5f
    • Allan Sandfeld Jensen's avatar
      Improve ARGB32ToRGBA64 conversions · 60addee9
      Allan Sandfeld Jensen authored
      
      Improves the precision so 255 values map to 65535 exactly.
      
      Change-Id: I366f408e8c6047d52acbed35e9d665249bbaba2b
      Reviewed-by: default avatarThiago Macieira <thiago.macieira@intel.com>
      60addee9
    • Morten Johan Sørvig's avatar
      wasm: add public API for local file access · 928cab5f
      Morten Johan Sørvig authored
      
      The web sandbox restricts access to the local file system,
      which means Qt needs new public API to provide such
      access to applications.
      
      This adds a new static, asynchornous getOpenFileContent()
      function to QFileDialog, which will show a file dialog,
      read the file contents once a file has been selected, and
      finally call the user-provided callback with the selected
      file name and file data.
      
        auto fileReady = [](const QString &fileName, const QByteArray &fileContents) {
          // Process file
        }
        QFileDialog::getOpenFileContent("*.*", fileReady);
      
      This API can be expanded in at least two ways in the
      future: allow reading multiple files, and allow file
      streaming by returning a QOIDevice.
      
      Change-Id: I011b92fbcf21f0696604e66b7f9eb265c1a07aaa
      Reviewed-by: default avatarLorn Potter <lorn.potter@gmail.com>
      928cab5f
    • Morten Johan Sørvig's avatar
      wasm: add local file access private API · 790cf25f
      Morten Johan Sørvig authored
      
      Access to the local file system is restricted by the
      Web sandbox, and a separate API an implementation is
      needed to facilitate this for Qt applications.
      
      This adds a private asynchronous callback-based C++
      API for opening a file dialog and reading file content.
      
      The implementation uses a file input html element to
      show a file dialog, and then the uses the native File
      and FileReader APIs to read the selected file(s).
      
      Change-Id: I4e28baa032d7c3cd63241465f0ae55efd219a05b
      Reviewed-by: default avatarLorn Potter <lorn.potter@gmail.com>
      790cf25f
    • Morten Johan Sørvig's avatar
      wasm: add qstdweb private API · c58df2d1
      Morten Johan Sørvig authored
      
      qstdweb provides a C++ API covering parts of the DOM API
      useful for implementing Qt. This currently includes
      ArrayBuffer, Blob, File, FileReader, and Uint8Array.
      
      The implementation uses emscripten::val, which currently
      proxies via JavaScript, but should at some point be
      able to acccess the DOM directly, once WebAssembly
      gains such access.
      
      This API should be easier to use than the string-and-casting
      emscripten::val API. It is currently private, and can
      be changed and extended as needed.
      
      Change-Id: I95a2ad735e511c8da61f3cc21357fbffe3b05d8e
      Reviewed-by: default avatarLorn Potter <lorn.potter@gmail.com>
      c58df2d1
  2. 06 Feb, 2019 - 14 commits
    • Friedemann Kleint's avatar
      Fix some deprecation warnings in examples · 5c98d15a
      Friedemann Kleint authored
      
      googlesuggest.cpp:163:36: warning: ‘void QTreeWidgetItem::setTextColor(int, const QColor&)’ is deprecated: Use QTreeWidgetItem::setForeground() instead [-Wdeprecated-declarations]
      xbeltree.cpp:187:34: warning: ‘void QTreeWidget::setItemExpanded(const QTreeWidgetItem*, bool)’ is deprecated: Use QTreeWidgetItem::setExpanded() instead [-Wdeprecated-declarations]
      imageitem.cpp:114:21: warning: ‘void QGraphicsItem::setMatrix(const QMatrix&, bool)’ is deprecated: Use setTransform() instead [-Wdeprecated-declarations]
      xbelreader.cpp:143:48: warning: ‘void QTreeWidget::setItemExpanded(const QTreeWidgetItem*, bool)’ is deprecated: Use QTreeWidgetItem::setExpanded() instead [-Wdeprecated-declarations]
      xbelgenerator.cpp:103:55: warning: ‘bool QTreeWidget::isItemExpanded(const QTreeWidgetItem*) const’ is deprecated: Use QTreeWidgetItem::isExpanded() instead [-Wdeprecated-declarations]
      xbelwriter.cpp:90:55: warning: ‘bool QTreeWidget::isItemExpanded(const QTreeWidgetItem*) const’ is deprecated: Use QTreeWidgetItem::isExpanded() instead [-Wdeprecated-declarations]
      xbelhandler.cpp:97:50: warning: ‘void QTreeWidget::setItemExpanded(const QTreeWidgetItem*, bool)’ is deprecated: Use QTreeWidgetItem::setExpanded() instead [-Wdeprecated-declarations]
      node.cpp:180:60: warning: ‘QColor QColor::light(int) const’ is deprecated: Use QColor::lighter() instead [-Wdeprecated-declarations]
      node.cpp:181:64: warning: ‘QColor QColor::light(int) const’ is deprecated: Use QColor::lighter() instead [-Wdeprecated-declarations]
      chip.cpp:82:81: warning: ‘QColor QColor::dark(int) const’ is deprecated: Use QColor::darker() instead [-Wdeprecated-declarations]
      chip.cpp:84:40: warning: ‘QColor QColor::light(int) const’ is deprecated: Use QColor::lighter() instead [-Wdeprecated-declarations]
      chip.cpp:108:93: warning: ‘QColor QColor::dark(int) const’ is deprecated: Use QColor::darker() instead [-Wdeprecated-declarations]
      roundrectitem.cpp:65:42: warning: ‘QColor QColor::dark(int) const’ is deprecated: Use QColor::darker() instead [-Wdeprecated-declarations]
      roundrectitem.cpp:97:51: warning: ‘void QPainter::drawRoundRect(const QRectF&, int, int)’ is deprecated: Use drawRoundedRect(..., Qt::RelativeSize) instead [-Wdeprecated-declarations]
      roundrectitem.cpp:105:34: warning: ‘void QPainter::drawRoundRect(const QRectF&, int, int)’ is deprecated: Use drawRoundedRect(..., Qt::RelativeSize) instead [-Wdeprecated-declarations]
      splashitem.cpp:82:57: warning: ‘void QPainter::drawRoundRect(int, int, int, int, int, int)’ is deprecated: Use drawRoundedRect(..., Qt::RelativeSize) instead [-Wdeprecated-declarations]
      robot.cpp:116:53: warning: ‘QColor QColor::light(int) const’ is deprecated: Use QColor::lighter() instead [-Wdeprecated-declarations]
      robot.cpp:176:49: warning: ‘QColor QColor::light(int) const’ is deprecated: Use QColor::lighter() instead [-Wdeprecated-declarations]
      robot.cpp:200:49: warning: ‘QColor QColor::light(int) const’ is deprecated: Use QColor::lighter() instead [-Wdeprecated-declarations]
      mandelbrotwidget.cpp:120:41: warning: ‘const QMatrix& QPainter::matrix() const’ is deprecated: Use transform() instead [-Wdeprecated-declarations]
      composition.cpp:344:47: warning: ‘QColor QColor::light(int) const’ is deprecated: Use QColor::lighter() instead [-Wdeprecated-declarations]
      composition.cpp:346:46: warning: ‘QColor QColor::dark(int) const’ is deprecated: Use QColor::darker() instead [-Wdeprecated-declarations]
      colorswatch.cpp:89:34: warning: ‘QColor QColor::light(int) const’ is deprecated: Use QColor::lighter() instead [-Wdeprecated-declarations]
      mainwindow.cpp:81:62: warning: ‘void QTreeWidget::setItemSelected(const QTreeWidgetItem*, bool)’ is deprecated: Use QTreeWidgetItem::setSelected() instead [-Wdeprecated-declarations]
      puzzlewidget.cpp:172:35: warning: ‘Qt::DropAction QDrag::start(Qt::DropActions)’ is deprecated: Use QDrag::exec() instead [-Wdeprecated-declarations]
      spreadsheet.cpp:191:37: warning: ‘QColor QTableWidgetItem::backgroundColor() const’ is deprecated: Use QTableWidgetItem::background() instead [-Wdeprecated-declarations]
      spreadsheet.cpp:198:32: warning: ‘QColor QColor::light(int) const’ is deprecated: Use QColor::lighter() instead [-Wdeprecated-declarations]
      spreadsheet.cpp:203:24: warning: ‘QColor QColor::dark(int) const’ is deprecated: Use QColor::darker() instead [-Wdeprecated-declarations]
      spreadsheet.cpp:238:47: warning: ‘QColor QTableWidgetItem::backgroundColor() const’ is deprecated: Use QTableWidgetItem::background() instead [-Wdeprecated-declarations]
      spreadsheet.cpp:249:38: warning: ‘void QTableWidgetItem::setBackgroundColor(const QColor&)’ is deprecated: Use QTableWidgetItem::setBackground() instead [-Wdeprecated-declarations]
      spreadsheet.cpp:494:58: warning: ‘void QTableWidgetItem::setBackgroundColor(const QColor&)’ is deprecated: Use QTableWidgetItem::setBackground() instead [-Wdeprecated-declarations]
      spreadsheet.cpp:509:56: warning: ‘void QTableWidgetItem::setBackgroundColor(const QColor&)’ is deprecated: Use QTableWidgetItem::setBackground() instead [-Wdeprecated-declarations]
      spreadsheet.cpp:513:58: warning: ‘void QTableWidgetItem::setBackgroundColor(const QColor&)’ is deprecated: Use QTableWidgetItem::setBackground() instead [-Wdeprecated-declarations]
      spreadsheet.cpp:527:56: warning: ‘void QTableWidgetItem::setBackgroundColor(const QColor&)’ is deprecated: Use QTableWidgetItem::setBackground() instead [-Wdeprecated-declarations]
      spreadsheet.cpp:531:58: warning: ‘void QTableWidgetItem::setBackgroundColor(const QColor&)’ is deprecated: Use QTableWidgetItem::setBackground() instead [-Wdeprecated-declarations]
      spreadsheet.cpp:545:56: warning: ‘void QTableWidgetItem::setBackgroundColor(const QColor&)’ is deprecated: Use QTableWidgetItem::setBackground() instead [-Wdeprecated-declarations]
      spreadsheet.cpp:549:58: warning: ‘void QTableWidgetItem::setBackgroundColor(const QColor&)’ is deprecated: Use QTableWidgetItem::setBackground() instead [-Wdeprecated-declarations]
      spreadsheet.cpp:563:55: warning: ‘void QTableWidgetItem::setBackgroundColor(const QColor&)’ is deprecated: Use QTableWidgetItem::setBackground() instead [-Wdeprecated-declarations]
      spreadsheet.cpp:567:58: warning: ‘void QTableWidgetItem::setBackgroundColor(const QColor&)’ is deprecated: Use QTableWidgetItem::setBackground() instead [-Wdeprecated-declarations]
      spreadsheet.cpp:581:55: warning: ‘void QTableWidgetItem::setBackgroundColor(const QColor&)’ is deprecated: Use QTableWidgetItem::setBackground() instead [-Wdeprecated-declarations]
      spreadsheet.cpp:585:58: warning: ‘void QTableWidgetItem::setBackgroundColor(const QColor&)’ is deprecated: Use QTableWidgetItem::setBackground() instead [-Wdeprecated-declarations]
      spreadsheet.cpp:599:55: warning: ‘void QTableWidgetItem::setBackgroundColor(const QColor&)’ is deprecated: Use QTableWidgetItem::setBackground() instead [-Wdeprecated-declarations]
      starrating.cpp:91:46: warning: ‘const QBrush& QPalette::foreground() const’ is deprecated: Use QPalette::windowText() instead [-Wdeprecated-declarations]
      document.cpp:341:36: warning: ‘QColor QColor::dark(int) const’ is deprecated: Use QColor::darker() instead [-Wdeprecated-declarations]
      document.cpp:342:39: warning: ‘QColor QColor::light(int) const’ is deprecated: Use QColor::lighter() instead [-Wdeprecated-declarations]
      document.cpp:343:36: warning: ‘QColor QColor::dark(int) const’ is deprecated: Use QColor::darker() instead [-Wdeprecated-declarations]
      norwegianwoodstyle.cpp:88:39: warning: ‘const QBrush& QPalette::background() const’ is deprecated: Use QPalette::window() instead [-Wdeprecated-declarations]
      norwegianwoodstyle.cpp:89:39: warning: ‘QColor QColor::dark(int) const’ is deprecated: Use QColor::darker() instead [-Wdeprecated-declarations]
      norwegianwoodstyle.cpp:188:52: warning: ‘const QBrush& QPalette::background() const’ is deprecated: Use QPalette::window() instead [-Wdeprecated-declarations]
      norwegianwoodstyle.cpp:264:56: warning: ‘const QBrush& QPalette::foreground() const’ is deprecated: Use QPalette::windowText() instead [-Wdeprecated-declarations]
      plugindialog.cpp:128:49: warning: ‘void QTreeWidget::setItemExpanded(const QTreeWidgetItem*, bool)’ is deprecated: Use QTreeWidgetItem::setExpanded() instead [-Wdeprecated-declarations]
      tetrixboard.cpp:361:74: warning: ‘const QBrush& QPalette::background() const’ is deprecated: Use QPalette::window() instead [-Wdeprecated-declarations]
      tetrixboard.cpp:408:32: warning: ‘QColor QColor::light(int) const’ is deprecated: Use QColor::lighter() instead [-Wdeprecated-declarations]
      tetrixboard.cpp:412:31: warning: ‘QColor QColor::dark(int) const’ is deprecated: Use QColor::darker() instead [-Wdeprecated-declarations]
      mandelbrotwidget.cpp:120:41: warning: ‘const QMatrix& QPainter::matrix() const’ is deprecated: Use transform() instead [-Wdeprecated-declarations]
      
      Change-Id: If0afabbc35ef25f127f211c11699011d4ae4ae65
      Reviewed-by: default avatarChristian Ehrlicher <ch.ehrlicher@gmx.de>
      5c98d15a
    • Friedemann Kleint's avatar
      Add deprecation exclusion around deprecated calls in deprecated code · ca65efb0
      Friedemann Kleint authored
      
      Fix:
      io/qdir.cpp:1087:16: warning: ‘static void QResource::addSearchPath(const QString&)’ is deprecated: Use QDir::addSearchPath() instead [-Wdeprecated-declarations]
      io/qprocess.cpp:1178:34: warning: ‘void QProcess::finished(int)’ is deprecated: Use QProcess::finished(int, QProcess::ExitStatus) instead [-Wdeprecated-declarations]
      image/qpixmap.cpp:997:48: warning: ‘static QPixmap QPixmap::grabWidget(QObject*, const QRect&)’ is deprecated: Use QWidget::grab() instead [-Wdeprecated-declarations]
      text/qfont.cpp:2218:29: warning: ‘QString QFont::lastResortFamily() const’ is deprecated [-Wdeprecated-declarations]
      itemviews/qitemdelegate.cpp:1008:41: warning: ‘static QPixmap* QPixmapCache::find(const QString&)’ is deprecated: Use bool find(const QString &, QPixmap *) instead [-Wdeprecated-declarations]
      
      Change-Id: I51259edc175b1f55f61ded3af50ebfffd8c304a8
      Reviewed-by: default avatarChristian Ehrlicher <ch.ehrlicher@gmx.de>
      ca65efb0
    • Timur Pocheptsov's avatar
      Feature 'ocsp' - fix a broken win-64 build · 71a1c66a
      Timur Pocheptsov authored
      
      Alas, we have to do the job ossl_typ.h failed to - undef macros
      coming from wincrypt.h (?) and clashing with identifiers/naming
      conventions not exactly very wisely chosen by OpenSSL.
      
      Change-Id: I1725c4f769be64dbb391d040b2c1574b20b65151
      Fixes: QTBUG-73322
      Reviewed-by: default avatarEdward Welbourne <edward.welbourne@qt.io>
      Reviewed-by: default avatarMårten Nordheim <marten.nordheim@qt.io>
      71a1c66a
    • Allan Sandfeld Jensen's avatar
      Switch epilogues of AVX2 conversions to single step · 0d3b913d
      Allan Sandfeld Jensen authored
      
      Not only is it fewer instructions but all the logic except for load and
      store can be identical to the main loop.
      
      Change-Id: I2caac0c7504d94e404bd8cfe5080aff07ba2d465
      Reviewed-by: default avatarThiago Macieira <thiago.macieira@intel.com>
      0d3b913d
    • Friedemann Kleint's avatar
      Windows style, themes: Fix deprecation warnings · a6f25ded
      Friedemann Kleint authored
      
      Fix:
      qwindowstheme.cpp:287:77: warning: 'const QBrush& QPalette::background() const' is deprecated: Use QPalette::window() instead [-Wdeprecated-declarations]
      qwindowstheme.cpp:336:37: warning: 'const QBrush& QPalette::foreground() const' is deprecated: Use QPalette::windowText() instead [-Wdeprecated-declarations]
      qwindowstheme.cpp:861:102: warning: 'static bool QPixmapCache::find(const QString&, QPixmap&)' is deprecated: Use bool find(const QString &, QPixmap *) instead [-Wdeprecated-declarations]
      qwindowsvistastyle.cpp:635:56: warning: 'const QBrush& QPalette::background() const' is deprecated: Use QPalette::window() instead [-Wdeprecated-declarations]
      qwindowsvistastyle.cpp:707:60: warning: 'static bool QPixmapCache::find(const QString&, QPixmap&)' is deprecated: Use bool find(const QString &, QPixmap *) instead [-Wdeprecated-declarations]
      qwindowsxpstyle.cpp:743:58: warning: 'const QMatrix& QPainter::deviceMatrix() const' is deprecated: Use deviceTransform() instead [-Wdeprecated-declarations]
      qwindowsinputcontext.cpp:448:49: warning: 'const QBrush& QPalette::background() const' is deprecated: Use QPalette::window() instead [-Wdeprecated-declarations]
      
      Change-Id: I00a52a27b066caeb135ad4124f71ef3e09beafbf
      Reviewed-by: default avatarChristian Ehrlicher <ch.ehrlicher@gmx.de>
      a6f25ded
    • Gatis Paeglis's avatar
      ibus: allow filterEvent() from QWindowSystemEventHandler::sendEvent() · 27065bdc
      Gatis Paeglis authored
      
      The async mode, which is also default mode will recurs if
      QIBusPlatformInputContext::filterEvent() is called from
      QWindowSystemEventHandler::sendEvent() callback.
      
      The sync mode works fine without this patch.
      Modes can be toggled via IBUS_ENABLE_SYNC_MODE envvar.
      
      Removed redundant #ifndef and renamed one variable to
      something more meaningful.
      
      Change-Id: I8773445cef10212464cff09e3a70487fb38ac3fd
      Reviewed-by: default avatarTakao Fujiwara <takao.fujiwara1@gmail.com>
      Reviewed-by: default avatarLars Knoll <lars.knoll@qt.io>
      27065bdc
    • Gatis Paeglis's avatar
      xcb: respect big-request encoding in max request size · c0ebec51
      Gatis Paeglis authored
      From big-request specification:
      
      "This extension defines a mechanism for extending the length
      field beyond 16 bits. If the normal 16-bit length field of the protocol
      request is zero, then an additional 32-bit field containing the actual
      length (in 4-byte units) is inserted into the request, immediately
      following the 16-bit length field."
      
      Meaning that the request requires 4 additional bytes. This patch provides
      a convenience API for calculating maximum request data size.
      
      Besides fixing QTBUG-73044, it was also discovered that calculations
      for xcb_image_put (in QXcbBackingStoreImage::flushPixmap) were wrong.
      The code assumed that xcb_get_maximum_request_length() returns bytes,
      but what it actually returns is length which is measured in four-byte
      units. This means that we were sending 4x less bytes than allowed by
      the protocol. Furthermore, use the actual 'stride' (bytes per line) value
      when calculating rows_per_put. The new stride value was introduced
      by 760b2929
      
      , but was not updated in
      rows_per_put calculations.
      
      Fixes: QTBUG-73044
      Done-with: JiDe Zhang <zccrs@live.com>
      Done-with: Mikhail Svetkin <mikhail.svetkin@qt.io>
      Change-Id: I06beb6082da3e8bc78225a87603914e796fe5878
      Reviewed-by: default avatarBłażej Szczygieł <spaz16@wp.pl>
      Reviewed-by: default avatarJiDe Zhang <zccrs@live.com>
      Reviewed-by: default avatarMikhail Svetkin <mikhail.svetkin@qt.io>
      Reviewed-by: default avatarUli Schlachter <psychon@znc.in>
      Reviewed-by: default avatarAllan Sandfeld Jensen <allan.jensen@qt.io>
      c0ebec51
    • Christian Ehrlicher's avatar
      QtWidgets: mark QDialog/QFileDialog functions as deprecated · edc455c6
      Christian Ehrlicher authored
      
      Mark some long obsolete functions as deprecated so the can be removed
      with Qt6:
       - QDialog::setOrientation()/orientation()
       - QDialog::setExtension()/extension()/showExtension()
       - QFileDialog::setNameFilterDetailsVisible()/isNameFilterDetailsVisible()
       - QFileDialog::setResolveSymlinks()/resolveSymlinks()
      
      Change-Id: Ibbd5b4192ea8ab483d6b2a8dbf9879f29f9ee86d
      Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@qt.io>
      Reviewed-by: default avatarRichard Moe Gustavsen <richard.gustavsen@qt.io>
      edc455c6
    • Christian Ehrlicher's avatar
      QtWidgets: mark obsolete functions as deprecated · d6d33f0b
      Christian Ehrlicher authored
      
      Mark some long obsolete functions as deprecated so the can be removed
      with Qt6:
       - QLayout::margin()/setMargin()
       - QComboBox::autoCompletion()/setAutoCompletion()
       - QComboBox::autoCompletionCaseSensitivity()
       - QComboBox::setAutoCompletionCaseSensitivity()
       - QTextStream& operator<<(QTextStream&, const QSplitter&)
       - QTextStream& operator>>(QTextStream&, QSplitter&);
      
      Change-Id: Ic16b36bf647413b5b3ea2d9105981b95370b3178
      Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@qt.io>
      Reviewed-by: default avatarRichard Moe Gustavsen <richard.gustavsen@qt.io>
      d6d33f0b
    • Christian Ehrlicher's avatar
      Cleanup QtCore examples · 4715ca7b
      Christian Ehrlicher authored
      
      Cleanup QtCore examples:
       - use new signal/slot syntax
       - use 0 instead nullptr
       - remove unneeded includes
       - use initializer lists
       - replace foreach with range-based-for loop
      
      Change-Id: I5581f485fa0e9ccf3f4ce6f643908832bc6959bb
      Reviewed-by: default avatarThiago Macieira <thiago.macieira@intel.com>
      4715ca7b
    • Michal Klocek's avatar
      Add llvm linker detection to configure · 7910dd0a
      Michal Klocek authored
      https://gcc.gnu.org/ml/gcc-patches/2018-10/msg01240.html
      
      
      
      This is currently only used for webengine, where link time really matters.
      
      New configure options:
      * force 'lld'  '-linker lld' or' --linker=lld'
      * force 'gold' '-linker gold' or '--linker=gold'
      * force 'bfd' '-linker bfd' or '--linker=bfd'
      
      Note before by default gold was always forced (if supported) now default linker
      is system default one.
      
      [ChangeLog][Tools][configure & build system] Added --linker=[bfg,lld,gold] configure flag.
      
      Change-Id: Idaa13510da70243c6176b96db846d629cd65c7af
      Reviewed-by: default avatarKai Koehne <kai.koehne@qt.io>
      7910dd0a
    • Andy Shaw's avatar
      Add support for setting the peer verify name via the QNetwork* classes · 5133e22a
      Andy Shaw authored
      
      This adds functions to QNetworkRequest to be able to set the
      peerVerifyName. An overload of connectToHostEncrypted is also added to
      have an extra argument to allow setting it directly in this manner too.
      
      Fixes: QTBUG-73125
      Change-Id: I371e90035b53a74c9eb3cef64f367e307dce073e
      Reviewed-by: default avatarTimur Pocheptsov <timur.pocheptsov@qt.io>
      5133e22a
    • Karim Pinter's avatar
      QNX QPA: Add support for Qt Virtual Keyboard · 8a7c373f
      Karim Pinter authored
      
      If the QT_IM_MODULE environment variable is set, then it loads the
      IM module accordingly, otherwise it is using the PPS one, if it is
      available.
      
      Task-number: QTBUG-54576
      Change-Id: Icb8b474805053d8297029096365783c2cabc2cbc
      Reviewed-by: default avatarSamuli Piippo <samuli.piippo@qt.io>
      Reviewed-by: default avatarJames McDonnell <jmcdonnell@blackberry.com>
      8a7c373f
    • Liang Qi's avatar
      Disable Docker-based test servers on macOS temporarily · 4c165e68
      Liang Qi authored
      
      The coin agent starts to crash after the docker-compose call.
      
      Need to have qt5 5.13 integrated first, then fix the real issue later.
      
      Task-number: QTQAINFRA-2717
      Task-number: QTQAINFRA-2750
      Change-Id: I3dcd963b1c5cea0b2197f1589398d8a9ed18f46f
      Reviewed-by: default avatarAapo Keskimolo <aapo.keskimolo@qt.io>
      4c165e68
  3. 05 Feb, 2019 - 6 commits
  4. 02 Feb, 2019 - 7 commits
  5. 01 Feb, 2019 - 2 commits
  6. 29 Jan, 2019 - 2 commits
  7. 28 Jan, 2019 - 2 commits