Re: [Development] FW: Alpha 2 this week or skip it

2012-06-01 Thread Iikka Eklund




On 31.5.2012 18.00, Thiago Macieirathiago.macie...@intel.com  wrote:


On quinta-feira, 31 de maio de 2012 13.48.42, simo.f...@nokia.com wrote:

What kind of src packages people are looking for? There  was some
discussion earlier about tarring each submodule separately, but somehow
I
got the impression that eventually wasn't the one people wanted. Did I
miss something?

Every single packager wants the split packages. That should be the
official
format for source distribution.

That's how we are doing it at the moment. Separate installable src package
for each submodule. Our CI already produces these submodule src packages
and right now we are writing configurations  templates for the SDK
installer.

The same applies for the binary packages as well, this is under work.

- iikka


--
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



--
Br,
Mr. Iikka Eklund
Senior software engineer

Elektronikkatie 10
FI-90590 Oulu
Email: iikka.ekl...@digia.com

Visit us at: www.digia.com or qt.digia.com
--
PRIVACY AND CONFIDENTIALITY NOTICE
This message and any attachments are intended only for use by the named
addressee and may contain privileged and/or confidential information. If
you are not the named addressee you should not disseminate, copy or take
any action in reliance on it. If you have received this message in
error, please contact the sender immediately and delete the message and
any attachments accompanying it. Digia Plc does not accept liability for
any corruption, interception, amendment, tampering or viruses occurring
to this message.
--

___
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

2012-06-01 Thread techabc
msvc2012 goes RC stage, I think QT 5.0 should support it from now. Itsn't it?

2012/6/1 Iikka Eklund iikka.ekl...@digia.com:


 On 31.5.2012 18.00, Thiago Macieira thiago.macie...@intel.com wrote:

 On quinta-feira, 31 de maio de 2012 13.48.42, simo.f...@nokia.com wrote:

 What kind of src packages people are looking for? There  was some
 discussion earlier about tarring each submodule separately, but somehow
 I
 got the impression that eventually wasn't the one people wanted. Did I
 miss something?

 Every single packager wants the split packages. That should be the
 official
 format for source distribution.

 That's how we are doing it at the moment. Separate installable src package
 for each submodule. Our CI already produces these submodule src packages
 and right now we are writing configurations  templates for the SDK
 installer.

 The same applies for the binary packages as well, this is under work.

 - iikka


 --
 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



 --
 Br,
 Mr. Iikka Eklund
 Senior software engineer

 Elektronikkatie 10
 FI-90590 Oulu
 Email: iikka.ekl...@digia.com

 Visit us at: www.digia.com or qt.digia.com
 --
 PRIVACY AND CONFIDENTIALITY NOTICE
 This message and any attachments are intended only for use by the named
 addressee and may contain privileged and/or confidential information. If
 you are not the named addressee you should not disseminate, copy or take
 any action in reliance on it. If you have received this message in
 error, please contact the sender immediately and delete the message and
 any attachments accompanying it. Digia Plc does not accept liability for
 any corruption, interception, amendment, tampering or viruses occurring
 to this message.
 --


 ___
 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


[Development] About the QtDir::currentPath

2012-06-01 Thread song.7.liu
Hi,

My QtDir::currentPath is /c_drive/ instead of C:/, so do someone know the 
reason behind ?
And how can it be as C:/ ?

Any information is appreciated ;)

Thanks,
Song
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Does the QtWidgets in Qt5 support touch event handling ?

2012-06-01 Thread Laszlo Agocs


Hi,

Yes, touch events are delivered to QWidgets too, just like in Qt 4.

Regards,
Laszlo

On 06/01/2012 11:16 AM, ext song.7@nokia.com wrote:


Hi,

In Qt5, does the QtWidgets support the touch event handling ?

That the touch event is routed from my side to system by invoking 
QWindowSystemInterface::handleTouchEvent...


Thanks,

Song



___
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] On QML, ownership, QObject-trees and QSharedPointer

