Re: [Development] Qt 5.6.0 header diff: QtCore.diff

2015-09-17 Thread Thiago Macieira
On Thursday 17 September 2015 18:17:01 Sune Vuorela wrote: > > -// undocumented: > > -static const quint64 MaxSize =3D (1 << 30) - sizeof(Data); > > - > Even though it is marked as undocumented, it does look slightly fishy to > me. You were not supposed to use it. If you did, your code is

Re: [Development] Qt 5.6.0 header diff: QtCore.diff

2015-09-17 Thread Sune Vuorela
On 2015-09-17, Frederik Gladhorn wrote: > --- a/src/corelib/tools/qbytearray.h > +++ b/src/corelib/tools/qbytearray.h > @@ -43,6 +43,7 @@ > #include >=20 > #include > +#include >=20 > #ifdef truncate > #error qbytearray.h must be included before any header file that defin= > es truncate > @

[Development] Bug in macdeployqt?

2015-09-17 Thread Dean Floyd
Dear all, We have a project where we weak link our app against the Wacom framework which on MacOSX by default gets installed in: /Library/Frameworks/WacomMultiTouch.framework otool -L returns the following line for the Wacom link: @rpath/WacomMultiTouch.framework/Versions/A/WacomMultiTouch (com

Re: [Development] Qt 5.6.0 header diff

2015-09-17 Thread Knoll Lars
That's fine. I'll go through them during the next days, but I think it's good if also everybody else who wants and has time can have a look and help. Cheers, Lars Sendt fra min BlackBerry 10-smarttelefon. Opprinnelig melding Fra: Thiago Macieira Sendt: Thursday, September 17, 2015 6:51 PM Til:

Re: [Development] Qt 5.6.0 header diff

2015-09-17 Thread Thiago Macieira
On Thursday 17 September 2015 16:34:05 Knoll Lars wrote: > And the best tool we have to identify new apis is probably a different of > the headers... :-) I understand that, but I don't have the time to go look for them buried in thousands of lines of change (the Q_NULLPTR) in each and every .diff

Re: [Development] Qt 5.6.0 header diff

2015-09-17 Thread Knoll Lars
And the best tool we have to identify new apis is probably a different of the headers... :-) Cheers, Lars Sendt fra min BlackBerry 10-smarttelefon. Opprinnelig melding Fra: Thiago Macieira Sendt: Thursday, September 17, 2015 6:30 PM Til: development@qt-project.org Emne: Re: [Development] Qt 5.

Re: [Development] Qt 5.6.0 header diff

2015-09-17 Thread Thiago Macieira
On Thursday 17 September 2015 16:19:38 Knoll Lars wrote: > We need the difference to see where apis got added, so that we can review > those. And that should happen now, and not when we get one to the rc. The API review should happen now, not the header diff. -- Thiago Macieira - thiago.macieira

Re: [Development] Qt 5.6.0 header diff

2015-09-17 Thread Knoll Lars
We need the difference to see where apis got added, so that we can review those. And that should happen now, and not when we get one to the rc. Cheers, Lars Sendt fra min BlackBerry 10-smarttelefon. Opprinnelig melding Fra: Thiago Macieira Sendt: Thursday, September 17, 2015 6:13 PM Til: devel

Re: [Development] Qt 5.6.0 header diff: QtTest.diff

2015-09-17 Thread Thiago Macieira
On Thursday 17 September 2015 15:27:44 Milian Wolff wrote: > +++ b/src/testlib/qtestaccessible.h > @@ -126,7 +126,7 @@ public: > static void cleanup() > { > delete instance(); > -instance() = 0; > +instance() = Q_NULLPTR; > } > > this is wrong Why? -- Thia

Re: [Development] Qt 5.6.0 header diff: QtGui.diff

2015-09-17 Thread Thiago Macieira
On Thursday 17 September 2015 14:25:25 Allan Sandfeld Jensen wrote: > What is with all the Q_NULLPTR? I thought we decided not to do those. Not > that want them removed, that would be even more noise. We decided to do them for 5.6, since compilers are getting warning switches about zero as null

