Re: [Development] Qt5 beta, MinGW: undefined reference to `WinMain@16'

2012-07-11 Thread Loaden
Try to build qbs or qbs's test demos. Not build Qt5 self, but build an GUI based applications. 2012/7/12 Konstantin Ritt > E:\opt\Qt\5.0>gcc --version > gcc (GCC) 4.6.2 > win32 (XP, SP2) > builds ok > > Konstantin > > > 2012/7/11 Loaden : > > Both w32 and w64 have the same issue, MinGW 4.6.3. (p

Re: [Development] Qt5 beta, MinGW: undefined reference to `WinMain@16'

2012-07-11 Thread Konstantin Ritt
E:\opt\Qt\5.0>gcc --version gcc (GCC) 4.6.2 win32 (XP, SP2) builds ok Konstantin 2012/7/11 Loaden : > Both w32 and w64 have the same issue, MinGW 4.6.3. (platform: Ubuntu and > Windows). > B.T.W I can't build Qt5 use MinGW 4.7.1 under Windows, but MinGW 4.6.3 can > build successful, except insta

Re: [Development] QtCore is 2 MB larger in Qt 5

2012-07-11 Thread Konstantin Ritt
fixup: the third section is the size in Qt 5.0 and the fourth is the size in 4.8 the qstring's rodata size increased mostly because of switching to UCD 6.1 (which is quite bigger than UCD 5.0 used in Qt 4.8) + providing the Unicode Script property value for the entire Unicode code points range, no

Re: [Development] Plugin loading issue on Mac OS X

2012-07-11 Thread jiang.jiang
On Jul 10, 2012, at 11:39 AM, ext Thiago Macieira wrote: > Are you sure that some plugins are only built in debug mode? That sounds > really weird. They should be built however they wish, but there should be at > least one file without the "_debug" image suffix. I found it strange as well. The p

Re: [Development] Fixing connecting to private signals

2012-07-11 Thread Olivier Goffart
On Wednesday 11 July 2012 18:50:15 Stephen Kelly wrote: > On Wednesday, July 11, 2012 18:40:10 Thiago Macieira wrote: > > I don't see the point of a private signal. > > > > QAbstractitemModel is abusing it. Just make them regular signals. Do you see the point of the private or protected keyword

Re: [Development] Fixing connecting to private signals

2012-07-11 Thread Stephen Kelly
On Wednesday, July 11, 2012 18:40:10 Thiago Macieira wrote: > On quarta-feira, 11 de julho de 2012 18.13.07, Stephen Kelly wrote: > > Hi there, > > > > With the function-pointer-based QObject::connect syntax, it is currently > > not possible to connect to the private signals on QAbstractItemModel

Re: [Development] Fixing connecting to private signals

2012-07-11 Thread Thiago Macieira
On quarta-feira, 11 de julho de 2012 18.13.07, Stephen Kelly wrote: > Hi there, > > With the function-pointer-based QObject::connect syntax, it is currently not > possible to connect to the private signals on QAbstractItemModel > (rowsInserted() etc), QAbstractState (entered() and exited()) and > Q

[Development] Fixing connecting to private signals

2012-07-11 Thread Stephen Kelly
Hi there, With the function-pointer-based QObject::connect syntax, it is currently not possible to connect to the private signals on QAbstractItemModel (rowsInserted() etc), QAbstractState (entered() and exited()) and QAbstractTransition (triggered()). Patches for fixing that are here: * ht

Re: [Development] Moving QWindowSystemInterface out of QPA

2012-07-11 Thread Girish Ramakrishnan
Hi Stephen, On Wed, Jul 11, 2012 at 8:26 PM, Stephen Kelly wrote: > On Wednesday, July 11, 2012 20:00:39 you wrote: >> An alternate approach is to make a header specific to QTestLib which >> ensures that modules privates are not required. > > This is very hacky. I prefer to simply move it from qp

Re: [Development] Moving QWindowSystemInterface out of QPA

2012-07-11 Thread Stephen Kelly
On Wednesday, July 11, 2012 20:00:39 you wrote: > An alternate approach is to make a header specific to QTestLib which > ensures that modules privates are not required. This is very hacky. I prefer to simply move it from qpa/ to the same location as the rest of the public headers. However, a s

Re: [Development] Qt5 beta, MinGW: undefined reference to `WinMain@16'

2012-07-11 Thread Loaden
Both w32 and w64 have the same issue, MinGW 4.6.3. (platform: Ubuntu and Windows). B.T.W I can't build Qt5 use MinGW 4.7.1 under Windows, but MinGW 4.6.3 can build successful, except install failed. 2012/7/11 > Hi, > > Which GCC is this (both for w32 and w64)? For KDE I tried to use 4.6.4 > an

Re: [Development] Moving QWindowSystemInterface out of QPA

2012-07-11 Thread Girish Ramakrishnan
On Tue, Jul 10, 2012 at 4:59 PM, Stephen Kelly wrote: > On Tuesday, July 10, 2012 16:54:57 Girish Ramakrishnan wrote: >> On Tue, Jul 10, 2012 at 3:23 PM, Thiago Macieira >> >> wrote: >> > On terça-feira, 10 de julho de 2012 11.37.41, Stephen Kelly wrote: >> >> If it is not made public, then all C

Re: [Development] Radix sort

2012-07-11 Thread Luís Gabriel Lima
You cannot solve all the possible cases of string sorting using Radix Sort in O(N). More info here: http://htmltolatex.sourceforge.net/samples/sample4.html Best Regards, -- Luís Gabriel OpenBossa - INdT On Tue, Jul 10, 2012 at 9:01 PM, Rafael Brandao wrote: > Hello Mark, > > Radix sort cannot b

Re: [Development] Qt5 beta, MinGW: undefined reference to `WinMain@16'

2012-07-11 Thread casper.vandonderen
Hi, Which GCC is this (both for w32 and w64)? For KDE I tried to use 4.6.4 and we are having a lot of problems with that, so we are now waiting for a patched GCC 4.7.x Casper From: ext Loaden mailto:loa...@gmail.com>> Date: Wednesday, July 11, 2012 3:52 PM To: "shane.kea...@accenture.com

Re: [Development] Qt5 beta, MinGW: undefined reference to `WinMain@16'

2012-07-11 Thread Loaden
Does anyone care about mingw support? It's an qt5 issue, or an mingw issue? I don't sure anything, but it's real noise! Because I can't corss build for Windows use Qt5 now. http://sourceforge.net/tracker/?func=detail&atid=983354&aid=3539247&group_id=202880 2012/7/6 Loaden > I just create a bug

Re: [Development] Q_DECLARE_TYPEINFO and namespaced Qt

2012-07-11 Thread Jedrzej Nowacki
On Wednesday 11. July 2012 02.10.28 ext Olivier Goffart wrote: > On Tuesday 10 July 2012 18:37:20 Marc Mutz wrote: > > Hi, > > > > as seen on IRC: > > [18:18:43] thiago: how about we make Q_DECLARE_TYPEINFO > > automatically use the qt namespace, like Q_DECLARE_METATYPE does? it is > > massively