2012-06-01 Thread Rene Jensen

 Step 1: mySharedPtr.data() == MyShared* P;
 Step 2: make sure the QML engine doesn't assume ownership:
 QDeclarativeEngine::**setObjectOwnership
 Step 3: hand over P to QML: setProperty or setContextProperty


 Yep, those steps seem to be the current requirement. If my patches get in
 (not guaranteed), it will be reduced to just:

 Step 1: setContextProperty(myname, mySharedPtr);

 or

 Step 1: setContextProperty(myname, mySharedPtr.toWeakRef());

 depending on your needs.



 When I said the database layer should preferably remain QML agnostic,
 I merely wanted to keep patchup code like setObjectOwnership out
 of a clean set of data classes for purist reasons. (Really it is an
 exaggeration imho.. I have no problem using stuff from QtDeclarative
 in code. Will need it for QList properties anyway. It's just a design
 reflex).


 Yes, I agree.


  Leaving out step 2 is bad, right?


 Yes, and worse it might not obvious to consumers of the API that it's
 needed.



Hi again.
I have modified the wiki page that Sivan started (my name in
qt-project.orgis Centipede). In my view your advice above is serious
enough to warrant
a user comment in the footnote section of at least the documentation pages
of 4.8. But I cannot for the life of me figure out where to add such
comments. Is qt-project.org's user comment system up and running?

Best regards,
Rene Jensen
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] About the QtDir::currentPath

2012-06-01 Thread shane.kearns
There are a number of places in src/corelib/io where C:/ type paths are 
handled specially under a windows ifdef.
(or in 4.8 windows/symbian ifdef)

If you want to use windows style paths, you have to add your OS ifdef there as 
well.
If the native paths are unix style, i'd recommend to use unix style paths 
everywhere though

--

 -Original Message-
 From: development-bounces+shane.kearns=accenture@qt-project.org
 [mailto:development-bounces+shane.kearns=accenture@qt-project.org]
 On Behalf Of song.7@nokia.com
 Sent: 01 June 2012 09:05
 To: si...@omniqueue.com
 Cc: development@qt-project.org
 Subject: Re: [Development] About the QtDir::currentPath

 Ok, thanks... I am using the qfilesystemengine_unix under another unix
 like env, so I can make a change in the ::rootPath for my case...

 Thanks for your sharing ;)

 Thanks,
 Song

 -Original Message-
 From: siv...@gmail.com [mailto:siv...@gmail.com] On Behalf Of ext Sivan
 Greenberg
 Sent: Friday, June 01, 2012 4:02 PM
 To: Liu Song.7 (Nokia-MP/Beijing)
 Cc: development@qt-project.org
 Subject: Re: [Development] About the QtDir::currentPath
 Importance: High

 What's your windows version? I can see the code (in qt5) makes
 distinction between WinCE and the rest.

 Seeing this respective code:

 }
  998
  999 //static
 1000 QString QFileSystemEngine::rootPath()
 1001 {
 1002 #if defined(Q_OS_WINCE)
 1003 QString ret = QLatin1String(/);
 1004 #else
 1005 QString ret =
 QString::fromLatin1(qgetenv(SystemDrive).constData());
 1006 if (ret.isEmpty())
 1007 ret = QLatin1String(c:);
 1008 ret.append(QLatin1Char('/'));
 1009 #endif
 1010 return ret;
 1011 }

 I would take a wild guess that you're qt thinks it should return paths
 on WinCE instead of 'regular' windows.

 -Sivan

 On Fri, Jun 1, 2012 at 10:45 AM,  song.7@nokia.com wrote:
  Hi,
 
 
 
  My QtDir::currentPath is /c_drive/ instead of C:/, so do someone know
  the reason behind ?
 
  And how can it be as C:/ ?
 
 
 
  Any information is appreciated ;)
 
 
 
  Thanks,
 
  Song
 
 
  ___
  Development mailing list
  Development@qt-project.org
  http://lists.qt-project.org/mailman/listinfo/development
 



 --
 -Sivan
 ___
 Development mailing list
 Development@qt-project.org
 http://lists.qt-project.org/mailman/listinfo/development