Re: [Development] Qt 5.6.0 header diff

2015-09-17 Thread Thiago Macieira
On Thursday 17 September 2015 12:29:27 Frederik Gladhorn wrote: > we are getting close to the Qt 5.6 beta and it's time for the header diff. No, it isn't. Header diff is done close to the RC, when we deep freeze. Since there may still be quite considerable changes coming in, we'll need to do th

Re: [Development] New module for OPC UA

2015-09-17 Thread Denis Shienkov
> we considered this, but OPC UA is not a serial bus. But Modbus is not a serial bus too, it is just an protocol. :) I think that qtserialbus it is a bad name/place to add any of protocols. I think that for the industrial protocols (or any protocols) can be created the separate pero (named as qti

Re: [Development] New module for OPC UA

2015-09-17 Thread Volny
‎+1 for qopcua. We, in our company, have also own qt opc-ua implementation based on freeopcua. I really like to switch to pure Qt opcua stack implementation where ever it will be placed in Qt modules :)  Regards Fanda Sent from my BlackBerry 10 smartphone.   Original Message   From: Konstantin

Re: [Development] New module for OPC UA

2015-09-17 Thread Konstantin Tokarev
17.09.2015, 16:54, "Frank Meerkötter" : > Hello, > > we as basysKom have developed a Qt API for OPC UA which we would like > to contribute to the Qt project. > > OPC UA is a communication protocol developed for industrial > machine to machine communication. The vision of OPC UA is to have > one u

Re: [Development] New module for OPC UA

2015-09-17 Thread Frank Meerkötter
Hi Denis, we considered this, but OPC UA is not a serial bus. From my reading of the qtserialbus code this module has abstractions such as Devices, Busses, Frames and such. OPC UA is much more high-level. It has abstractions such as Clients (of a certain server), nodes or subscriptions. My under

Re: [Development] New module for OPC UA

2015-09-17 Thread Denis Shienkov
Hi, IMHO, all industrial protocols can be added to qtserialbus: http://code.qt.io/cgit/qt/qtserialbus.git/ There already are present the Modbus and the CAN protocols. BR, Denis 2015-09-17 16:54 GMT+03:00 Frank Meerkötter : > Hello, > > we as basysKom have developed a Qt API for OPC UA which w

Re: [Development] New module for OPC UA

2015-09-17 Thread Denis Shienkov
Hi, IMHO, all industrial protocols can be added to qtserialbus: http://code.qt.io/cgit/qt/qtserialbus.git/ There already are present the Modbus and the CAN protocols. BR, Denis 2015-09-17 16:54 GMT+03:00 Frank Meerkötter : > Hello, > > we as basysKom have developed a Qt API for OPC UA which we

[Development] New module for OPC UA

2015-09-17 Thread Frank Meerkötter
Hello, we as basysKom have developed a Qt API for OPC UA which we would like to contribute to the Qt project. OPC UA is a communication protocol developed for industrial machine to machine communication. The vision of OPC UA is to have one uniform, vendor-independent communication protocol for al

Re: [Development] Qt 5.6.0 header diff: QtTest.diff

2015-09-17 Thread Milian Wolff
+++ b/src/testlib/qtestaccessible.h @@ -126,7 +126,7 @@ public: static void cleanup() { delete instance(); -instance() = 0; +instance() = Q_NULLPTR; } this is wrong +++ b/src/testlib/qtestmouse.h @@ -45,6 +45,7 @@ #include #include #include +#include

Re: [Development] Qt 5.6.0 header diff: QtLocation.diff

2015-09-17 Thread Blasche Alexander
All clean. The API is in TP at this stage. Hence any change would be permitted anyway. -- Alex From: development-bounces+alexander.blasche=theqtcompany@qt-project.org on behalf of Frederik Gladhorn Sent: Thursday, September 17, 2015 12:54 To: dev

