Re: [Development] Nominating Peter Varga for approver status
On Wednesday, May 23, 2012 09:02:00 AM ext Simon Hausmann wrote: > Hi, > > I would like to nominate Peter for approver status. > > As part of the team in the University of Szeged he has completed the past > few rebases of V8 in the qtjsbackend module, a task that is anything but > easy, with a fast moving upstream and a very complex patch set on our side. > > Based on his contributions he has clearly shown an understanding of V8 and > the way QML is using it. An understanding that I believe is deep enough for > him to easily review and approve contributions. I trust him to follow the > process and I trust him to review only patches he's comfortable reviewing. Two seconds and no objections within a couple of weeks. Congratulations Peter! Who can set Peter's access up? Simon ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
Re: [Development] About pcre in qt5
On 11 June 2012 00:49, wrote: > Disabling PCRE makes sense for me. As we have QT_NO_REGEXP already, add it to > feature list and fix the build. To be ultra pedantic, perhaps QT_NO_REGEXP should be renamed into samething like QT_NO_REGULAREXPRESSION for selectively disabling PCRE+QRegularExpression (butkeeping QRegExp)? -- Giuseppe D'Angelo ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
Re: [Development] About pcre in qt5
Hi, I have fixed qconfig and QT_NO_FEATURE builds in Qt 4.6 and 4.7. I just started fixing them in Qt 5 a month ago. You can see some of them here [1]. As Thiago said, they are not supported and tested. But you are able to fix and use them if you really need to reduce the footprint. Disabling PCRE makes sense for me. As we have QT_NO_REGEXP already, add it to feature list and fix the build. QT_NO_CURSOR is not fixed yet. So you have to fix it. I'm happy to test and review your patch. Because QCursor::pos() is used in many places, we might use simplified version [2] that is broken (I think) at the moment. If you need to fix errors in QT_FOR_EACH_STATIC_CORE_CLASS, the patch attached may help. QT_NO_DATASTREAM is the one I'd like to remove in Qt 5 because it is not maintained for a long time. [1] https://codereview.qt-project.org/#q,tasuku.suz...@nokia.com,n,z [2] https://qt.gitorious.org/qt/qtbase/blobs/master/src/gui/kernel/qcursor.h#line56 -- Tasuku Suzuki On 2012/06/07, at 3:02, ext Brett Stottlemyer wrote: >>> And also, we find that so many feature flags can't be easily disabled >>> for >>> example: QT_NO_DATASTREAM etc., as it seems many codes are not fully >>> controlled on some feature flag. So is that caused as the Qt5 code >>> refine ?? >> >> Tasuku Suzuki has been trying to fix the feature system, but I guess he > hasn't managed all combinations yet. Try >> talking to him and coordinating your efforts to get this fixed. >> >> Right now, please understand that if you turn *any* of the feature flags > (that is, if you disable any API), you're > in wholly uncharted territory > and completely unsupported. Those combinations are not tested by the CI > system and I > doubt anyone except Suzuki-san has tried running with them. > > > I'm hitting the same issue the QT_NO_CURSOR. If I don't compile with this > flag, apps crash because the cursor isn't built onto the device. QCursor > has no constructor when compiled with QT_NO_CURSOR, but the QMetatype seems > to assume it is there. That is QT_FOR_EACH_STATIC_CORE_CLASS includes > QCursor, and the FOR_EACH crashes trying to create meta information and is > also used to create QVariant support (which breaks without a public > constructor as explained in the QVariant docs). > > Does Suzuki-san follow this list? Hopefully compiling without a cursor > isn't an edge case and this can be addressed in Qt5. > > ___ > Development mailing list > Development@qt-project.org > http://lists.qt-project.org/mailman/listinfo/development cursor.patch Description: cursor.patch ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
Re: [Development] Q_EXPORT_PLUGIN_2 breaks source compat
On domingo, 10 de junho de 2012 20.44.05, David Faure wrote: > Is it really desired to break source compat so much, after making the > promise of "almost no porting required"? Porting to a different plugin > framework doesn't sound trivial. Well, maybe it is, who knows -- there is > no entry in dist/changes-5.0.0 about this! It's necessary if we want to skip the loading of the old-style plugins. There's no way to get the metadata from them besides loading. This change was intentional. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center Intel Sweden AB - Registration Number: 556189-6027 Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden signature.asc Description: This is a digitally signed message part. ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
Re: [Development] FW: Alpha 2 this week or skip it
On Sun, Jun 10, 2012 at 12:07 PM, techabc wrote: > yes, thing get well in my another project. Could you please clarify the error output again after including ? Best Regards, Laszlo Papp ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
[Development] Q_EXPORT_PLUGIN_2 breaks source compat
commit 7443895857fdaee132c8efc643e471f02b3d0fa4 Author: Lars Knoll Date: Sat Jun 2 05:42:13 2012 +0200 Remove support for Qt 4 style plugins The new plugin format allows us to avoid loading the plugins in all cases. Remove the old format, as we could get bad behavior with the old format if Qt would try to dlopen a Qt 4.x plugin. Change-Id: I2193e6874d6cca3c0b12298c2b9beb4105a42fd5 Reviewed-by: Thiago Macieira Reviewed-by: Lars Knoll This commit breaks source compat for all other kinds of plugins too, not only style plugins, because it turns the Q_EXPORT_PLUGIN_2 macro into a "failing static assert". Case at hand: kdelibs/tier2/kauth/src/backends/polkit-1/Polkit1Backend.cpp:227:1: error: invalid application of 'sizeof' to incomplete type 'QStaticAssertFailure' Is it really desired to break source compat so much, after making the promise of "almost no porting required"? Porting to a different plugin framework doesn't sound trivial. Well, maybe it is, who knows -- there is no entry in dist/changes-5.0.0 about this! -- David Faure, fa...@kde.org, http://www.davidfaure.fr Sponsored by Nokia to work on KDE, incl. KDE Frameworks 5 ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
Re: [Development] About pcre in qt5
> If I add the QT_NO_CURSOR flag, Qt5 won’t compile at all. I’m more concerned > about QT_NO_CURSOR not compiling for Qt5. Here is more detail on the compile errors I am getting: From the build log: cd src\gui\ && "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe" -f Makefile Microsoft (R) Program Maintenance Utility Version 9.00.30729.01 Copyright (C) Microsoft Corporation. All rights reserved. "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe" -f Makefile.Debug all Microsoft (R) Program Maintenance Utility Version 9.00.30729.01 Copyright (C) Microsoft Corporation. All rights reserved. cl -c -FIqt_gui_pch.h -Yuqt_gui_pch.h -Fptmp\obj\debug_shared\QtGuid_pch.pch -nologo -Zm200 -Zc:wchar_t- -DDEBUG -D_DEBUG -Zi -MDd -W3 -w34100 -w34189 -EHs-c- -GR -DQT_SHARED -DUNDER_CE -DWINCE -D_WINDOWS -D_UNICODE -DUNICODE -D_WIN32 -DQT_NO_PRINTER -DQT_NO_PRINTDIALOG -DQT_NO_NATIVE_GESTURES -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -DQT_NO_CLIPBOARD -D_WIN32_WCE=0x600 -Darmv4i -D_AMRV4I_ -Darmv4i -D_ARM_ -DHAVE_LOCALTIME_S=0 -DQT_NO_CURSOR=1 -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE -DQT_MAKEDLL -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -D_USE_MATH_DEFINES -DQT_USE_BUNDLED_LIBPNG -DQT_NO_OPENTYPE -DQT_NO_DIRECTWRITE -DQT_DLL -DQT_CORE_LIB -DQT_NO_EXCEPTIONS -I"..\..\include\QtCore\5.0.0" -I"..\..\include\QtCore\5.0.0\QtCore" -I"..\..\include\QtCore" -I"..\..\include" -I"..\..\include\QtGui\5.0.0" -I"..\..\include\QtGui\5.0.0\QtGui" -I"..\..\include\QtGui" -I"..\..\include" -I"tmp\rcc\debug_shared" -I"c:\_Qt5\src\qtbase\src\gui\tmp" -I"c:\_Qt5\src\qtbase\src\gui\image" -I"c:\_Qt5\src\qtbase\src\3rdparty\libpng" -I"c:\_Qt5\src\qtbase\src\3rdparty\zlib" -I"c:\_Qt5\src\qtbase\src\3rdparty\harfbuzz\src" -I"c:\_Qt5\src\qtbase\src\3rdparty\zlib" -I"tmp\moc\debug_shared" -I"c:\_Qt5\src\qtbase\src\gui" -I"." -I"c:\_Qt5\src\qtbase\mkspecs\wincetest-armv4i-msvc2008" -Fotmp\obj\debug_shared\ @C:\Users\user\AppData\Local\Temp\nm3BCA.tmp qguivariant.cpp c:\_qt5\src\qtbase\src\corelib\kernel\qmetatype.h(374) : error C2248: 'QCursor::QCursor' : cannot access private member declared in class 'QCursor' c:\_qt5\src\qtbase\src\gui\kernel\qcursor.h(70) : see declaration of 'QCursor::QCursor' c:\_qt5\src\qtbase\src\gui\kernel\qcursor.h(62) : see declaration of 'QCursor' c:\_Qt5\src\qtbase\src\gui\kernel\qguivariant.cpp(343) : see reference to function template instantiation 'void *qMetaTypeCreateHelper(const void *)' being compiled c:\_qt5\src\qtbase\src\corelib\kernel\qmetatype.h(402) : error C2679: binary '<<' : no operator found which takes a right-hand operand of type 'const QCursor' (or there is no acceptable conversion) c:\_qt5\jnk\qtbase\include\qtcore\../../../../src/qtbase/src/corelib/tools/qchar.h(389): could be 'QDataStream &operator <<(QDataStream &,QChar)' c:\_qt5\jnk\qtbase\include\qtcore\../../../../src/qtbase/src/corelib/tools/qbytearray.h(612): or 'QDataStream &operator <<(QDataStream &,const QByteArray &)' *** Lot's of other candidates *** c:\_qt5\jnk\qtbase\include\qtcore\../../../../src/qtbase/src/corelib/io/qdatastream.h(163): or 'QDataStream &QDataStream::operator <<(const char *)' while trying to match the argument list '(QDataStream, const QCursor)' c:\_Qt5\src\qtbase\src\gui\kernel\qguivariant.cpp(343) : see reference to function template instantiation 'void qMetaTypeSaveHelper(QDataStream &,const void *)' being compiled c:\_qt5\src\qtbase\src\corelib\kernel\qmetatype.h(410) : error C2679: binary '>>' : no operator found which takes a right-hand operand of type 'QCursor' (or there is no acceptable conversion) c:\_qt5\jnk\qtbase\include\qtcore\../../../../src/qtbase/src/corelib/tools/qchar.h(390): could be 'QDataStream &operator >>(QDataStream &,QChar &)' c:\_qt5\jnk\qtbase\include\qtcore\../../../../src/qtbase/src/corelib/tools/qbytearray.h(613): or 'QDataStream &operator >>(QDataStream &,QByteArray &)' *** Lot's of other candidates *** c:\_qt5\jnk\qtbase\include\qtcore\../../../../src/qtbase/src/corelib/io/qdatastream.h(150): or 'QDataStream &QDataStream::operator >>(char *&)' while trying to match the argument list '(QDataStream, QCursor)' c:\_Qt5\src\qtbase\src\gui\kernel\qguivariant.cpp(343) : see reference to function template instantiation 'void qMetaTypeLoadHelper(QDataStream &,void *)' being compiled The line producing the error is in qguivaraint.cpp: static const QMetaTypeInterface qVariantGuiHelper[] = { QT_FOR_EACH_STATIC_GUI_CLASS(QT_IMPL_METATYPEINTERFACE_GUI_TYPES) }; It is using #defines to instantiate templates for each of the types, including QCursor (see qmetatype.h for th
Re: [Development] FW: Alpha 2 this week or skip it
yes, thing get well in my another project. 2012/6/10 Thiago Macieira : > On domingo, 10 de junho de 2012 16.24.34, techabc wrote: >> sorry, I can't fix it by a patch. >> According http://forums.create.msdn.com/forums/p/95589/571215.aspx >> I have added >> #include >> to fixed the same error in another none qt project, but I don't know >> how to fix it in qt throw a patch. > > Are you saying that adding this include is not enough? > > -- > Thiago Macieira - thiago.macieira (AT) intel.com > Software Architect - Intel Open Source Technology Center > Intel Sweden AB - Registration Number: 556189-6027 > Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden > > ___ > Development mailing list > Development@qt-project.org > http://lists.qt-project.org/mailman/listinfo/development > ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
Re: [Development] FW: Alpha 2 this week or skip it
On domingo, 10 de junho de 2012 16.24.34, techabc wrote: > sorry, I can't fix it by a patch. > According http://forums.create.msdn.com/forums/p/95589/571215.aspx > I have added > #include > to fixed the same error in another none qt project, but I don't know > how to fix it in qt throw a patch. Are you saying that adding this include is not enough? -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center Intel Sweden AB - Registration Number: 556189-6027 Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden signature.asc Description: This is a digitally signed message part. ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
Re: [Development] FW: Alpha 2 this week or skip it
sorry, I can't fix it by a patch. According http://forums.create.msdn.com/forums/p/95589/571215.aspx I have added #include to fixed the same error in another none qt project, but I don't know how to fix it in qt throw a patch. 2012/6/10 Thiago Macieira : > On domingo, 10 de junho de 2012 16.12.05, techabc wrote: >> http://releases.qt-project.org/qt5.0/beta-snapshots/2012-06-09_07-01-09/ >> qt3d compile failted by visual studio 2012 RC: > > Looks like missing includes. Can you provide a patch with the necessary ones? > > -- > Thiago Macieira - thiago.macieira (AT) intel.com > Software Architect - Intel Open Source Technology Center > Intel Sweden AB - Registration Number: 556189-6027 > Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden > > ___ > Development mailing list > Development@qt-project.org > http://lists.qt-project.org/mailman/listinfo/development > ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
Re: [Development] FW: Alpha 2 this week or skip it
On domingo, 10 de junho de 2012 16.12.05, techabc wrote: > http://releases.qt-project.org/qt5.0/beta-snapshots/2012-06-09_07-01-09/ > qt3d compile failted by visual studio 2012 RC: Looks like missing includes. Can you provide a patch with the necessary ones? -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center Intel Sweden AB - Registration Number: 556189-6027 Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden signature.asc Description: This is a digitally signed message part. ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
Re: [Development] FW: Alpha 2 this week or skip it
http://releases.qt-project.org/qt5.0/beta-snapshots/2012-06-09_07-01-09/ qt3d compile failted by visual studio 2012 RC: "D:\Program Files\Microsoft Visual Studio 11.0\VC\BIN\nmake.exe" -f Make file.Release Microsoft (R) Program Maintenance Utility Version 11.00.50522.1 Copyright (C) Microsoft Corporation. All rights reserved. cl -c -nologo -Zm200 -Zc:wchar_t -O2 -MD -EHsc -W3 -w34100 -w34189 -GR - DQT_SHARED -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_COMPILER_SUPPORTS_SSE2 -DQT_MAKEDLL -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT _USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -D_USE_MATH_DEFINES -D_SCL_SECURE_N O_WARNINGS -D_CRT_SECURE_NO_WARNINGS -DQT_BUILD_QT3D_LIB -DQT_NO_EGL -DQT_DLL -D QT_NO_DEBUG -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I"..\..\..\qtbase\inclu de\QtCore\5.0.0" -I"..\..\..\qtbase\include\QtCore\5.0.0\QtCore" -I"..\..\..\qtb ase\include\QtCore" -I"..\..\..\qtbase\include\QtGui\5.0.0" -I"..\..\..\qtbase\i nclude\QtGui\5.0.0\QtGui" -I"..\..\..\qtbase\include\QtGui" -I"..\..\..\qtbase\i nclude\QtNetwork" -I"..\..\..\qtbase\include" -I"..\..\include\Qt3D\5.0.0" -I".. \..\include\Qt3D\5.0.0\Qt3D" -I"..\..\include" -I"..\..\include\Qt3D" -I"..\..\i nclude" -I"tmp\rcc\release_shared" -I"tmp" -I"..\private" -I"global" -I"painting " -I"arrays" -I"effects" -I"materials" -I"geometry" -I"viewing" -I"math3d" -I"sc ene" -I"scene_ai" -I"..\..\3rdparty\assimp" -I"..\..\3rdparty\assimp\code" -I".. \..\3rdparty\assimp\code\BoostWorkaround" -I"..\..\3rdparty\assimp\include" -I". .\..\3rdparty\assimp\include\Compiler" -I"..\..\3rdparty\assimp\contrib\ConvertU TF" -I"..\..\3rdparty\assimp\contrib\zlib" -I"..\..\3rdparty\assimp\contrib\irrX ML" -I"..\..\3rdparty\assimp\contrib\unzip" -I"scene_bezier" -I"network" -I"grap hicsview" -I"textures" -I"surfaces" -I"api" -I"tmp\moc\release_shared" -I"..\..\ ..\qtbase\mkspecs\win32-msvc11" -Fotmp\obj\release_shared\ @C:\Users\cherokee\Ap pData\Local\Temp\nm7552.tmp BlenderModifier.cpp ..\..\3rdparty\assimp\code\BlenderModifier.cpp(253) : error C2039: 'bind1st' : i s not a member of 'std' ..\..\3rdparty\assimp\code\BlenderModifier.cpp(253) : error C2039: 'plus' : is n ot a member of 'std' ..\..\3rdparty\assimp\code\BlenderModifier.cpp(253) : error C2065: 'plus' : unde clared identifier ..\..\3rdparty\assimp\code\BlenderModifier.cpp(253) : error C2062: type 'unsigne d int' unexpected ..\..\3rdparty\assimp\code\BlenderModifier.cpp(253) : error C3861: 'bind1st': id entifier not found JoinVerticesProcess.cpp d:\qt5\qt3d\3rdparty\assimp\code\Vertex.h(259) : error C2039: 'plus' : is not a member of 'std' d:\qt5\qt3d\3rdparty\assimp\code\Vertex.h(259) : error C2065: 'plus' : undeclare d identifier d:\qt5\qt3d\3rdparty\assimp\code\Vertex.h(259) : error C2974: 'Assimp::Vertex::B inaryOp' : invalid template argument for 'op', type expected d:\qt5\qt3d\3rdparty\assimp\code\Vertex.h(227) : see declaration of 'Ass imp::Vertex::BinaryOp' d:\qt5\qt3d\3rdparty\assimp\code\Vertex.h(207) : see declaration of 'Ass imp::Vertex::BinaryOp' d:\qt5\qt3d\3rdparty\assimp\code\Vertex.h(187) : see declaration of 'Ass imp::Vertex::BinaryOp' d:\qt5\qt3d\3rdparty\assimp\code\Vertex.h(263) : error C2039: 'minus' : is not a member of 'std' d:\qt5\qt3d\3rdparty\assimp\code\Vertex.h(263) : error C2065: 'minus' : undeclar ed identifier d:\qt5\qt3d\3rdparty\assimp\code\Vertex.h(263) : error C2974: 'Assimp::Vertex::B inaryOp' : invalid template argument for 'op', type expected d:\qt5\qt3d\3rdparty\assimp\code\Vertex.h(227) : see declaration of 'Ass imp::Vertex::BinaryOp' d:\qt5\qt3d\3rdparty\assimp\code\Vertex.h(207) : see declaration of 'Ass imp::Vertex::BinaryOp' d:\qt5\qt3d\3rdparty\assimp\code\Vertex.h(187) : see declaration of 'Ass imp::Vertex::BinaryOp' LWOAnimation.cpp ..\..\3rdparty\assimp\code\LWOAnimation.cpp(159) : error C2039: 'bind1st' : is n ot a member of 'std' ..\..\3rdparty\assimp\code\LWOAnimation.cpp(159) : error C2039: 'greater' : is n ot a member of 'std' ..\..\3rdparty\assimp\code\LWOAnimation.cpp(159) : error C2065: 'greater' : unde clared identifier ..\..\3rdparty\assimp\code\LWOAnimation.cpp(159) : error C2062: type 'double' un expected ..\..\3rdparty\assimp\code\LWOAnimation.cpp(159) : error C3861: 'bind1st': ident ifier not found ..\..\3rdparty\assimp\code\LWOAnimation.cpp(177) : error C2065: 'm' : undeclared identifier ..\..\3rdparty\assimp\code\LWOAnimation.cpp(178) : error C2065: 'm' : undeclared identifier ..\..\3rdparty\assimp\code\LWOAnimation.cpp(181) : error C2065: 'm' : undeclared identifier ..\..\3rdparty\assimp\code\LWOAnimation.cpp(189) : error C2065: 'm' : undeclared identifier ..\..\3rdparty\assimp\code\LWOAnimation.cpp(190) : error C2065: 'm' : undeclared identifier Subdivision.cpp d:\qt5\qt3d\3rdparty\assimp\code\Vertex.h(259) : error C2039: 'plus' : is not a member of 'std' d:\qt5\qt3d\3rdparty\assimp\code\Vertex.h(259) : error C2065: 'plus' : undeclare d identifier d:
Re: [Development] Qt5 packages for Ubuntu
Another way: > sudo update-alternatives --install /usr/bin/qmake qmake /opt/qt5/bin/qmake > 30 > sudo update-alternatives --config qmake > update-alternatives --display qmake 2012/6/8 Zoltán Balogh > Remember to add the /opt/qt5/bin to the $PATH in order to use the Qt5 > binaries without problems. > -- Please don't ask where I come from, It's a shame! Best Regards Yuchen ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
Re: [Development] FW: Alpha 2 this week or skip it
On domingo, 10 de junho de 2012 07.32.54, techabc wrote: > vs2010 is OK, but vs2012 RC failed, I just want to try win32-msvc11 Please post the 2012 RC build errors and fixes. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center Intel Sweden AB - Registration Number: 556189-6027 Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden signature.asc Description: This is a digitally signed message part. ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development