Subject to local law, communications with Accenture and its affiliates 
including telephone calls and emails (including content), may be monitored by 
our systems for the purposes of security and the assessment of internal 
compliance with Accenture policy.
__

www.accenture.com

___
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

2012-06-01 Thread Joerg Bornemann
On 01/06/2012 14:21, ext Joerg Bornemann wrote:

 msvc2012 goes RC stage, I think QT 5.0 should support it from now. Itsn't it?

 There is no such thing as msvc2012.

Allright, I take back everything. MS actually announced the RC of Visual 
Studio 2012 yesterday: 
http://blogs.msdn.com/b/visualstudio/archive/2012/05/31/visual-studio-2012-rc-available-now.aspx
This seems to be identical to the formerly announced Visual Studio 11.
Thus support is in Qt. Just use the win32-msvc11 mkspec.


BR,

Jörg
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Stepping down

2012-06-01 Thread Daniel Teske
On Friday 01 Jun 2012 13:37:48 Paweł Polański wrote:
 Hi,
 due to the fact that I have no longer enough time to maintain Symbian in
 Qt Creator's Project Management  Targets I would like to step down from
 this position.

My symbian knowledge is rather limited. I will be looking over any gerrit 
change requests or bug reports, but I would consider the symbian support to be 
in pratice unmaintained. That is, I'm seeking help with that part of Creator, 
be it by submitting patches or by voluntering for maintainer, as otherwise 
it'll will break and will get removed eventually.

daniel
___
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

2012-06-01 Thread Thiago Macieira
On sexta-feira, 1 de junho de 2012 14.40.19, Joerg Bornemann wrote:
 On 01/06/2012 14:21, ext Joerg Bornemann wrote:
  msvc2012 goes RC stage, I think QT 5.0 should support it from now. Itsn't
  it?
  There is no such thing as msvc2012.

 Allright, I take back everything. MS actually announced the RC of Visual
 Studio 2012 yesterday:
 http://blogs.msdn.com/b/visualstudio/archive/2012/05/31/visual-studio-2012-r
 c-available-now.aspx This seems to be identical to the formerly announced
 Visual Studio 11. Thus support is in Qt. Just use the win32-msvc11 mkspec.

We should rename the mkspec.

The version is 11.0, but the marketing name is 2012. And the internal _MSC_VER
is probably around 1700 already :-)

--
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

2012-06-01 Thread Joerg Bornemann
On 01/06/2012 15:30, ext Thiago Macieira wrote:

 Allright, I take back everything. MS actually announced the RC of Visual
 Studio 2012 yesterday:
 http://blogs.msdn.com/b/visualstudio/archive/2012/05/31/visual-studio-2012-r
 c-available-now.aspx This seems to be identical to the formerly announced
 Visual Studio 11. Thus support is in Qt. Just use the win32-msvc11 mkspec.

 We should rename the mkspec.

I agree...if that's really the final product name. ;-)



Cheers,

Jörg
___
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

2012-06-01 Thread Matt Williams
On 1 June 2012 15:54, Joerg Bornemann joerg.bornem...@nokia.com wrote:
 On 01/06/2012 15:30, ext Thiago Macieira wrote:
 Allright, I take back everything. MS actually announced the RC of Visual
 Studio 2012 yesterday:
 http://blogs.msdn.com/b/visualstudio/archive/2012/05/31/visual-studio-2012-r
 c-available-now.aspx This seems to be identical to the formerly announced
 Visual Studio 11. Thus support is in Qt. Just use the win32-msvc11 mkspec.

 We should rename the mkspec.

 I agree...if that's really the final product name. ;-)

Don't forget that the Microsoft Visual Studio and Microsoft Visual
C(++) version number don't have to match. The Visual Studio number
are generally years (recently: 2005, 2008, 2010 and now 2012) while
Visual C(++) is numbered more normally (respectively: 8.0, 9.0 10.0
and now probably 11.0). So the new one could be Visual Studio 2012
with Visual C++ compiler 11.0. Also, in future Microsoft are planning
decoupling the IDE from the compiler so we should keep the mkspec
following the compiler I guess.

-- 
Matt Williams
http://milliams.com
___
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