Re: [Development] Qt 5.6.0 header diff: QtWebEngineWidgets.diff

2015-09-17 Thread Allan Sandfeld Jensen
On Thursday 17 September 2015, Frederik Gladhorn wrote: > Please also note the new APIs in QtWebEngineCore. They are more important for API review. `Allan ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/li

Re: [Development] Qt 5.6.0 header diff: QtGui.diff

2015-09-17 Thread Allan Sandfeld Jensen
On Thursday 17 September 2015, Frederik Gladhorn wrote: > What is with all the Q_NULLPTR? I thought we decided not to do those. Not that want them removed, that would be even more noise. --- a/src/gui/painting/qpaintdevice.h +++ b/src/gui/painting/qpaintdevice.h static inline qreal devicePixelR

Re: [Development] Qt 5.6.0 header diff: QtGui.diff

2015-09-17 Thread Gunnar Sletta
Also looks ok. > On 17 Sep 2015, at 12:54, Frederik Gladhorn > wrote: > > ___ > Development mailing list > Development@qt-project.org > http://lists.qt-project.org/mailman/listinfo/development ___ Developme

Re: [Development] Qt 5.6.0 header diff: QtWebChannel.diff

2015-09-17 Thread Qi Liang
Looks good. Regards, Liang From: development-bounces+liang.qi=theqtcompany@qt-project.org on behalf of Frederik Gladhorn Sent: Thursday, September 17, 2015 12:54 PM To: development@qt-project.org Subject: [Development] Qt 5.6.0 header diff: QtWebCh

Re: [Development] Qt 5.6.0 header diff: QtWebSockets.diff

2015-09-17 Thread Qi Liang
Looks good(nothing changed). Regards, Liang From: development-bounces+liang.qi=theqtcompany@qt-project.org on behalf of Frederik Gladhorn Sent: Thursday, September 17, 2015 12:56 PM To: development@qt-project.org Subject: [Development] Qt 5.6.0 hea

Re: [Development] How to speed up QML for KDE5 without QML compiler

2015-09-17 Thread Hausmann Simon
Hi, I think there's a trade-off to be made with regards source (url) vs. sourceComponent. If the component your loader is trying to load is small, then you're better off using sourceComponent. While the parser and the type compiler is "warm" it should take little time to do the one-time work o

Re: [Development] Sending key events on Qt 5.5.0

2015-09-17 Thread Bo Thorsen
That's completely besides the point I was making. I'm saying you shouldn't abuse the shortcuts as a message system (which is exactly what you do). If you want to send events, find another way. Bo. Den 17-09-2015 kl. 12:16 skrev christian.paffhau...@ehrhardt-partner.com: > > Hi Bo Thorsen, > > t

[Development] Qt 5.6.0 header diff: QtQml.diff

2015-09-17 Thread Frederik Gladhorn
diff --git a/src/qml/debugger/qqmldebug.h b/src/qml/debugger/qqmldebug.h index 559c492..5d65982 100644 --- a/src/qml/debugger/qqmldebug.h +++ b/src/qml/debugger/qqmldebug.h @@ -50,6 +50,8 @@ struct Q_QML_EXPORT QQmlDebuggingEnabler QQmlDebuggingEnabler(bool printWarning = true); static bo

[Development] Qt 5.6.0 header diff: QtNetwork.diff

2015-09-17 Thread Frederik Gladhorn
diff --git a/src/network/access/qabstractnetworkcache.h b/src/network/access/qabstractnetworkcache.h index 352daa9..326891b 100644 --- a/src/network/access/qabstractnetworkcache.h +++ b/src/network/access/qabstractnetworkcache.h @@ -60,9 +60,12 @@ public: QNetworkCacheMetaData(const QNetworkCa

[Development] Qt 5.6.0 header diff: QtOpenGL.diff

2015-09-17 Thread Frederik Gladhorn
diff --git a/src/opengl/qgl.h b/src/opengl/qgl.h index 8c55cff..99abdd2 100644 --- a/src/opengl/qgl.h +++ b/src/opengl/qgl.h @@ -235,7 +235,7 @@ public: QGLContext(const QGLFormat& format); virtual ~QGLContext(); -virtual bool create(const QGLContext* shareContext = 0); +virtual

[Development] Qt 5.6.0 header diff: QtBluetooth.diff

2015-09-17 Thread Frederik Gladhorn
diff --git a/src/bluetooth/qbluetoothlocaldevice.h b/src/bluetooth/qbluetoothlocaldevice.h index 4587bbf..40e143a 100644 --- a/src/bluetooth/qbluetoothlocaldevice.h +++ b/src/bluetooth/qbluetoothlocaldevice.h @@ -113,4 +113,8 @@ private: QT_END_NAMESPACE +Q_DECLARE_METATYPE(QBluetoothLocalDevi

[Development] Qt 5.6.0 header diff: QtWebEngineWidgets.diff

2015-09-17 Thread Frederik Gladhorn
diff --git a/src/webenginewidgets/api/qwebenginecertificateerror.h b/src/webenginewidgets/api/qwebenginecertificateerror.h index 90b2320..7706ea3 100644 --- a/src/webenginewidgets/api/qwebenginecertificateerror.h +++ b/src/webenginewidgets/api/qwebenginecertificateerror.h @@ -37,10 +37,10 @@ #ifnd

[Development] Qt 5.6.0 header diff: QtQuick.diff

2015-09-17 Thread Frederik Gladhorn
diff --git a/src/quick/items/qquickframebufferobject.h b/src/quick/items/qquickframebufferobject.h index 4a0248c..7fb7262 100644 --- a/src/quick/items/qquickframebufferobject.h +++ b/src/quick/items/qquickframebufferobject.h @@ -49,6 +49,7 @@ class Q_QUICK_EXPORT QQuickFramebufferObject : public QQ

[Development] Qt 5.6.0 header diff: QtSql.diff

2015-09-17 Thread Frederik Gladhorn
diff --git a/src/sql/kernel/qsqldriver.h b/src/sql/kernel/qsqldriver.h index e837576..c53e1b8 100644 --- a/src/sql/kernel/qsqldriver.h +++ b/src/sql/kernel/qsqldriver.h @@ -83,7 +83,7 @@ public: DB2 }; -explicit QSqlDriver(QObject *parent=0); +explicit QSqlDriver(QObject *pa

[Development] Qt 5.6.0 header diff: QtWebSockets.diff

2015-09-17 Thread Frederik Gladhorn
diff --git a/src/websockets/qwebsocket.h b/src/websockets/qwebsocket.h index 9fdc6eb..7ee4bc6 100644 --- a/src/websockets/qwebsocket.h +++ b/src/websockets/qwebsocket.h @@ -36,6 +36,7 @@ #include #include +#include #ifndef QT_NO_NETWORKPROXY #include #endif @@ -92,6 +93,7 @@ public:

[Development] Qt 5.6.0 header diff: QtPrintSupport.diff

2015-09-17 Thread Frederik Gladhorn
diff --git a/src/printsupport/dialogs/qabstractprintdialog.h b/src/printsupport/dialogs/qabstractprintdialog.h index cf55cfa..6148502 100644 --- a/src/printsupport/dialogs/qabstractprintdialog.h +++ b/src/printsupport/dialogs/qabstractprintdialog.h @@ -74,7 +74,7 @@ public: Q_DECLARE_FLAGS(Pri

[Development] Qt 5.6.0 header diff: QtXml.diff

2015-09-17 Thread Frederik Gladhorn
diff --git a/src/xml/dom/qdom.h b/src/xml/dom/qdom.h index 5a83659..f2bcf83 100644 --- a/src/xml/dom/qdom.h +++ b/src/xml/dom/qdom.h @@ -329,14 +329,14 @@ public: inline QDomNode::NodeType nodeType() const { return DocumentNode; } // Qt extensions -bool setContent(const QByteArray&

[Development] Qt 5.6.0 header diff: QtMultimedia.diff

2015-09-17 Thread Frederik Gladhorn
diff --git a/src/multimedia/audio/qaudio.h b/src/multimedia/audio/qaudio.h index 6395314..2ee66bc 100644 --- a/src/multimedia/audio/qaudio.h +++ b/src/multimedia/audio/qaudio.h @@ -51,12 +51,26 @@ namespace QAudio enum Error { NoError, OpenError, IOError, UnderrunError, FatalError }; enum

[Development] Qt 5.6.0 header diff: QtPositioning.diff

2015-09-17 Thread Frederik Gladhorn
diff --git a/src/positioning/qgeocoordinate.h b/src/positioning/qgeocoordinate.h index a1a636d..3c08bc0 100644 --- a/src/positioning/qgeocoordinate.h +++ b/src/positioning/qgeocoordinate.h @@ -104,9 +104,10 @@ public: Q_INVOKABLE QString toString(CoordinateFormat format = DegreesMinutesSeconds

[Development] Qt 5.6.0 header diff: QtDBus.diff

2015-09-17 Thread Frederik Gladhorn
diff --git a/src/dbus/qdbusargument.h b/src/dbus/qdbusargument.h index 42b2667..a6bc396 100644 --- a/src/dbus/qdbusargument.h +++ b/src/dbus/qdbusargument.h @@ -70,9 +70,15 @@ public: QDBusArgument(); QDBusArgument(const QDBusArgument &other); +#ifdef Q_COMPILER_RVALUE_REFS +QDBusAr

[Development] Qt 5.6.0 header diff: QtSerialPort.diff

2015-09-17 Thread Frederik Gladhorn
diff --git a/src/serialport/qserialport.h b/src/serialport/qserialport.h index 36ae788..2815ebe 100644 --- a/src/serialport/qserialport.h +++ b/src/serialport/qserialport.h @@ -65,9 +65,6 @@ class Q_SERIALPORT_EXPORT QSerialPort : public QIODevice #endif Q_PROPERTY(bool breakEnabled READ isBr

[Development] Qt 5.6.0 header diff: QtTest.diff

2015-09-17 Thread Frederik Gladhorn
diff --git a/src/testlib/qsignalspy.h b/src/testlib/qsignalspy.h index cfde89a..1751220 100644 --- a/src/testlib/qsignalspy.h +++ b/src/testlib/qsignalspy.h @@ -82,7 +82,7 @@ public: } if (!QMetaObject::connect(obj, sigIndex, this, memberOffset, -Qt::DirectCo

[Development] Qt 5.6.0 header diff: Qt3DRenderer.diff

2015-09-17 Thread Frederik Gladhorn
diff --git a/src/render/frontend/qabstracttextureprovider.h b/src/render/frontend/qabstracttextureprovider.h index 4121e01..436e3f8 100644 --- a/src/render/frontend/qabstracttextureprovider.h +++ b/src/render/frontend/qabstracttextureprovider.h @@ -190,6 +190,17 @@ public: RGB_BP_UNSIGNED_

[Development] Qt 5.6.0 header diff: Qt3DCore.diff

2015-09-17 Thread Frederik Gladhorn
diff --git a/src/core/core-components/qcamera.h b/src/core/core-components/qcamera.h index 4bf2553..e3d6b2e 100644 --- a/src/core/core-components/qcamera.h +++ b/src/core/core-components/qcamera.h @@ -163,6 +163,7 @@ Q_SIGNALS: protected: Q_DECLARE_PRIVATE(QCamera) +QT3D_CLONEABLE(QCame

[Development] Qt 5.6.0 header diff: QtWebChannel.diff

2015-09-17 Thread Frederik Gladhorn
diff --git a/src/webchannel/qwebchannel.h b/src/webchannel/qwebchannel.h index 0e642db..d32d017 100644 --- a/src/webchannel/qwebchannel.h +++ b/src/webchannel/qwebchannel.h @@ -35,8 +35,8 @@ #ifndef QWEBCHANNEL_H #define QWEBCHANNEL_H -#include -#include +#include +#include #include d

[Development] Qt 5.6.0 header diff: QtQuickWidgets.diff

2015-09-17 Thread Frederik Gladhorn
diff --git a/src/quickwidgets/qquickwidget.h b/src/quickwidgets/qquickwidget.h index a8bf03e..5bb6b49 100644 --- a/src/quickwidgets/qquickwidget.h +++ b/src/quickwidgets/qquickwidget.h @@ -56,7 +56,6 @@ class Q_QUICKWIDGETS_EXPORT QQuickWidget : public QWidget Q_PROPERTY(ResizeMode resizeMode

[Development] Qt 5.6.0 header diff: QtQuickTest.diff

2015-09-17 Thread Frederik Gladhorn
diff --git a/src/qmltest/quicktest.h b/src/qmltest/quicktest.h index 49bd7ed..b317a07 100644 --- a/src/qmltest/quicktest.h +++ b/src/qmltest/quicktest.h @@ -35,9 +35,12 @@ #define QUICKTEST_H #include +#include QT_BEGIN_NAMESPACE +QTEST_ADD_GPU_BLACKLIST_SUPPORT_DEFS + Q_QUICK_TEST_EXPO

[Development] Qt 5.6.0 header diff: QtLocation.diff

2015-09-17 Thread Frederik Gladhorn
diff --git a/src/location/places/qplaceeditorial.h b/src/location/places/qplaceeditorial.h index 4a7e790..ecfe8db 100644 --- a/src/location/places/qplaceeditorial.h +++ b/src/location/places/qplaceeditorial.h @@ -48,7 +48,7 @@ class Q_LOCATION_EXPORT QPlaceEditorial : public QPlaceContent public:

[Development] Qt 5.6.0 header diff

2015-09-17 Thread Frederik Gladhorn
Hi all, we are getting close to the Qt 5.6 beta and it's time for the header diff. >From this point on we should be very careful in adding/changing newly introduced API. I'll send the actual header diffs as attachments in follow-up mails, it will probably take a few hours until they actually g

Re: [Development] Sending key events on Qt 5.5.0

2015-09-17 Thread Christian . Paffhausen
Hi Bo Thorsen, thanks for that. But it's a little bit more complicated. There is no PushButton. We record all keyboard input events, buffer them in a own key event class, which is derived by QKeyEvent, and accepting the original events. So the original key event will never reach the action. If ou

Re: [Development] Sending key events on Qt 5.5.0

2015-09-17 Thread Bo Thorsen
Den 17-09-2015 kl. 11:21 skrev christian.paffhau...@ehrhardt-partner.com: > i have a problem with manually sending key events and shortcuts on Qt > 5.5.0. > > In our application, we have a QAction with a F5 shortcut in a toolbar. When > i press the toolbutton everything works fine. When i press the

[Development] Sending key events on Qt 5.5.0

2015-09-17 Thread Christian . Paffhausen
Hi all, i have a problem with manually sending key events and shortcuts on Qt 5.5.0. In our application, we have a QAction with a F5 shortcut in a toolbar. When i press the toolbutton everything works fine. When i press the F5 key on my keyboard too. But when i press a pushbutton, where the con

Re: [Development] Adding Microsoft-licensed library in Qt Multimedia

2015-09-17 Thread Knoll Lars
On 16/09/15 19:11, "Thiago Macieira" wrote: >On Wednesday 16 September 2015 15:59:25 Lopes Yoann wrote: >> >> iii. Distribution Restrictions. You may not >> >> · modify or distribute the source code of any Distributable Code so >> >> that any part of it becomes subject to an Excluded License.