2012-06-01 Thread Thiago Macieira
On sexta-feira, 1 de junho de 2012 16.11.33, Matt Williams wrote:
 On 1 June 2012 15:54, Joerg Bornemann joerg.bornem...@nokia.com wrote:
  On 01/06/2012 15:30, ext Thiago Macieira wrote:
  Allright, I take back everything. MS actually announced the RC of Visual
  Studio 2012 yesterday:
  http://blogs.msdn.com/b/visualstudio/archive/2012/05/31/visual-studio-20
  12-r c-available-now.aspx This seems to be identical to the formerly
  announced Visual Studio 11. Thus support is in Qt. Just use the
  win32-msvc11 mkspec.
  We should rename the mkspec.
 
  I agree...if that's really the final product name. ;-)

 Don't forget that the Microsoft Visual Studio and Microsoft Visual
 C(++) version number don't have to match. The Visual Studio number
 are generally years (recently: 2005, 2008, 2010 and now 2012) while
 Visual C(++) is numbered more normally (respectively: 8.0, 9.0 10.0
 and now probably 11.0). So the new one could be Visual Studio 2012
 with Visual C++ compiler 11.0. Also, in future Microsoft are planning
 decoupling the IDE from the compiler so we should keep the mkspec
 following the compiler I guess.

Right. We've been doing it wrong all along, then: our mkspecs say msvc which
is the compiler, but give the year as the complement.

Maybe we should then start correcting this by keeping msvc11.

--
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

2012-06-01 Thread techabc
nice thing: the latest source package already have win32-msvc11 mkspec.
btw, Is there would win32-clang appears?

2012/6/1 Thiago Macieira thiago.macie...@intel.com:
 On sexta-feira, 1 de junho de 2012 16.11.33, Matt Williams wrote:
 On 1 June 2012 15:54, Joerg Bornemann joerg.bornem...@nokia.com wrote:
  On 01/06/2012 15:30, ext Thiago Macieira wrote:
  Allright, I take back everything. MS actually announced the RC of Visual
  Studio 2012 yesterday:
  http://blogs.msdn.com/b/visualstudio/archive/2012/05/31/visual-studio-20
  12-r c-available-now.aspx This seems to be identical to the formerly
  announced Visual Studio 11. Thus support is in Qt. Just use the
  win32-msvc11 mkspec.
  We should rename the mkspec.
 
  I agree...if that's really the final product name. ;-)

 Don't forget that the Microsoft Visual Studio and Microsoft Visual
 C(++) version number don't have to match. The Visual Studio number
 are generally years (recently: 2005, 2008, 2010 and now 2012) while
 Visual C(++) is numbered more normally (respectively: 8.0, 9.0 10.0
 and now probably 11.0). So the new one could be Visual Studio 2012
 with Visual C++ compiler 11.0. Also, in future Microsoft are planning
 decoupling the IDE from the compiler so we should keep the mkspec
 following the compiler I guess.

 Right. We've been doing it wrong all along, then: our mkspecs say msvc which
 is the compiler, but give the year as the complement.

 Maybe we should then start correcting this by keeping msvc11.

 --
 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

2012-06-01 Thread Thiago Macieira
On sábado, 2 de junho de 2012 00.18.48, techabc wrote:
 btw, Is there would win32-clang appears?

That sentence did not make sense. I'm assuming you meant to ask is there a
chance a win32-clang option would appear?

Yes, there's a chance. Contribute the mkspec that works for you and we'll add
it.

--
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

2012-06-01 Thread Stephen Chu
On 6/1/12 12:46 PM, Thiago Macieira wrote:
 On sábado, 2 de junho de 2012 00.18.48, techabc wrote:
 btw, Is there would win32-clang appears?

 That sentence did not make sense. I'm assuming you meant to ask is there a
 chance a win32-clang option would appear?

 Yes, there's a chance. Contribute the mkspec that works for you and we'll add
 it.

This is kind of OT but is there even a working Win32 clang compiler? 
Last time I hear they are still have problem with MFC and other MS headers.
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] How to submit Portuguese, Spanish, and Indonesian translations Qt?

2012-06-01 Thread David Burson
Hello Giuseppe,

Thanks for the information.  I spent some time today reading the wiki from the 
links you sent - lots of helpful information.  I assume the right people are 
aware of this, but probably half the links in the Contributions section things 
you generally need to know of  
http://qt-project.org/wiki/Category:Developing_Qt point to blank pages.

Since we are only using 4.7.4 at this point I don't know about 4.8.  So I guess 
I will not be able to submit our translations at this time, if I understand you 
correctly.

We expect to use version 5 when it is available, and may end up using 4.8 at 
some point in the meantime.  Then we'll be able to contribute our translations 
that apply.  By that time I imagine the blank articles will have been written 
and I expect we'll be able to figure out what to do.

Thanks!
David

-Original Message-
From: Giuseppe D'Angelo [mailto:dange...@gmail.com] 
Sent: Friday, June 01, 2012 12:52 PM
To: David Burson
Cc: development@qt-project.org
Subject: Re: [Development] How to submit Portuguese, Spanish, and Indonesian 
translations Qt?

Hello David,

On 1 June 2012 15:36, David Burson david_bur...@ntm.org wrote:
 Hi,



 We translated some of Qt 4.7.4 into Indonesian (qt_id), and we added 
 some translations to qt_pt and qt_es.  How do I submit them back to 
 the Qt project?

Do your translations still apply to 4.8? No more 4.7 releases are planned.

 - What pri/pro files need to change?

Maybe none?

 - Where do I run make commit-ts?

In the translations subdirectory, I think.

 - How do I make a merge request on Gitorious?  I went to 
 https://qt.gitorious.org/qt/qt, but I don't know what I'm supposed to do.

Gitorious is not used any more to submit patches to Qt. Please read the 
instructions on the wiki http://qt-project.org/wiki/Category:Developing_Qt
http://qt-project.org/wiki/Qt-Contribution-Guidelines
http://qt-project.org/wiki/Code_Reviews

HTH,
--
Giuseppe D'Angelo

___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


[Development] Qt CS videos of module maintainers

2012-06-01 Thread Quim Gil
(((Posting here to reach module maintainers and humans alike)))

Most Qt Essentials module maintainers will be at the Qt Contributors 
Summit and we want to take this chance to shot video interviews to be 
edited and be part of the Qt 5 launch. The idea of these interviews is 
to explain to the masses what the module does, why it's important in Qt 
5 and what is new  interesting.

I need to come up with the exact list of people to interview, in order 
to arrange time slots with them. If you are a maintainer and you are 
happy with the idea please send me an email (if you are not happy send 
me the email as well).  ;)


Questions:

- No offense but... do all the modules need to be featured to give an 
overall picture of Qt 5? Looking at 
http://qt-project.org/wiki/Qt-Essentials-Modules I wonder about Qt JS 
Backend, Qt SQL  Qt Test. Also, would it make sense to have a single 
person to cover Qt GUI, Qt QML  Qt Quick? This would make 5 interviews 
less (7 maintainers + Lars).

- Is there an add-on module maintainer that should get a video interview 
as well? Qt Wayland fit in the buzzword count.  ;)

- Qt Platform Abstraction is a top topic. Should we have a speaker? Who?

- If the maintainer won't make it to the interview then he needs to 
nominate the speaker.


Also a question to those that have been to the venue: what is the best 
place to have these interviews? The video company can bring a but of 
furniture for a cozy corner in the main hall, I guess it shouldn't be 
too noisy during sessions. Is it outside in the terrace an alternative? 
Another option would be to borrow a Seminaar room during lunch breaks. 
Ideas welcome - it's difficult to decide without having been there.

--
Quim

___
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

2012-06-01 Thread Loaden
If it realy wrong, we should rename win32-msvc2010 - win32-msvc10,
msvc2008 - win32-msvc9 ...

2012/6/1 Thiago Macieira thiago.macie...@intel.com

 Right. We've been doing it wrong all along, then: our mkspecs say msvc
 which
 is the compiler, but give the year as the complement.

 Maybe we should then start correcting this by keeping msvc11.




-- 
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