Re: [Development] [RFCs] Migrate from GCC MinGW to LLVM MinGW

2023-07-19 Thread Yang Fan
 I believe the primary difference lies in the C and C++ Libraries. MINGW64
uses msvcrt and libstdc++, while CLANG64 employs ucrt and libc++.

On Thu, Jul 20, 2023 at 10:22 AM Thiago Macieira 
wrote:

> On Wednesday, 19 July 2023 18:55:34 PDT Yang Fan wrote:
> > I wanted to point out that MSYS2 offers precompiled packages of Qt6 in
> four
> > different environments: CLANGARM64, MINGW64, CLANG64, and UCRT64.
>
> Is there any difference between mingw64 and clang64, aside from which
> compiler
> was used to compile Qt?
>
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
>   Cloud Software Architect - Intel DCAI Cloud Engineering
> --
> Development mailing list
> Development@qt-project.org
> https://lists.qt-project.org/listinfo/development
>


-- 
Regards,
Fan Yang
-- 
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development


Re: [Development] [RFCs] Migrate from GCC MinGW to LLVM MinGW

2023-07-19 Thread Yang Fan
I wanted to point out that MSYS2 offers precompiled packages of Qt6 in four
different environments: CLANGARM64, MINGW64, CLANG64, and UCRT64. In my
opinion, simply switching among Qt's official precompiled packages and
toolchains doesn't seem to carry significant benefits.

Instead, learning how MSYS2 provides precompiled packages for multiple
toolchains seems to be a more fruitful approach. Alternatively, just
providing support such as mkspecs for users to compile on their own could
also be sufficient.

On Wed, Jul 19, 2023 at 11:47 PM Cristian Adam via Development <
development@qt-project.org> wrote:

> Hi,
>
> we are thinking of migrating from GCC MinGW to LLVM MinGW. The ticket in
> question is [QTBUG-107516] Migrate from GCC MinGW to LLVM-MinGW - Qt Bug
> Tracker 
>
> For a while now we have a CI configuration testing with LLVM MinGW.
>
> The benefits of the  LLVM MinGW  would
> be (quote from the website):
>
>
>- *Support for targeting ARM/ARM64 (while GCC obviously does support
>these architectures, it doesn't support Windows on ARM)*
>- A single toolchain targeting all four architectures (i686, x86_64,
>armv7 and arm64) instead of separate compiler binaries for each 
> architecture
>- Support for generating debug info in PDB format
>- Support for Address Sanitizer and Undefined Behaviour Sanitizer
>- Since LLVM 16: Support for Control Flow Guard (-mguard=cf compile
>and link flags)
>
> In the bug report I've tested also gdb 11.2.0 and lldb 16.0.6 with Qt
> Creator's source code and lldb was twice as fast at reaching the breakpoint
> (35s vs 1m14s).
>
> With this migration would should also switch to Universal CRT
> .
> The toolchain comes in both ucrt and msvcrt variants, but the former is
> preferrable nowadays.
>
> At  Windows Runtime (WinRT) APIs support · Issue #307 ·
> mstorsjo/llvm-mingw (github.com)
>  we can see that
> starting with LLVM 15 and with a recent release of C++/WinRT
>  or mingw-w64-cppwinrt
>  we could
> have feature parity with the Visual C++ toolchain.
>
> I've tried it out with Qt 6.5.2 and LLVM-MinGW 16.0.6 and got the
> following configure output:
>
> Building for: win32-clang-g++ (x86_64, CPU features: mmx sse sse2)
> Compiler: clang 16.0.6
> Build options:
>   Using C++ standard . C++20
> Qt Core:
>   cpp/winrt base . yes
>
> Note that not all Qt modules using WinRT are working at this time. I
> searched after *winrt*.cpp and got:
> qtbase,qtconnectivity,qtsensors,qtpositioning,qtspeech,qtwebview
>
> Any thoughts about this migration?
>
> Cheers,
> Cristian
> --
> Development mailing list
> Development@qt-project.org
> https://lists.qt-project.org/listinfo/development
>


-- 
Regards,
Fan Yang
-- 
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development


Re: [Development] Is qt.io down?

2015-09-13 Thread Yang Fan
me three

On Mon, Sep 14, 2015 at 10:04 AM, Majid Qureshi  wrote:

> me too
>
> On Mon, Sep 14, 2015 at 11:59 AM, Jonathan Bagg 
> wrote:
>
>> Down for me to
>>
>> On 15-09-13 09:29 PM, Christian Gagneraud wrote:
>> > Hi there,
>> >
>> > Is qt.io and all *.qt.io down for you or is it just me?
>> >
>> > Krys.
>> > ___
>> > 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
>>
>
>
>
> --
>
>
> Majid
>
> ___
> Development mailing list
> Development@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
>
>


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


Re: [Development] 5.5 beta builds for iOS?

2015-04-20 Thread Yang Fan
Some installers are still missing but there is at least something to be
able to start testing.

On Mon, Apr 20, 2015 at 4:29 PM, Harri Pasanen ha...@mpaja.com wrote:

 There don't seem to be any?

 Thanks,

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




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


Re: [Development] Qt 5.4 beta snapshot available

2014-09-24 Thread Yang Fan
5.4 beta is coming, how fast!

On Wed, Sep 24, 2014 at 7:53 PM, Heikkinen Jani jani.heikki...@digia.com
wrote:

 Hi all,

 First Qt5.4 beta snapshot packages available here

 Windows:
 http://download.qt-project.org/snapshots/qt/5.4/5.4.0-beta/2014-09-24_20/
 Linux:
 http://download.qt-project.org/snapshots/qt/5.4/5.4.0-beta/2014-09-24_24/

 Unfortunately there is still issues with mac packages  so on those are
 missing :(

 Please check these packages and verify everything needed is in  works as
 expected.

 Qt 5.4 beta release is planned to happen during next week so please link
 all beta blocker issues in the metabug:
 https://bugreports.qt-project.org/browse/QTBUG-41077

 Br,
 Jani

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




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


Re: [Development] Qt 5.3 released

2014-05-20 Thread Yang Fan
Great!


On Tue, May 20, 2014 at 10:58 AM, Knoll Lars lars.kn...@digia.com wrote:

  Hi,

  I’m happy to announce that we have just released Qt 5.3.

  You can find more details at my blog post at
 http://blog.qt.digia.com/blog/2014/05/20/qt-5-3-released/ .

  A big thanks goes to everybody who helped make the release happen.

  Cheers,
 Lars


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




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


Re: [Development] Mac app built with Qt5.3.0 RC got rejected by Mac App Store because of non-public API calls.

2014-05-14 Thread Yang Fan
BTW, when will QtWebkit be replaced?


On Thu, May 15, 2014 at 8:48 AM, Thiago Macieira
thiago.macie...@intel.comwrote:

 Em qua 14 maio 2014, às 16:39:15, P Bai escreveu:
  As to the first two issues, from what I read online, it is because of
  QtWebkit, which I have to use in my app. Is there any hope we could get
  these fixed?

 Correct, all of them come from QtWebKit.

 Anyway, there's no plan on further updating QtWebKit from upstream because
 upstream WebKit is no longer cross-platform.

 I have no clue about the bootstrap symbols, but all of the ICU symbols are
 documented to be stable in icu-project.org and have been for some time.
 --
 Thiago Macieira - thiago.macieira (AT) intel.com
   Software Architect - Intel Open Source Technology Center

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




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


Re: [Development] Ios: Launch image is always black

2014-05-11 Thread Yang Fan
Hi,

I just want to know how to write the custom plist for customized
LaunchImage file names?


On Sun, May 11, 2014 at 1:20 AM, Christophe Thomas oxygen77...@gmail.comwrote:

 Dear all,

 I've configured my pro file in order to add to the Bundle the icons and
 launch images.

 I use the system:

 IconFiles.files=$$system(find $$PWD/icon/ios/ -name '*.png')
 IconFiles.path=./
 QMAKE_BUNDLE_DATA += IconFiles

 icon/ios folder contains both Icon-*.png and Default-*.png files

 It works fine with the icons but not with the launch image.

 Searching the web I found BUG-31431 and the resolution that consists of
 forcing a blank default-5...@2.png in the default_post.prf script. I
 understand reading the comment of the bug report that if we want to have a
 custom image we need to use a custom plist and define a different name for
 the image from the default one.

 Is my undertansding ok ? Is there another way to have a custom image as I
 don't have currently a custom plist file? Any plan of modifying this ?

 Regards,

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




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


Re: [Development] new Qt5.3 RC snapshot available

2014-04-29 Thread Yang Fan
This bug still exists in
qt-opensource-mac-x64-android-ios-5.3.0-RC_2014-04-29_02-22-23-53.dmg. iOS
developing is blocked totally.


On Mon, Apr 28, 2014 at 10:20 PM, Yang Fan missd...@gmail.com wrote:

 Yes, I see the JIRA status, but I tried
 qt-opensource-mac-x64-android-ios-5.3.0-RC_2014-04-27_10-54-10-50.dmg and
 all other snapshots later than
 qt-opensource-mac-x64-android-ios-5.3.0-RC_2014-04-16_06-16-00-40.dmg, this
 issue still exists.

 Is there any auto test case to verify this kind of issues on CI?


 On Mon, Apr 28, 2014 at 10:05 PM, Simon Hausmann simon.hausm...@digia.com
  wrote:

 On Monday 28. April 2014 22.01.32 Yang Fan wrote:
  QTBUG-38526 is not resolved, it should block the release.

 It's being worked on, as you can see if you look into JIRA. The fix is
 integrating at this moment.

 Have you tested it?


 Simon

  On Mon, Apr 28, 2014 at 3:51 PM, Heikkinen Jani
 jani.heikki...@digia.comwrote:
Hi all,
  
   We have new snapshot available in
  
 http://download.qt-project.org/snapshots/qt/5.3/5.3.0-RC/2014-04-28_77/
  
   These packages aren’t yet official RC candidate packages but pretty
 close
   so please test these  verify your fixes!
  
  
  
   We are trying to put RC out during this week so please inform me
   immediately if you find something which Is blocking the release!
  
  
  
   Qt5 changes in this snapshot:
  
   https://codereview.qt-project.org/#change,84082 :
  
   Patch Set 2:
  
   * qtbase b0d996a...93c6976 (17):
Un-export QSignalBlocker: its all inline
   
Fix vcxproj generation on Windows Phone
   
QPrintEngine - Fix alpha engine state sync
   
QSqlError: Mark deprecated functiond with QT_DEPRECATED
   
Cocoa: Make Qt::Tool windows hide on deactivate
   
Android: Add unversioned_libname configuration
   
document new QTPLUGIN magic
   
Android input method fixes for SwiftKey
   
QAbstractSocket: enable read notification for unbuffered sockets
   
Dont crash on broken GIF images
   
Deprecate setSharable in Qt containers
   
QOpenGLFunctions: Compile on Mac OS 10.6
   
Update the changelog for 5.3.0
   
Document QStrings UTF-8 conversion behaviors
   
Restore handling of BOMs in QString::fromUtf8
   
doc fixes
   
deprecate import_qpa_plugin and qpa_minimal_plugin
  
   * qtdeclarative a885d10...a1eb134 (4):
Getting the render window of an offscreen window
   
V4 regalloc: fix register spill choice under high pressure.
   
Fix crash when loading QML that tries to set non-existent group
  
   properties
  
Fix parsing of JS imports from JS files
  
   * qtdoc 66ade86...2e30101 (5):
Doc: List more platforms on Building from Sources page
   
Doc: Sort Enginio link alphabetically
   
Doc: List Qt Quick Dialogs on the Qt modules page.
   
Doc: Removed the instructions to build from sources
   
Doc: Mention OpenSSL in Qt for Windows requirements
  
   * qtenginio c7531f6...0db2d18 (1):
Doc: Add QML Todo example to the list of highlighted examples
  
   * qtlocation f81aac0...2b7eebe (1):
Remove unnecessary private export macro
  
   * qtquick1 c56f5d8...96c2c1a (1):
Add 5.3 Changelog
  
   * qtquickcontrols 80c4404...cdbf664 (1):
Correct positioning for popups in QQuickWidget
  
   * qtsensors 8a0da79...43e7f32 (1):
Add QtSensor changelog for Qt 5.3.0
  
   --
   Jani Heikkinen
   Release Manager
  
   Digia Plc
   Elektroniikkatie 10, FI 90590 Oulu Finland
   Email: jani.heikki...@digia.com
   Mobile: +358-504-873-735
   Visit us at: www.digia.com
  
   | Blog http://blog.digia.com/ |
   | Twitterhttps://twitter.com/digiaonline|
  
   LinkedIn http://www.linkedin.com/company/5119 |
   YouTubehttp://www.youtube.com/digiaonline| Facebook
   http://www.facebook.com/digiaonline |
   --
   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




 --
 Regards,
 Fan Yang




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


Re: [Development] new Qt5.3 RC snapshot available

2014-04-28 Thread Yang Fan
Yes, I see the JIRA status, but I tried
qt-opensource-mac-x64-android-ios-5.3.0-RC_2014-04-27_10-54-10-50.dmg and
all other snapshots later than
qt-opensource-mac-x64-android-ios-5.3.0-RC_2014-04-16_06-16-00-40.dmg, this
issue still exists.

Is there any auto test case to verify this kind of issues on CI?


On Mon, Apr 28, 2014 at 10:05 PM, Simon Hausmann
simon.hausm...@digia.comwrote:

 On Monday 28. April 2014 22.01.32 Yang Fan wrote:
  QTBUG-38526 is not resolved, it should block the release.

 It's being worked on, as you can see if you look into JIRA. The fix is
 integrating at this moment.

 Have you tested it?


 Simon

  On Mon, Apr 28, 2014 at 3:51 PM, Heikkinen Jani
 jani.heikki...@digia.comwrote:
Hi all,
  
   We have new snapshot available in
  
 http://download.qt-project.org/snapshots/qt/5.3/5.3.0-RC/2014-04-28_77/
  
   These packages aren’t yet official RC candidate packages but pretty
 close
   so please test these  verify your fixes!
  
  
  
   We are trying to put RC out during this week so please inform me
   immediately if you find something which Is blocking the release!
  
  
  
   Qt5 changes in this snapshot:
  
   https://codereview.qt-project.org/#change,84082 :
  
   Patch Set 2:
  
   * qtbase b0d996a...93c6976 (17):
Un-export QSignalBlocker: its all inline
   
Fix vcxproj generation on Windows Phone
   
QPrintEngine - Fix alpha engine state sync
   
QSqlError: Mark deprecated functiond with QT_DEPRECATED
   
Cocoa: Make Qt::Tool windows hide on deactivate
   
Android: Add unversioned_libname configuration
   
document new QTPLUGIN magic
   
Android input method fixes for SwiftKey
   
QAbstractSocket: enable read notification for unbuffered sockets
   
Dont crash on broken GIF images
   
Deprecate setSharable in Qt containers
   
QOpenGLFunctions: Compile on Mac OS 10.6
   
Update the changelog for 5.3.0
   
Document QStrings UTF-8 conversion behaviors
   
Restore handling of BOMs in QString::fromUtf8
   
doc fixes
   
deprecate import_qpa_plugin and qpa_minimal_plugin
  
   * qtdeclarative a885d10...a1eb134 (4):
Getting the render window of an offscreen window
   
V4 regalloc: fix register spill choice under high pressure.
   
Fix crash when loading QML that tries to set non-existent group
  
   properties
  
Fix parsing of JS imports from JS files
  
   * qtdoc 66ade86...2e30101 (5):
Doc: List more platforms on Building from Sources page
   
Doc: Sort Enginio link alphabetically
   
Doc: List Qt Quick Dialogs on the Qt modules page.
   
Doc: Removed the instructions to build from sources
   
Doc: Mention OpenSSL in Qt for Windows requirements
  
   * qtenginio c7531f6...0db2d18 (1):
Doc: Add QML Todo example to the list of highlighted examples
  
   * qtlocation f81aac0...2b7eebe (1):
Remove unnecessary private export macro
  
   * qtquick1 c56f5d8...96c2c1a (1):
Add 5.3 Changelog
  
   * qtquickcontrols 80c4404...cdbf664 (1):
Correct positioning for popups in QQuickWidget
  
   * qtsensors 8a0da79...43e7f32 (1):
Add QtSensor changelog for Qt 5.3.0
  
   --
   Jani Heikkinen
   Release Manager
  
   Digia Plc
   Elektroniikkatie 10, FI 90590 Oulu Finland
   Email: jani.heikki...@digia.com
   Mobile: +358-504-873-735
   Visit us at: www.digia.com
  
   | Blog http://blog.digia.com/ |
   | Twitterhttps://twitter.com/digiaonline|
  
   LinkedIn http://www.linkedin.com/company/5119 |
   YouTubehttp://www.youtube.com/digiaonline| Facebook
   http://www.facebook.com/digiaonline |
   --
   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




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


Re: [Development] [Interest] qt-android: How to make QML application scaled on high DPI screen automatically

2014-03-04 Thread Yang Fan
Thank Liang Qi, he told me that this bug is already fixed, you may get the
patch from the git repo and the commit id is
439a6fec84a62b9d166b84dc7574ddc250a38bfb.


On Tue, Mar 4, 2014 at 2:34 PM, Yang Fan missd...@gmail.com wrote:

 Thanks for your reply. I think this information should be shared with Qt
 developers, and I noticed the bug you mentioned was closed with no comment,
 I feel confused.


 On Tue, Mar 4, 2014 at 10:46 AM, Daiwei Li daiwe...@gmail.com wrote:

 Hi Yang and all,

 I'm curious about how to scale for high DPI on Android as well, so I did
 some reading of the Qt source today.

 On iOS and OSX, scaling is handled by implementing devicePixelRatio() in
 the respective QPlatformWindow implementations. On Android, the equivalent
 concept seems to be density:
 http://developer.android.com/reference/android/util/DisplayMetrics.html#density.
 Right now, the Android code uses the scaledDensity for certain things:
 https://bugreports.qt-project.org/browse/QTBUG-29674, but not for
 implementing the devicePixelRatio.

 Can someone with domain knowledge weigh in on how scaling is supposed to
 work? Otherwise, I'll experiment with hooking up devicePixelRatio to
 DisplayMetrics.density and report back.

 Thanks,
 Daiwei
 On Mar 1, 2014 7:41 PM, Yang Fan missd...@gmail.com wrote:

  Hi list,

 I'm writing a cross platform application with QML, all things go well
 except running on high DPI Android device, it seems that it doesn't auto
 scaled correctly, the elements look small on the high DPI screen while it
 looks good on iOS device. I have got the physical dots per inch, it is
 about 210, I know I could get the factor from this value, and let all
 elements size multiply the factor manually, but I wonder if there is an
 easy way that let Qt handle this issue just like iOS port does.
 Any suggestion is appreciated.

 Regards,
 Fan Yang

 ___
 Interest mailing list
 inter...@qt-project.org
 http://lists.qt-project.org/mailman/listinfo/interest




 --
 Regards,
 Fan Yang




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


Re: [Development] [Interest] qt-android: How to make QML application scaled on high DPI screen automatically

2014-03-03 Thread Yang Fan
Thanks for your reply. I think this information should be shared with Qt
developers, and I noticed the bug you mentioned was closed with no comment,
I feel confused.


On Tue, Mar 4, 2014 at 10:46 AM, Daiwei Li daiwe...@gmail.com wrote:

 Hi Yang and all,

 I'm curious about how to scale for high DPI on Android as well, so I did
 some reading of the Qt source today.

 On iOS and OSX, scaling is handled by implementing devicePixelRatio() in
 the respective QPlatformWindow implementations. On Android, the equivalent
 concept seems to be density:
 http://developer.android.com/reference/android/util/DisplayMetrics.html#density.
 Right now, the Android code uses the scaledDensity for certain things:
 https://bugreports.qt-project.org/browse/QTBUG-29674, but not for
 implementing the devicePixelRatio.

 Can someone with domain knowledge weigh in on how scaling is supposed to
 work? Otherwise, I'll experiment with hooking up devicePixelRatio to
 DisplayMetrics.density and report back.

 Thanks,
 Daiwei
 On Mar 1, 2014 7:41 PM, Yang Fan missd...@gmail.com wrote:

 Hi list,

 I'm writing a cross platform application with QML, all things go well
 except running on high DPI Android device, it seems that it doesn't auto
 scaled correctly, the elements look small on the high DPI screen while it
 looks good on iOS device. I have got the physical dots per inch, it is
 about 210, I know I could get the factor from this value, and let all
 elements size multiply the factor manually, but I wonder if there is an
 easy way that let Qt handle this issue just like iOS port does.
 Any suggestion is appreciated.

 Regards,
 Fan Yang

 ___
 Interest mailing list
 inter...@qt-project.org
 http://lists.qt-project.org/mailman/listinfo/interest




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


Re: [Development] How long until clang memory model is ready?

2014-01-23 Thread Yang Fan
Clang code model highlight feature works fine, but code completion is too
slow to daily use.
Some debug messages:
... Completion done in 7387 ms, with 12 items.
... Completion done in 3287 ms, with 14105 items.
... Completion done in 3236 ms, with 189 items.
... Completion done in 3325 ms, with 14106 items.
... Completion done in 3388 ms, with 0 items.
... Completion done in 3299 ms, with 200 items.
... Completion done in 3495 ms, with 14115 items.
... Completion done in 3143 ms, with 9 items.
... Completion done in 3315 ms, with 9 items.



On Thu, Jan 23, 2014 at 4:37 PM, Robert Knight robertkni...@gmail.comwrote:

  That’s correct. In Qt Creator master branch (i.e. 3.1 series) you can
 choose the code model of different languages to use clang as a code model
 backend

 What are the pros/cons of the two options for C++ as it currently stands?

 Regards,
 Rob.

 On 23 January 2014 07:55, Ziller Eike eike.zil...@digia.com wrote:
 
  On Jan 22, 2014, at 8:31 PM, Cristian Adam cristian.a...@here.com
 wrote:
 
  On 22.01.2014 19:35, ext Olivier Goffart wrote:
  Regarding the use of libclang for the code model in Qt creator, there
  was no progress in a long time.
 
  I think the clang code model branch has been merged into master:
 
 http://lists.qt-project.org/pipermail/qt-creator/2013-December/003028.html
 
  The next version of Qt Creator should have the clang code model as a
  plugin.
 
  That’s correct. In Qt Creator master branch (i.e. 3.1 series) you can
 choose the code model of different languages to use clang as a code model
 backend, or Qt Creator’s built-in. (If you pointed Qt Creator to libclang
 (and dev headers) at Qt Creator compile time.)
 
  Br, Eike
 
 
  --
  Eike Ziller, Senior Software Engineer - Digia, Qt
 
  Digia Germany GmbH, Rudower Chaussee 13, D-12489 Berlin
  Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja
  Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht
 Charlottenburg, HRB 144331 B
 
  ___
  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




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


Re: [Development] [Announce] Qt 5.2 released

2013-12-17 Thread Yang Fan
I'm using Intel C++ XE 2013 on Windows7 Ultimate together with MSVC2012.
The error messages:

xilib /NOLOGO  /OUT:..\..\..\lib\Qt5Bootstrap.lib
@C:\Users\ADMINI~1\AppData\Local\Temp\nm3A1E.tmp
xilib: executing 'lib'
cd tools\moc\  ( if not exist Makefile
Y:\x86-msvc2012-icc\qtbase\bin\qmake
Y:\x86-msvc2012-icc\qtbase\src\tools\moc\moc.pro -o Makefile ) 
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\nmake.exe -f
Makefile

Microsoft (R) Program Maintenance Utility Version 11.00.50727.1
Copyright (C) Microsoft Corporation.  All rights reserved.

C:\Program Files (x86)\Microsoft Visual Studio
11.0\VC\BIN\nmake.exe -f Makefile.Release

Microsoft (R) Program Maintenance Utility Version 11.00.50727.1
Copyright (C) Microsoft Corporation.  All rights reserved.

NMAKE : fatal error U1073: don't know how to make
'Y:\x86-msvc2012-icc\qtbase\lib\Qt5Bootstrap'
Stop.
NMAKE : fatal error U1077: 'C:\Program Files (x86)\Microsoft Visual Studio
11.0\VC\BIN\nmake.exe' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.


On Tue, Dec 17, 2013 at 9:31 AM, Thiago Macieira
thiago.macie...@intel.comwrote:

 On terça-feira, 17 de dezembro de 2013 09:08:02, Yang Fan wrote:
  Is it possible to build it with Intel C++ compiler? I tried to build with
  Intel C++ XE 2013, but got failed.

 It is on Linux. I've had the build working for two years now. In fact, I'm
 running Qt Creator 3.0 built with ICC right now.

 On Mac, I'm not sure if I've upstreamed all the patches yet. ICC 14.0 is
 the
 first in a while to support OS X. I did some work when I got access to the
 beta
 and I did make sure it still compiled a few weeks ago, but I might have
 pending patches left.

 On Windows, I haven't tested in a long while. I don't want to support
 Windows
 myself, so you'll only get a best-effort solution from me: if you post the
 compilation errors here or to bugreports.qt-project.org, I'll see if
 they're
 easy to fix. If they're not, I'll close with Out of scope. If you need to
 ensure it's working, please contact your sales rep -- that means I might
 get
 another pair of hands to help me track down the issues.

 --
 Thiago Macieira - thiago.macieira (AT) intel.com
   Software Architect - Intel Open Source Technology Center

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




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


Re: [Development] How can I use a proxy to push change to codereview.qt-project.org?

2013-12-14 Thread Yang Fan
Open your ~/.ssh/config, add some configurations like this:
Host codereview.qt-project.org
Port 29418
ProxyCommand nc -x 192.168.2.111: -X 5 %h %p
User missdeer

BTW, make sure that you have installed an OpenBSD version netcat.


On Sat, Dec 14, 2013 at 12:14 PM, Liang Jian jianlian...@gmail.com wrote:

 I used to be pushing changes to be code reviewed using the following
 command:
 git push 
 ssh://jianlian...@codereview.qt-project.org:29418/qt/qtbaseHEAD:ref/for/stable
 That works fine before, but today after I type the command there is
 not any response for half an hour, I think this is due to network problem,
 maybe due to the china's great firewall or something else. How can I use a
 proxy to push change? Thanks


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




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


Re: [Development] http://qt-project.org/wiki/Qt520-RC1-KnownIssues

2013-11-28 Thread Yang Fan
Hi,
Could you please have a look at
https://bugreports.qt-project.org/browse/QTBUG-35168, I hope it could be
fixed in the final release. Thanks.


On Thu, Nov 28, 2013 at 6:18 PM, Heikkinen Jani jani.heikki...@digia.comwrote:

  Hi all,



 Qt 5.2 RC1 is coming really soon (hoping tomorrow) so please make sure all
 important known issues is listed in known issues wiki:
 http://qt-project.org/wiki/Qt520-RC1-KnownIssues





 Br,

 Jani

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




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


Re: [Development] Qt 5.2rc1(165) iOS problems

2013-11-23 Thread Yang Fan
According to my test result, RC1(167) works, but some critical bugs exist.
1. Flickable based element such as ListView may hang when scrolling fast,
sometimes but frequently, seemly Android port has the same issue, but
desktop editions are ok.
2. can't make the window maximized or full screen by
QMainWindow/QQuickView's showMaximized() or showFullScreen() method, did I
miss something?
3. qml based application draw clipped incorrectly when the orientation is
changed from portrait to landscape, but the properties that indicate the
window size are right.
4. animation draw performance is much worse than beta.

Hope these bugs could be fixed in the final release.


On Sun, Nov 24, 2013 at 3:58 AM, Ynon Perek ynonpe...@gmail.com wrote:

  Hello All,

 I just downloaded the latest 5.2rc1(165) snapshot and tried to build a
 simple QML app on iOS simulator.

 The app is built and ran ok, but any actions I try to perform (such as
 clicking a MouseArea) does nothing.

 Also, linkage time is significantly longer than in the beta (it takes 2-3
 minutes to build the app now, while in beta it took a few seconds.)

 Here’s the QML I tried:

 import QtQuick 2.0


 Rectangle {

 width: 360

 height: 360

 Text {

 id: _text

 text: qsTr(Hello World)

 anchors.centerIn: parent

 }

 MouseArea {

 anchors.fill: parent

 onClicked: {

 _text.text = Ouch!

 }

 }

 }


 Is QML for iOS supposed to work in RC1(165) ? Any ideas what’s wrong ?


 Thanks In Advance,

   Ynon



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




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


Re: [Development] Qt5.2 RC1 snapshot

2013-11-20 Thread Yang Fan
What's the problem of iOS package, does the source code issues stop the
build process? or just the simple packaging issues?


On Wed, Nov 20, 2013 at 4:24 PM, Heikkinen Jani jani.heikki...@digia.comwrote:

  Hi all,



 We are still fighting with different problems with builds  packaging and
 that’s why there isn’t proper packages with updated content available yet
 L Builds are ongoing and we are hoping to get most of packages for your
 testing and verification later today.

 We know at least iOS package won’t be available then, maybe later this
 evening when we can integrate new fix for its build issues in qt5.git 
 rebuild the packages.



 We will sent information about new packages later today…



 Br

 Jani



 *From:* Heikkinen Jani
 *Sent:* 19. marraskuuta 2013 8:24
 *To:* development@qt-project.org
 *Cc:* releas...@qt-project.org
 *Subject:* Qt5.2 RC1 snapshot



 Hi all,



 Unfortunately there were again some issues with qt5.git integration:
 openSSL -folder was missing in (one) CI machine and that’s why integration
 failed L Why it was missing is totally unclear, same stage was executed
 in that same machine couple of days ago without problems…



 Folder is now added and integration restarted. But that means we don’t
 have packages for testing and verification this morning. Hoping everything
 goes OK now and we could have new packages with new content later today…



 We will keep you informed…



 Br,

 Jani





 --
 Jani Heikkinen
 Release Manager



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




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


Re: [Development] New Qt 5.2 snapshots available request for testing

2013-11-20 Thread Yang Fan
On Wed, Nov 20, 2013 at 9:38 PM, Salovaara Akseli 
akseli.salova...@digia.com wrote:


 * qtwebkit 8c7a760...0224bf8 (6):
  Fix compilation on ARM


does it mean qtwebkit is available on Android or iOS platform now?

BTW. when will the iOS package be available?


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


Re: [Development] First Qt 5.2 RC1 snapshot available

2013-11-13 Thread Yang Fan
no ios version installer T_T


On Wed, Nov 13, 2013 at 9:08 PM, Heikkinen Jani jani.heikki...@digia.comwrote:

  Hi all,

 There is now snapshot available:
 http://download.qt-project.org/snapshots/qt/5.2/5.2.0-rc1/



 Packages are now done from release branch and labeled as ‘rc1’.  These are
 first packages from release branch. Please test these and report your
 findings immediately. As you should know we are planning to publish Qt 5.2
 RC1 next Tuesday 19th November 2013 so we need to fix all needed issues
 during this week!



 No new Qt5 changes from release branch in these installers at this time,
 just a merged content from stable.



 Qt5 changes after #134:



 * qtactiveqt

  Doc: Updated url variable in qdocconf files.



 * qtandroidextras

  Fix note about jni references in documentation.

  Fix bug in code snippet.

  Doc: Updated url variable in qdocconf files.



 * qtbase

  Refactor QQnxWindow

  Request the glyph at the right subpixel offset

  Force FT font engine to load the right glyph metrics

  Remove a boolean trap in QLayout::replaceWidget

  QKeySequenceEdit: give nested line edit an objectName

  QKeySequenceEdit: make setKeySequence a slot

  Document the BC break of viewportSizeHint() in itemviews

  Android native message dialog

  Avoid signed integer overflow by making an addition a subtraction

  QTimeZone - Fix Windows Transitions

  QTimeZone - Fix Mac Transistions

  Move QTreeView::accessibleTree2Index to the private class

  QHeaderView - remove confusing bool

  QSslConfiguration: rename [get]session() to [get]sessionTicket()

  iOS: Send expose event when a window changes the geometry.

  Remove disused version of QPlatformMessageDialogHelper::clicked signal

  Fix QFileDialog::getSaveFilename() with a given default name

  Doc: Move threading overviews from qtbase.git to qtdoc.git

  Doc: Added some Qt Quick examples to manifest-meta.qdocconf

  Prevent clang from warning about unused variables

  QVariant: Convert automatically from enum types to integral types.

  Fix QVariant::canConvert with longlong

  Revert Fix setVisible() of QWidget has no effect in QTreeWidgetItem

  NSUrlConnection backend for QNetworkAccessManager

  Prevent a crash in QLayout::replaceWidget

  Cocoa File Dialog: Remove sandbox-ufriendly file system watcher

  Fix potential BC break in QColorDialog.

  Fix potential BC break in QTabBar.

  iOS: Cancel any active touches when destroying a QIOSWindow

  iOS: Detect/handle cancellation of subset of touch points

  iOS: Rename QIOSWindows backing view from EAGLView to QUIView

  iOS: Rename m_requestedGeometry to m_normalGeometry

  Cocoa: fix a crash in QCocoaFileDialogHelper

  qfeatures.txt: add section about XML schema

  Dialogs: provide the StandardButton-ButtonRole mapping in QPA

  Android: Allow modules to specify permissions/features

  add/remove window only when the window is shown/hidden

  Windows: Do not set transient parent on popups.

  Add a warning message when a WM_DESTROY not triggered by Qt is received.

  Revert Add tracing to logging framework

  qdoc: Dont include internal QML types

  qdoc: Fix output file name generation for examples

  QNX: Fixed normalPosition of touch events

  Add missing Q_INIT_RESOURCE

  Android: allow installing apps to SD card by default

  tst_QFlags: make constExpr() check compile on clang trunk

  QUrlTwoFlag: add two missing constexpr

  Q(UrlTwo)Flags: avoid undefined behavior

  iOS: set active window upon calls to requestActiveWindow

  Doc: Fix cross-module links

  EglFS: make sure resize events are delivered

  Android: Fix registerClipboardManager semaphore initialization

  Android: Catch any startActivity exceptions

  QMetaType: Fix conversion between module types.

  Android: Fix menu on API-11+

  iOS: Remove unused QIOSWindow methods for getting effective width/height

  Clarify Q_INIT_RESOURCE in relation to namespaces

  Dont hardcode devicePixelRatio to 1.

  Doc: update Qt Creator external pages

  Revert Use Qts own glyph cache with the freetype engine.

  Android: prevent main activity to be recreated.

  Doc: Updated url variable in qdocconf files.

  Add note about fullscreen on Android to changes-5.2.0

  Make OpenGL texture glyph cache use the right freetype glyphs

  QGlobal: static_assert that sizeof(int) == 4 and UCHAR_MAX == 255

  Force length fo licensee literals to be computed at runtime

  Doc: Add a little more information about current dirs

  Remove two unused functions from QAccessibleTabBar

  QIntegerForSize: add test

  Disable threaded rendering for Intel HD 3000 cards.

  Revert Ensure CSS rules are inherited from the parent tags

  Add missing \since 5.1 for QVector::takeFirst() and ::takeLast()

  QStandardPaths: add GenericConfigLocation

  tst_qurl: add test for matches() with empty vs null case

  Add better version checks for accessibility

  Support native event filters for screen events

  Declare Cocoa conversion funcs in objc-mode 

Re: [Development] New Qt5.2 snapshot available

2013-11-08 Thread Yang Fan
I have tried to run
/Volumes/qt-mac-opensource-5.2.0-beta1-ios-x86_64-offline/qt-mac-opensource-5.2.0-beta1-ios-x86_64-offline.app/Contents/MacOS$
./qt-mac-opensource-5.2.0-beta1-ios-x86_64-offline in the terminal
directly, the executable hangs.


On Fri, Nov 8, 2013 at 5:10 PM, Heikkinen Jani jani.heikki...@digia.comwrote:

  Hi,



 Yes, it is known issue. As I wrote: With mac installers there might be
 some installation issues, workaround seems to be “run the
 installer.app/Contents/MacOS/installer from the command line”.



 Did you try that?



 Br,

 Jani





 *From:* Yang Fan [mailto:missd...@gmail.com]
 *Sent:* 8. marraskuuta 2013 2:51
 *To:* Heikkinen Jani
 *Cc:* development@qt-project.org
 *Subject:* Re: [Development] New Qt5.2 snapshot available



 Build#134 dmg packages are broken.



 On Fri, Nov 1, 2013 at 2:05 PM, Heikkinen Jani jani.heikki...@digia.com
 wrote:

 Hi all,



 We got qt5.git integrated! It means we have now new content in latest
 snapshot in http://download.qt-project.org/snapshots/qt/5.2/5.2.0-beta1/



 Unfortunately MAC packages are missing, hoping we could get those during
 today as well..



 Build #123, Qt5 changes after Beta1 release:



 * qtactiveqt de09a6d...71fc126 (2):

  fix doc build path

  remove pointless #ifndef QT_NO_WIN_ACTIVEQT



 * qtandroidextras c1d9cc6...df30d67 (1):

  Update documentation



 * qtbase 690cf42...fe220f3 (133):

  Dont use NO_DEFAULT_PATH on mac when finding GL headers and libraries.

  bring the windows configure -qconfig handling in line with the unix one

  turn makeabs into a proper cleanPath()

  duplicate less work while handling -qconfig

  iOS: Add standard paths implementation for iOS

  Windows: Do not use blend function for GL windows with alpha.

  iOS: Fix logic for determining whether to exit the root event loop

  Update the ICC spec on Linux to actually compile stuff

  xcode generator: resolve QMAKE_INFO_PLIST from source dir

  Consider multi-monitor setups in QPlatformWindow::initialGeometry().

  Fix QSpinBox size calculation problem with empty stylesheets

  dbuscommon.pri: Fix source file dependency

  Android: Dont rely on QIcon::isNull() to validate icon data.

  Android: Fix problem with leaking local refs.

  remove compiler warning

  xcb: Compilefix #ifdef glx code

  xcb: Act on the _NET_ACTIVE_WINDOW event

  iOS: Build libs (including Qt itself) for both simulator and device

  Fix the network proxy code for windows to detect properly services

  Adding CI utilities to Android test script

  Test that Qt tools can handle as a digit separator.

  Use Q_UNLIKELY in qCDebug, qCTrace

  Fix finding cursor position in words with accents

  Silence the _COMPIZ_DECOR_* warnings on Ubuntu

  Add QGuiApplication::sync() function

  iOS: Build simulator libraries with suffix

  Doc: Fix miscellaneous typos

  Issue correct warnings with QObject::startTimer()

  Doc: Remove unofficial Qt Concurrent headers

  Different native Cocoa menu fixes.

  Keep web fontdata alive as long as CG uses it

  Dont support threaded GL on chromium (virtual box GL)

  QNX: Manage foreign mmrenderer windows

  Fix msvc project dependencies as specificed by .depends

  remove qt_windows.h include from qwineventnotifier.h

  Cocoa: Fix mouse event coordinates transform to window space

  MacGui tests: Remove references to CGPostMouseEvent

  qdbusxml2cpp: Fix warnings about writing to closed devices.

  fix /SAFESEH linker option for VS = 2010

  QLocale: Add auto tests for Poruguese(Brazil) and Greek locales

  Make the localHostName() copy function return QByteArray

  Fix QCommonStyle::subControlRect(SC_GroupBoxCheckBox)

  validate qconfig-*.h against qfeatures.txt

  dont emit comments to generated qfeatures.h

  generate qfeatures.h at build time

  give XMLSTREAM a Name

  fix markup

  purge references to non-features

  purge vestiges of dead QT_NO_* defines

  remove remaining non-concurrent branches from concurrent samples

  remove dead code

  Android: handle keyPress event for Key_Back

  Fix the show/hide logic.

  Allow the user to specify a theme list.

  Re-enable NonFullScreenWindows on Android

  Fail when QT_POINTER_SIZE is not set

  eglfs: Make backingstore handle unexpected scenarios gracefully

  Fix compilation with MinGW gcc 64 bit

  Android: Dont crash if the screen is not yet initialized.

  Android: Remove unneeded dependency

  iOS: Set ARCHS in Xcode project for both simulator and device SDKs

  Doc: Update boost::bind()/std::tr1::bind() to std::bind()

  Remove unused static function systemtimeToMsecs()

  QWizard: provoke enum value not handled in switch warnings in
 object_name_for_button

  QWizard: give all buttons an objectName

  Doc: Added a new Qt Creator \externalpage

  network: fix multi-phased NTLM authentication

  Add QMAKE_PKGCONFIG_VERSION variable to allow version overriding

  remove some vestiges of QFontEngineQPF

  Fix - psql driver must format qdatetime using iso

  eglfs

Re: [Development] New Qt5.2 snapshot available

2013-11-07 Thread Yang Fan
Build#134 dmg packages are broken.


On Fri, Nov 1, 2013 at 2:05 PM, Heikkinen Jani jani.heikki...@digia.comwrote:

  Hi all,



 We got qt5.git integrated! It means we have now new content in latest
 snapshot in http://download.qt-project.org/snapshots/qt/5.2/5.2.0-beta1/



 Unfortunately MAC packages are missing, hoping we could get those during
 today as well..



 Build #123, Qt5 changes after Beta1 release:



 * qtactiveqt de09a6d...71fc126 (2):

  fix doc build path

  remove pointless #ifndef QT_NO_WIN_ACTIVEQT



 * qtandroidextras c1d9cc6...df30d67 (1):

  Update documentation



 * qtbase 690cf42...fe220f3 (133):

  Dont use NO_DEFAULT_PATH on mac when finding GL headers and libraries.

  bring the windows configure -qconfig handling in line with the unix one

  turn makeabs into a proper cleanPath()

  duplicate less work while handling -qconfig

  iOS: Add standard paths implementation for iOS

  Windows: Do not use blend function for GL windows with alpha.

  iOS: Fix logic for determining whether to exit the root event loop

  Update the ICC spec on Linux to actually compile stuff

  xcode generator: resolve QMAKE_INFO_PLIST from source dir

  Consider multi-monitor setups in QPlatformWindow::initialGeometry().

  Fix QSpinBox size calculation problem with empty stylesheets

  dbuscommon.pri: Fix source file dependency

  Android: Dont rely on QIcon::isNull() to validate icon data.

  Android: Fix problem with leaking local refs.

  remove compiler warning

  xcb: Compilefix #ifdef glx code

  xcb: Act on the _NET_ACTIVE_WINDOW event

  iOS: Build libs (including Qt itself) for both simulator and device

  Fix the network proxy code for windows to detect properly services

  Adding CI utilities to Android test script

  Test that Qt tools can handle as a digit separator.

  Use Q_UNLIKELY in qCDebug, qCTrace

  Fix finding cursor position in words with accents

  Silence the _COMPIZ_DECOR_* warnings on Ubuntu

  Add QGuiApplication::sync() function

  iOS: Build simulator libraries with suffix

  Doc: Fix miscellaneous typos

  Issue correct warnings with QObject::startTimer()

  Doc: Remove unofficial Qt Concurrent headers

  Different native Cocoa menu fixes.

  Keep web fontdata alive as long as CG uses it

  Dont support threaded GL on chromium (virtual box GL)

  QNX: Manage foreign mmrenderer windows

  Fix msvc project dependencies as specificed by .depends

  remove qt_windows.h include from qwineventnotifier.h

  Cocoa: Fix mouse event coordinates transform to window space

  MacGui tests: Remove references to CGPostMouseEvent

  qdbusxml2cpp: Fix warnings about writing to closed devices.

  fix /SAFESEH linker option for VS = 2010

  QLocale: Add auto tests for Poruguese(Brazil) and Greek locales

  Make the localHostName() copy function return QByteArray

  Fix QCommonStyle::subControlRect(SC_GroupBoxCheckBox)

  validate qconfig-*.h against qfeatures.txt

  dont emit comments to generated qfeatures.h

  generate qfeatures.h at build time

  give XMLSTREAM a Name

  fix markup

  purge references to non-features

  purge vestiges of dead QT_NO_* defines

  remove remaining non-concurrent branches from concurrent samples

  remove dead code

  Android: handle keyPress event for Key_Back

  Fix the show/hide logic.

  Allow the user to specify a theme list.

  Re-enable NonFullScreenWindows on Android

  Fail when QT_POINTER_SIZE is not set

  eglfs: Make backingstore handle unexpected scenarios gracefully

  Fix compilation with MinGW gcc 64 bit

  Android: Dont crash if the screen is not yet initialized.

  Android: Remove unneeded dependency

  iOS: Set ARCHS in Xcode project for both simulator and device SDKs

  Doc: Update boost::bind()/std::tr1::bind() to std::bind()

  Remove unused static function systemtimeToMsecs()

  QWizard: provoke enum value not handled in switch warnings in
 object_name_for_button

  QWizard: give all buttons an objectName

  Doc: Added a new Qt Creator \externalpage

  network: fix multi-phased NTLM authentication

  Add QMAKE_PKGCONFIG_VERSION variable to allow version overriding

  remove some vestiges of QFontEngineQPF

  Fix - psql driver must format qdatetime using iso

  eglfs: Perform initialization in initialize() instead of the constructor

  QWindowsKeyMapper: Added some comments about functionality + cleanup

  Rewrite qmakes exclusive-build feature

  xcode: Set QMAKE_XCODE_LIBRARY_SUFFIX from default_post

  CMake: Fix quoting issue with quoted paths in strings.

  Remove sunken state for Android.

  Android: Fix the QSlider handler position.

  QJNI: Dont detach from the thread as long as the thread is alive.

  Do not byteswap RGBA formats

  support cleanly querying private modules in qtHaveModule()

  xcode: Move Qt preprocessor steps to separate target

  Fix bug in updatePossibleKeyCodes() with dead keys and modifiers

  Fix virtual key mapping on MS Windows

  kill unix_to_dos script

  Remove superfluous libudev ... line

  

Re: [Development] Qt 5 RC Testing

2012-12-03 Thread Yang Fan
Hi,

It seems there is no progress on
https://bugreports.qt-project.org/browse/QTWEBKIT-383. I think it's very
important, at least for me, we Chinese will read Chinese web page everyday,
but it fails on Windows platform.


On Mon, Dec 3, 2012 at 9:34 PM, Linaae Hanne hanne.lin...@digia.com wrote:

 Sorry, quoting got messed up, so trying again:

 On 12/3/12 2:00 PM, Motyka Rafal rafal.mot...@digia.com wrote:
 Qt 5 RC release testing continues. We would like to kindly ask the Qt
 Community for help by testing the new packages.
 
 1. Installer packages are available here:
 http://releases.qt-project.org/digia/5.0.0_rc1/backups/2012-12-03-362/
 http://releases.qt-project.org/digia/5.0.0_rc1/backups/2012-12-03-362/
 
 
 2. We're still working to fix issues. The list of known issues and
 workarounds:
 http://qt-project.org/wiki/Qt500RC1KnownIssues
 If you find anything that is not already there, please feel free to
 update the wiki with your findings.

 Just to clarify a bit more:
 The packages mentioned by Rafal are the ones we had hoped to be ready for
 the RC, but due to the issues we have found so far (listed here
 http://qt-project.org/wiki/Qt500RC1KnownIssues) it does not look like we
 can use these packages for the RC.

 We therefore suggest to spend the next hours trying to improve the current
 status, and generate new packages for the RC this evening. For this to be
 successful, it is very important that we only push changes that are
 important for the RC, to stable right now.

 If we succeed, we can have RC packages ready tomorrow morning CET.

 Hanne


 3. Qt bug reports (in
 https://bugreports.qt-project.org/ https://bugreports.qt-project.org/)
 should be reported with
 Affects Version/sRequired = '5.0.0 RC 1'.
 
 
 4. If there are issues you think must be fixed before we can have a
 meaningful the release, please ensure that it is marked as required for
 QTBUG-27426 - Qt 5.0 Final release tasks.
 https://bugreports.qt-project.org/browse/QTBUG-27426 includes known bugs.
 
 
 5. Documentation issues are covered by
 https://bugreports.qt-project.org/browse/QTBUG-27512
 https://bugreports.qt-project.org/browse/QTBUG-27512
 
 
 6. There is a form
 http://testresults.qt-project.org/forms/release-testing/
 http://testresults.qt-project.org/forms/release-testing/  to be used to
 communicate the testing results. Please feel free to use it.
 
 
 7. If there is a need for discussion, let's do that on
 releas...@qt-project.org or on irc: #qt-releases on Freenode.
 
 
 
 Thank you.
 
 Best regards,
 
 /Rafal
 
 
 Rafal Motyka
 QE Engineer
 Digia, Qt
 
 
 Email:
 rafal.mot...@digia.com mailto:forename.surn...@digia.com
 Mobile: +47 95005389
 http://qt.digia.com
 Qt Blog: http://blog.qt.digia.com/
 Qt Facebook: www.facebook.com/qt
 Qt Twitter: www.twitter.com/qtcommercial
 
 
 --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




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


Re: [Development] QtWebkit from Qt5 couldn't display Chinese characters correctly on Windows

2012-11-28 Thread Yang Fan
Hi,

Thanks for your reply.
I created a bug at https://bugreports.qt-project.org/browse/QTWEBKIT-383.


On Wed, Nov 28, 2012 at 3:26 PM, Hausmann Simon simon.hausm...@digia.comwrote:

 Hi,

 If the issue appears only with QtWebKit on Windows but not with the same
 version on Mac or Linux/X11, then I think it is very unlikely that it can
 be resolved with a setting. These things should work out of the box with Qt
 (like you expect).

 It could be an issue in WebKit, maybe ICU or something in the font
 database causing us not to find fonts.

 Traditionally these kind of problems usually are either a text
 encoding/decoding  problem, a problem with shaping (unlikely) or a lack of
 fonts (or us not finding them).

 Simon

 --
 Sendt fra min Nokia N923.11.12 01:07 skrev Yang Fan:
 Yes, I checked this issue on Windows 7, Mac OSX 10.6.8 and Ubuntu 12.10,
 only Windows version has this problem, so I indicated it on Windows in the
 mail subject.
 I didn't create a bug report, since I think there may be some setting
 items of Qt/QtWebkit could resolve this problem.




 On Thu, Nov 22, 2012 at 11:03 PM, Qi Liang liang...@digia.com wrote:

 At least for me, browser could display simplified Chinese characters
 correctly on mac. BTW, all the old text codecs are in QtCore 5.0 now. Maybe
 someone with your configuration could verify it works or not.


 Have you created bug report?


 Regards,
 Liang



 From: 
 development-bounces+liang.qi=digia@qt-project.org[development-bounces+liang.qi=
 digia@qt-project.org] on behalf of Yang Fan [missd...@gmail.com]
 Sent: Thursday, November 22, 2012 7:24 AM
 To: development@qt-project.org
 Subject: [Development] QtWebkit from Qt5 couldn't display Chinese
 characters correctly on Windows




 Hi All,

 Maybe it's not so suitable to ask here, since there's no reply in the
 Interest maillist.
 I built Qt5 from Git with MSVC2010 SP1 by myself, I used ICU5.0 to build
 QtWebkit. But I found it couldn't display Chinese characters correctly on
 Windows, the official example under
 qt5\qtwebkit-examples-and-demos\examples\browser has the same issue. Did I
 miss something? Someone has reported this issue before but got no reply.
 https://qt-project.org/forums/viewthread/21022 .
 Any suggestion would be appreciated.


 Regards,
 Fan Yang




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





 --

 Regards,
 Fan Yang




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


Re: [Development] QtWebkit from Qt5 couldn't display Chinese characters correctly on Windows

2012-11-27 Thread Yang Fan
Any update?


On Tue, Nov 27, 2012 at 8:30 AM, Yang Fan missd...@gmail.com wrote:

 Any update?


 On Fri, Nov 23, 2012 at 8:07 AM, Yang Fan missd...@gmail.com wrote:

 Yes, I checked this issue on Windows 7, Mac OSX 10.6.8 and Ubuntu 12.10,
 only Windows version has this problem, so I indicated it on Windows in the
 mail subject.
 I didn't create a bug report, since I think there may be some setting
 items of Qt/QtWebkit could resolve this problem.


 On Thu, Nov 22, 2012 at 11:03 PM, Qi Liang liang...@digia.com wrote:

  At least for me, browser could display simplified Chinese characters
 correctly on mac. BTW, all the old text codecs are in QtCore 5.0 now. Maybe
 someone with your configuration could verify it works or not.

  Have you created bug report?

  Regards,
 Liang

  --
 *From:* 
 development-bounces+liang.qi=digia@qt-project.org[development-bounces+liang.qi=
 digia@qt-project.org] on behalf of Yang Fan [missd...@gmail.com]
 *Sent:* Thursday, November 22, 2012 7:24 AM
 *To:* development@qt-project.org
 *Subject:* [Development] QtWebkit from Qt5 couldn't display Chinese
 characters correctly on Windows


 Hi All,

 Maybe it's not so suitable to ask here, since there's no reply in the
 Interest maillist.
 I built Qt5 from Git with MSVC2010 SP1 by myself, I used ICU5.0 to build
 QtWebkit. But I found it couldn't display Chinese characters correctly on
 Windows, the official example under
 qt5\qtwebkit-examples-and-demos\examples\browser has the same issue. Did I
 miss something? Someone has reported this issue before but got no reply.
 https://qt-project.org/forums/viewthread/21022 .
 Any suggestion would be appreciated.

 Regards,
 Fan Yang



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




 --
 Regards,
 Fan Yang




 --
 Regards,
 Fan Yang




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


Re: [Development] Qt 4.8.4 Release candidate 4 available

2012-11-26 Thread Yang Fan
So many RCs.


On Mon, Nov 26, 2012 at 11:24 PM, Taipale Juhani
juhani.taip...@digia.comwrote:

  Hi,

 ** **

 Qt 4.8.4 release candidate 4 is available at
 http://releases.qt-project.org/digia/4.8.4_RC4/

 It is based on  SHA1: 96311def2466dd44de64d77a1c815b22fbf68f71

 ** **

 Juhani Taipale

 Software Specialist, Qt Commercial RD

 Digia Plc

 Piippukatu 11, FI-40100 JYVÄSKYLÄ FINLAND

 Tel: +358 50 384 3755

 ** **

 Visit us at :www.digia.com or qt.digia.com

 ** **

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




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


Re: [Development] QtWebkit from Qt5 couldn't display Chinese characters correctly on Windows

2012-11-26 Thread Yang Fan
Any update?


On Fri, Nov 23, 2012 at 8:07 AM, Yang Fan missd...@gmail.com wrote:

 Yes, I checked this issue on Windows 7, Mac OSX 10.6.8 and Ubuntu 12.10,
 only Windows version has this problem, so I indicated it on Windows in the
 mail subject.
 I didn't create a bug report, since I think there may be some setting
 items of Qt/QtWebkit could resolve this problem.


 On Thu, Nov 22, 2012 at 11:03 PM, Qi Liang liang...@digia.com wrote:

  At least for me, browser could display simplified Chinese characters
 correctly on mac. BTW, all the old text codecs are in QtCore 5.0 now. Maybe
 someone with your configuration could verify it works or not.

  Have you created bug report?

  Regards,
 Liang

  --
 *From:* 
 development-bounces+liang.qi=digia@qt-project.org[development-bounces+liang.qi=
 digia@qt-project.org] on behalf of Yang Fan [missd...@gmail.com]
 *Sent:* Thursday, November 22, 2012 7:24 AM
 *To:* development@qt-project.org
 *Subject:* [Development] QtWebkit from Qt5 couldn't display Chinese
 characters correctly on Windows


 Hi All,

 Maybe it's not so suitable to ask here, since there's no reply in the
 Interest maillist.
 I built Qt5 from Git with MSVC2010 SP1 by myself, I used ICU5.0 to build
 QtWebkit. But I found it couldn't display Chinese characters correctly on
 Windows, the official example under
 qt5\qtwebkit-examples-and-demos\examples\browser has the same issue. Did I
 miss something? Someone has reported this issue before but got no reply.
 https://qt-project.org/forums/viewthread/21022 .
 Any suggestion would be appreciated.

 Regards,
 Fan Yang



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




 --
 Regards,
 Fan Yang




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


[Development] don't know how to make 'styles\qfusionstyle.h'

2012-11-25 Thread Yang Fan
Hi All,

I'm trying to build Qt5 from Git with MSVC2010, but got the following
errors:
D:\qt5\qtbase\bin\moc.exe -DUNICODE -DWIN32 -DQT_NO_USING_NAMESPACE
-DQT
_BUILD_WIDGETS_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII
-DQT_ASCII_CAST_WARNIN
GS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS
-DQT_DISABLE
_DEPRECATED_BEFORE=0x040800 -D_USE_MATH_DEFINES -DQT_NO_STYLE_MAC
-DQT_STYLE_WIN
DOWS -DQT_NO_STYLE_GTK -DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE
-DQT_
NO_DIRECTWRITE -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2
-DQT_OPENGL_
ES_2_ANGLE -DQT_NO_EXCEPTIONS -ID:\OpenSSL-Win32\include
-I..\..\include -I
..\..\include\QtWidgets -I..\..\include\QtWidgets\5.0.0
-I..\..\include\QtWi
dgets\5.0.0\QtWidgets -Itmp -I..\3rdparty\wintab -Idialogs
-I..\3rdparty
\harfbuzz\src -I. -I..\..\include\QtGui -I..\..\include\QtGui\5.0.0
-I..
\..\include\QtGui\5.0.0\QtGui -I..\..\include\QtCore
-I..\..\include\QtCore\
5.0.0 -I..\..\include\QtCore\5.0.0\QtCore -Itmp\moc\debug_shared
-I..\..\m
kspecs\win32-msvc2010 -D_MSC_VER=1600 -DWIN32 kernel\qgesturemanager_p.h
-o tmp
\moc\debug_shared\moc_qgesturemanager_p.cpp
NMAKE : fatal error U1073: don't know how to make 'styles\qfusionstyle.h'
Stop.
NMAKE : fatal error U1077: 'D:\Program Files (x86)\Microsoft Visual Studio
10.0
\VC\BIN\nmake.exe' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
Any suggestion?

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


Re: [Development] Qt 4.8.4 release candidate available next week

2012-11-23 Thread Yang Fan
Can't wait for the final release.


On Fri, Nov 23, 2012 at 9:59 PM, Taipale Juhani juhani.taip...@digia.comwrote:

  Hi,

 ** **

 The next release candidate for 4.8.4 will be available at the beginning of
 next week.

 ** **

 Br,

 Juhani

 --

 Juhani Taipale

 Software Specialist - Digia, Qt 

 ** **

 Visit us on: http://qt.digia.com

 ** **

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




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


Re: [Development] QtWebkit from Qt5 couldn't display Chinese characters correctly on Windows

2012-11-22 Thread Yang Fan
Yes, I checked this issue on Windows 7, Mac OSX 10.6.8 and Ubuntu 12.10,
only Windows version has this problem, so I indicated it on Windows in the
mail subject.
I didn't create a bug report, since I think there may be some setting items
of Qt/QtWebkit could resolve this problem.


On Thu, Nov 22, 2012 at 11:03 PM, Qi Liang liang...@digia.com wrote:

  At least for me, browser could display simplified Chinese characters
 correctly on mac. BTW, all the old text codecs are in QtCore 5.0 now. Maybe
 someone with your configuration could verify it works or not.

  Have you created bug report?

  Regards,
 Liang

  --
 *From:* 
 development-bounces+liang.qi=digia@qt-project.org[development-bounces+liang.qi=
 digia@qt-project.org] on behalf of Yang Fan [missd...@gmail.com]
 *Sent:* Thursday, November 22, 2012 7:24 AM
 *To:* development@qt-project.org
 *Subject:* [Development] QtWebkit from Qt5 couldn't display Chinese
 characters correctly on Windows


 Hi All,

 Maybe it's not so suitable to ask here, since there's no reply in the
 Interest maillist.
 I built Qt5 from Git with MSVC2010 SP1 by myself, I used ICU5.0 to build
 QtWebkit. But I found it couldn't display Chinese characters correctly on
 Windows, the official example under
 qt5\qtwebkit-examples-and-demos\examples\browser has the same issue. Did I
 miss something? Someone has reported this issue before but got no reply.
 https://qt-project.org/forums/viewthread/21022 .
 Any suggestion would be appreciated.

 Regards,
 Fan Yang



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




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


Re: [Development] QtWebkit from Qt5 couldn't display Chinese characters correctly on Windows

2012-11-22 Thread Yang Fan
The example under qt5\qtbase\examples\widgets\richtext\textedit seems OK.
It could input Chinese characters, opens a text file contains Chinese
characters and displays correctly.


On Thu, Nov 22, 2012 at 10:34 PM, Konstantin Ritt ritt...@gmail.com wrote:

 Hi,

 Plz check if the rich text editor example shows these Chinese
 characters correctly.

 Konstantin


 2012/11/22 Yang Fan missd...@gmail.com:
 
  Hi All,
 
  Maybe it's not so suitable to ask here, since there's no reply in the
  Interest maillist.
  I built Qt5 from Git with MSVC2010 SP1 by myself, I used ICU5.0 to build
  QtWebkit. But I found it couldn't display Chinese characters correctly on
  Windows, the official example under
  qt5\qtwebkit-examples-and-demos\examples\browser has the same issue. Did
 I
  miss something? Someone has reported this issue before but got no reply.
  https://qt-project.org/forums/viewthread/21022 .
  Any suggestion would be appreciated.
 
  Regards,
  Fan Yang
 
 
 
  ___
  Development mailing list
  Development@qt-project.org
  http://lists.qt-project.org/mailman/listinfo/development
 




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


[Development] QtWebkit from Qt5 couldn't display Chinese characters correctly on Windows

2012-11-21 Thread Yang Fan
Hi All,

Maybe it's not so suitable to ask here, since there's no reply in the
Interest maillist.
I built Qt5 from Git with MSVC2010 SP1 by myself, I used ICU5.0 to build
QtWebkit. But I found it couldn't display Chinese characters correctly on
Windows, the official example under
qt5\qtwebkit-examples-and-demos\examples\browser has the same issue. Did I
miss something? Someone has reported this issue before but got no reply.
https://qt-project.org/forums/viewthread/21022 .
Any suggestion would be appreciated.

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


Re: [Development] Missing headers after building installing

2012-11-20 Thread Yang Fan
Thanks for your reply. When I run configure with -developer-build, the
issue disappears, seems a bit stupid:(


On Tue, Nov 20, 2012 at 4:47 PM, Qi Liang liang...@digia.com wrote:

  Sorry, can't reproduce your issue on 10.6.8. The default compiler on
 10.6.8 + xcode 3.2.6 should be g++ 4.2, not clang++. Apple doesn't provide
 it. So maybe you are asking for the support of clang++ on 10.6, I guess.

  And I think it's better to talk this kind of issue in interest mailing
 list, not here.
 http://lists.qt-project.org/mailman/listinfo/interest

  Regards,
 Liang

  --
 *From:* 
 development-bounces+liang.qi=digia@qt-project.org[development-bounces+liang.qi=
 digia@qt-project.org] on behalf of Yang Fan [missd...@gmail.com]
 *Sent:* Tuesday, November 20, 2012 12:59 AM
 *To:* development@qt-project.org
 *Subject:* [Development] Missing headers after building  installing

  Hi All,

 I built Qt5 from git on my Mac OS X 10.6.8 than make install to
 /usr/local/Qt-5.0.0. Then I tried to build a small program but got the
 following errors:

 clang++ -c -pipe -mmacosx-version-min=10.6 -O2 -Wall -W -fPIC
 -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/local/Qt-5.0.0/mkspecs/macx-clang -I.
 -I. -I/usr/local/Qt-5.0.0/include -I/usr/local/Qt-5.0.0/include/QtCore
 -I/usr/local/Qt-5.0.0/lib/QtCore.framework/Versions/5/Headers -I. -o
 json_parser.o json_parser.cc
 clang++ -c -pipe -mmacosx-version-min=10.6 -O2 -Wall -W -fPIC
 -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/local/Qt-5.0.0/mkspecs/macx-clang -I.
 -I. -I/usr/local/Qt-5.0.0/include -I/usr/local/Qt-5.0.0/include/QtCore
 -I/usr/local/Qt-5.0.0/lib/QtCore.framework/Versions/5/Headers -I. -o
 json_scanner.o json_scanner.cpp
 In file included from json_scanner.cpp:21:
 ./qjson_debug.h:24:10: fatal error: 'QtCore/QDebug' file not found
 #include QtCore/QDebug
  ^
 In file included from json_parser.cc:36:
 In file included from json_parser.yy:26:
 In file included from ./parser_p.h:25:
 In file included from ./parser.h:24:
 ./qjson_export.h:23:10: fatal error: 'QtCore/qglobal.h' file not found
 #include QtCore/qglobal.h
  ^
 1 error generated.
 make[2]: *** [json_scanner.o] Error 1
 make[2]: *** Waiting for unfinished jobs
 1 error generated.
 make[2]: *** [json_parser.o] Error 1
 make[1]: *** [sub-QJSON-qjson-make_first-ordered] Error 2
 make: *** [sub-3rdparty-make_first-ordered] Error 2

 I looked into directory /usr/local/Qt-5.0.0/include/QtCore, there is no
 file called QDebug or qglobal.h, but in directory
 /usr/local/Qt-5.0.0/lib/QtCore.framework/Versions/5/Headers, there are. I
 think if there's something wrong with the installing process?

 Any suggestion would be appreciated.

 --
 Regards,
 Fan Yang


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




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


[Development] Missing headers after building installing

2012-11-19 Thread Yang Fan
Hi All,

I built Qt5 from git on my Mac OS X 10.6.8 than make install to
/usr/local/Qt-5.0.0. Then I tried to build a small program but got the
following errors:

clang++ -c -pipe -mmacosx-version-min=10.6 -O2 -Wall -W -fPIC -DQT_NO_DEBUG
-DQT_CORE_LIB -I/usr/local/Qt-5.0.0/mkspecs/macx-clang -I. -I.
-I/usr/local/Qt-5.0.0/include -I/usr/local/Qt-5.0.0/include/QtCore
-I/usr/local/Qt-5.0.0/lib/QtCore.framework/Versions/5/Headers -I. -o
json_parser.o json_parser.cc
clang++ -c -pipe -mmacosx-version-min=10.6 -O2 -Wall -W -fPIC -DQT_NO_DEBUG
-DQT_CORE_LIB -I/usr/local/Qt-5.0.0/mkspecs/macx-clang -I. -I.
-I/usr/local/Qt-5.0.0/include -I/usr/local/Qt-5.0.0/include/QtCore
-I/usr/local/Qt-5.0.0/lib/QtCore.framework/Versions/5/Headers -I. -o
json_scanner.o json_scanner.cpp
In file included from json_scanner.cpp:21:
./qjson_debug.h:24:10: fatal error: 'QtCore/QDebug' file not found
#include QtCore/QDebug
 ^
In file included from json_parser.cc:36:
In file included from json_parser.yy:26:
In file included from ./parser_p.h:25:
In file included from ./parser.h:24:
./qjson_export.h:23:10: fatal error: 'QtCore/qglobal.h' file not found
#include QtCore/qglobal.h
 ^
1 error generated.
make[2]: *** [json_scanner.o] Error 1
make[2]: *** Waiting for unfinished jobs
1 error generated.
make[2]: *** [json_parser.o] Error 1
make[1]: *** [sub-QJSON-qjson-make_first-ordered] Error 2
make: *** [sub-3rdparty-make_first-ordered] Error 2

I looked into directory /usr/local/Qt-5.0.0/include/QtCore, there is no
file called QDebug or qglobal.h, but in directory
/usr/local/Qt-5.0.0/lib/QtCore.framework/Versions/5/Headers, there are. I
think if there's something wrong with the installing process?

Any suggestion would be appreciated.

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


Re: [Development] Proposal: virtual method of QtNetwork interfaces

2012-11-05 Thread Yang Fan
Thanks a lot.


On Sat, Nov 3, 2012 at 8:46 PM, Robert Knight robertkni...@gmail.comwrote:

  I wonder if your guys could modify the QNetworkAccessManager's method
 declaration(get, post, put...), make them be virtual,
  so that I can derive a subclass and modify the implementation

 You can already do this.  Re-implement the protected createRequest()
 method.

 Regards,
 Rob.

 On 3 November 2012 12:42, Yang Fan missd...@gmail.com wrote:
  Hi list,
 
  I'm writing a network program which runs on MS Windows, Linux and Mac OS
 X.
  All things look good but it seems that the network performance needs
  improving. I see the QtNetwork module especially the
 QNetworkAccessManager
  class which I'm mainly using in my program  is implemented using cross
  platform select model, this model is designed for easy using but not for
  good performance such as low latency and high throughout, every Operating
  System provide a special socket/IO model to let applications have good
  performance, for example, MS Windows provides IO completion port model,
  Linux (= 2.6 kernel) provides epoll/AIO model, BSD/Mac OSX provide
 kqueue
  etc. So I want to  provide my customized NetworkAccessManager class, but
 I
  don't want to modify the Qt's source code since I will use Boost.asio
  library which depends on Boost library, a very big library that is not
  suitable to include in Qt as a 3rd party library. I wonder if your guys
  could modify the QNetworkAccessManager's method declaration(get, post,
  put...), make them be virtual, so that I can derive a subclass and modify
  the implementation. The reason I need a subclass of QNetworkAccessManager
  not a new class is, I also want my class could be set as the network
 engine
  of QtWebkit.
  Feel free to reply if you have any other good idea.
 
  Regards,
  Fan Yang
 
 
  ___
  Development mailing list
  Development@qt-project.org
  http://lists.qt-project.org/mailman/listinfo/development
 




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


[Development] Proposal: virtual method of QtNetwork interfaces

2012-11-03 Thread Yang Fan
Hi list,

I'm writing a network program which runs on MS Windows, Linux and Mac OS X.
All things look good but it seems that the network performance needs
improving. I see the QtNetwork module especially the QNetworkAccessManager
class which I'm mainly using in my program  is implemented using cross
platform select model, this model is designed for easy using but not for
good performance such as low latency and high throughout, every Operating
System provide a special socket/IO model to let applications have good
performance, for example, MS Windows provides IO completion port model,
Linux (= 2.6 kernel) provides epoll/AIO model, BSD/Mac OSX provide kqueue
etc. So I want to  provide my customized NetworkAccessManager class, but I
don't want to modify the Qt's source code since I will use Boost.asio
library which depends on Boost library, a very big library that is not
suitable to include in Qt as a 3rd party library. I wonder if your guys
could modify the QNetworkAccessManager's method declaration(get, post,
put...), make them be virtual, so that I can derive a subclass and modify
the implementation. The reason I need a subclass of QNetworkAccessManager
not a new class is, I also want my class could be set as the network engine
of QtWebkit.
Feel free to reply if you have any other good idea.

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


Re: [Development] Status of WP8 port

2012-10-31 Thread Yang Fan
Nobody knows. Since Nokia sold Qt, the development progress is slower
and slower and slower...

On Wed, Oct 31, 2012 at 5:09 PM, Pau Garcia i Quiles
pgqui...@elpauer.org wrote:
 Hello,

 Microsoft has released the Windows Phone 8.0 SDK with native support.

 http://blogs.windows.com/windows_phone/b/wpdev/archive/2012/10/30/announcing-the-new-windows-phone-8-developer-platform.aspx

 https://dev.windowsphone.com/en-us/downloadsdk


 What's the status of Qt 5 on WP8? Last I remember, a feasibility study
 was being carried on. What was the outcome?

 --
 Pau Garcia i Quiles
 http://www.elpauer.org
 (Due to my workload, I may need 10 days to answer)
 ___
 Development mailing list
 Development@qt-project.org
 http://lists.qt-project.org/mailman/listinfo/development



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


Re: [Development] Text rendering in Qt5

2012-09-25 Thread Yang Fan
Cool!

On Tue, Sep 25, 2012 at 4:39 PM, Jiang Jiang gzjj...@gmail.com wrote:
 Hi,

 On Tue, Sep 25, 2012 at 7:09 AM,  song.7@nokia.com wrote:
 Is there some wikis or blogs about how does the text rendering work in Qt5 ?

 If you happened to read Chinese (which I assumed you do), [1] provides
 an overview of most text rendering APIs and methods used in Qt.

 - Jiang

 [1] http://jjgod.org/docs/slides/TextRenderingWithQt.pdf
 ___
 Development mailing list
 Development@qt-project.org
 http://lists.qt-project.org/mailman/listinfo/development



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


Re: [Development] Qt 4.8.3 released

2012-09-16 Thread Yang Fan
I built both x86 and x64 version, both have the problem. Also I tried
to test on Windows, it seems that there
are some other problems, eg .pro project file format is not fully
compatible with early version (4.8.2 or lower).

On Mon, Sep 17, 2012 at 1:39 AM, Lisandro Damián Nicanor Pérez Meyer
perezme...@gmail.com wrote:

 On Fri 14 Sep 2012 04:59:01 Yang Fan escribió:
  I have tested 4.8.3 on LinuxMint12 x86 and Debian6 x64 for my
  application,
  it reports segment fault on starting up. I'm not quite sure if it is
  Qt's
  issue or my application's since my application works well yesterday when
  it
  was built against Qt 4.8.2 on both the platform I mentioned above.
  I will take more investigation to see which part has the problem.

 Does your app uses katepart? Is it related to editing? Are you building in
 amd64?

 We (Debian Qt-KDE maintainers) have sen some segfaults with 4.8.2 + a
 patch
 taken from a 4.8.3 commit.

 Kinds regards, Lisandro.

 --
 http://www.tiraecol.net/modules/comic/comic.php?content_id=162

 Lisandro Damián Nicanor Pérez Meyer
 http://perezmeyer.com.ar/
 http://perezmeyer.blogspot.com/




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


Re: [Development] Qt 4.8.3 released

2012-09-14 Thread Yang Fan
I have tested 4.8.3 on LinuxMint12 x86 and Debian6 x64 for my application,
it reports segment fault on starting up. I'm not quite sure if it is Qt's
issue or my application's since my application works well yesterday when it
was built against Qt 4.8.2 on both the platform I mentioned above.
I will take more investigation to see which part has the problem.

On Fri, Sep 14, 2012 at 3:05 PM, Salovaara Akseli 
akseli.salova...@digia.com wrote:

 Hi all,

 There seems to be something wrong with Qt 4.8.3 mingw package.
 It's not completely broken but we will make new package available asap.

 Br,
 Akseli

  -Original Message-
  From: development-bounces+akseli.salovaara=digia@qt-project.org
  [mailto:development-bounces+akseli.salovaara=digia@qt-project.org]
 On
  Behalf Of lars.kn...@nokia.com
  Sent: 13. syyskuuta 2012 15:30
  To: annou...@qt-project.org
  Cc: development@qt-project.org
  Subject: [Development] Qt 4.8.3 released
 
  Hi!
 
  I'm happy to announce that Qt 4.8.3 has just been released.
 
  See the blog on http://labs.qt.nokia.com/2012/09/13/qt-4-8-3-released/
  and the changes file at http://qt-
  project.org/uploads/community_updates/changes-4.8.3 for details.
 
  Enjoy!
  Lars
 
  ___
  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




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


Re: [Development] Choosing a new MinGW for Qt 5

2012-08-31 Thread Yang Fan
Yes, I was trying make -j option under the msys environment one or two
weeks ago, and it gave incompatible path string and broke my building
process. My msys was installed through official MinGW installer or from the
Git for Windows project, both have the same problem.


On Fri, Aug 31, 2012 at 3:02 PM, Pau Garcia i Quiles
pgqui...@elpauer.orgwrote:

 Hi,

 On Fri, Aug 31, 2012 at 3:34 AM, Yang Fan missd...@gmail.com wrote:
  Currently, official MinGW project provides GCC 4.7, but it uses SJLJ
  exception mode when TDM/MinGW-w64/MinGW-build projects use Dwarf2
 exception
  mode which is known as zero-overhead exception.

 I forgot to say we now have SEH exception support, which is the best
 solution. See this thread in mingw-w64

 http://sourceforge.net/mailarchive/message.php?msg_id=29641656


  All those MinGW and forks contain mingw32-make.exe util which does have
 -j
  option, but in fact this option doesn't make the real parallel build.
 Maybe
  sh.exe is needed, but this shell util will pass the incompatible path
 string
  so that the build process will be interrupted.

 Are you sure of that? I remember reading a thread in the mingw.org
 mailing list in which Earnie Boyd explained MSYS did the path string
 translation and in most cases it worked fine. Or are you talking about
 the cases where it fails? (recursive spawns, overinterpretation of the
 path string, etc)

 --
 Pau Garcia i Quiles
 http://www.elpauer.org
 (Due to my workload, I may need 10 days to answer)




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


Re: [Development] Choosing a new MinGW for Qt 5

2012-08-30 Thread Yang Fan
Currently, official MinGW project provides GCC 4.7, but it uses SJLJ
exception mode when TDM/MinGW-w64/MinGW-build projects use Dwarf2 exception
mode which is known as zero-overhead exception.
All those MinGW and forks contain mingw32-make.exe util which does have -j
option, but in fact this option doesn't make the real parallel build. Maybe
sh.exe is needed, but this shell util will pass the incompatible path
string so that the build process will be interrupted.
TDM/MinGW-builds projects provide -m32/-m64 option to generate 32bit/64bit
binaries using the same package, I don't know if qmake supports it.

On Fri, Aug 31, 2012 at 2:30 AM, marius.storm-ol...@nokia.com wrote:

 On 8/30/12 6:16 PM, ext Thiago Macieira thiago.macie...@intel.com
 wrote:
 On quinta-feira, 30 de agosto de 2012 17.25.24, Pau Garcia i Quiles
 wrote:
  There are more differences than that. There are differences in
  features, such as threading support, large-file support, etc.
  Mingw-w64 is usually ahead of any other in terms of features.
 
 My suggestion on how to proceed is to choose one that offers the
 following or
 most of the following:
 
  - most recent GCC (4.7 preferably, 4.6 if not)
  - *working* GDB and tested with Creator, with Python support
  - large file support, threading
  - zero-overhead exceptions (no SJLJ exceptions)
  - standard win32 headers, if possible using the Platform SDK headers
  - large set of win32 import libraries
  - 32 and 64-bit in one package
  - make with -j support
  - if this exists: can link to .dll directly, instead of import libs
 
 We should choose one version to be the reference platform and work on
 making
 it Tier 1. We shouldn't have two versions, that duplicates work.

 Very ambitious! :)

 Linking directly with DLLs is only possible for MinGW if the DLLs were
 created by MinGW, for all other DLLs you need to create an import library
 (.lib) with the 'dlltool' provided with any MinGW installation (perhaps as
 mingw32-dlltool or similar). Always using Import Libraries ensures that
 the link process is always the same, no matter if the libraries are static
 or dynamic. If you want to link directly with DLLs you would also need
 changes in qmake, most likely, which I think you'd want to avoid.

 Most of the GNU makes released *do* support -j, but they often need sh.exe
 in the PATH to enable the functionality for some reason.

 To satisfy all the requirements above, we might need to compile MinGW
 ourselves. While not impossible, I suggest we actively participate with
 the MinGW community instead to make sure that this is what is released
 naturally from its community.

 --
 .marius

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




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


[Development] A bug of uic.exe in Qt5?

2012-07-21 Thread Yang Fan
Hi list,

I'm trying to port my application from Qt 4.8 to Qt 5, but I'm stopped at
the first stage, the compiler complains it can't handle the files generated
by uic.exe. It seems that there's a new module named QtWidgets, and several
header files are placed in the QtWidgets folder, but the uic.exe tool
generates the files which include the headers, for example, QAction, QLabel
and so on, still point to QtGui folder. Is it a bug of uic.exe in Qt5? Or
did I miss anything?

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


Re: [Development] A bug of uic.exe in Qt5?

2012-07-21 Thread Yang Fan
Thanks! I use the uic.exe in Qt5 build manually, then it works.

On Sun, Jul 22, 2012 at 12:11 AM, Thiago Macieira thiago.macie...@intel.com
 wrote:

 On sábado, 21 de julho de 2012 23.23.34, Yang Fan wrote:
  Hi list,
 
  I'm trying to port my application from Qt 4.8 to Qt 5, but I'm stopped at
  the first stage, the compiler complains it can't handle the files
 generated
  by uic.exe. It seems that there's a new module named QtWidgets, and
 several
  header files are placed in the QtWidgets folder, but the uic.exe tool
  generates the files which include the headers, for example, QAction,
 QLabel
  and so on, still point to QtGui folder. Is it a bug of uic.exe in Qt5? Or
  did I miss anything?

 You've probably used the wrong uic. Or your .ui file contains hardcoded
 paths.
 --
 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




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


[Development] Could anyone provide the mkspec for Windows clang tool chain?

2012-07-20 Thread Yang Fan
Hi list,

I want to use clang compiler with MinGW tool chain on my Windows box, does
any one have the mkspec for Qt 4.8.2? Thanks in advance.

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


[Development] Qt4.8.2 link error with MinGW-builds GCC 4.7.1 on Windows 7

2012-06-25 Thread Yang Fan
Hi All,

I'm using MinGW-builds tool chain from
http://sourceforge.net/projects/mingwbuilds/ with GCC version 4.7.1 to
build Qt 4.8.2, but when I use 64 bit version of MinGW, then get the
following errors:
g++ -mthreads -shared
-Wl,--out-implib,d:\Qt-4.8.2-MinGW-GCC4.7.1-x64\lib\libQtW
ebKitd4.a -o ..\..\..\..\..\..\lib\QtWebKitd4.dll
object_script.QtWebKitd.Debug
 -Ld:\Qt-4.8.2-MinGW-GCC4.7.1-x64\lib -L..\..\WebCore\debug
-L..\..\JavaScr
iptCore\debug -Ld:\Qt-4.8.2-MinGW-GCC4.7.1-x64\lib
tmp\obj\debug_shared\QtWeb
Kitd_resource_res.o -lwebcore -ljscore -lwinmm -ladvapi32 -lshell32
-lshlwapi -l
version -lgdi32 -lole32 -luser32 -lQtGuid4 -lQtNetworkd4
-LE:\openssl-0.9.8k_WIN
32 -Le:\openssl-0.9.8k_WIN32\lib -lQtCored4
Creating library file: d:\Qt-4.8.2-MinGW-GCC4.7.1-x64\lib\libQtWebKitd4.a
./tmp\obj\debug_shared\JSHTMLScriptElement.o:JSHTMLScriptElement.cpp:(.text+0xe2
b): undefined reference to `WebCore::HTMLScriptElement::async() const'
./tmp\obj\debug_shared\JSHTMLScriptElement.o:JSHTMLScriptElement.cpp:(.text+0x15
35): undefined reference to
`WebCore::HTMLScriptElement::setText(WTF::String con
st)'
./tmp\obj\debug_shared\JSHTMLScriptElement.o:JSHTMLScriptElement.cpp:(.text+0x1c
6c): undefined reference to `WebCore::HTMLScriptElement::setAsync(bool)'
c:/mingw470builds64/bin/../lib/gcc/x86_64-w64-mingw32/4.7.0/../../../../x86_64-w
64-mingw32/bin/ld.exe: ./tmp\obj\debug_shared\JSHTMLScriptElement.o: bad
reloc a
ddress 0x8 in section `.data'
collect2.exe: error: ld returned 1 exit status
mingw32-make[3]: *** [..\..\..\..\..\..\lib\QtWebKitd4.dll] Error 1
mingw32-make[3]: Leaving directory
`D:/Qt-4.8.2-MinGW-GCC4.7.1-x64/src/3rdparty/
webkit/Source/WebKit/qt'
mingw32-make[2]: *** [debug-all] Error 2
mingw32-make[2]: Leaving directory
`D:/Qt-4.8.2-MinGW-GCC4.7.1-x64/src/3rdparty/
webkit/Source/WebKit/qt'
mingw32-make[1]: *** [sub-WebKit-qt-QtWebKit-pro-make_default-ordered]
Error 2
mingw32-make[1]: Leaving directory
`D:/Qt-4.8.2-MinGW-GCC4.7.1-x64/src/3rdparty/
webkit/Source'
mingw32-make: *** [sub-webkit-make_default-ordered] Error 2

When I use the 32bit version of MinGW, then got the following errors:
g++ -mthreads -shared
-Wl,--out-implib,d:\Qt-4.8.2-MinGW-GCC4.7.1-x86\lib\libQtW
ebKitd4.a -o ..\..\..\..\..\..\lib\QtWebKitd4.dll
object_script.QtWebKitd.Debug
 -Ld:\Qt-4.8.2-MinGW-GCC4.7.1-x86\lib -L..\..\WebCore\debug
-L..\..\JavaScr
iptCore\debug -Ld:\Qt-4.8.2-MinGW-GCC4.7.1-x86\lib
tmp\obj\debug_shared\QtWeb
Kitd_resource_res.o -lwebcore -ljscore -lwinmm -ladvapi32 -lshell32
-lshlwapi -l
version -lgdi32 -lole32 -luser32 -lQtGuid4 -lQtNetworkd4
-LE:\openssl-0.9.8k_WIN
32 -Le:\openssl-0.9.8k_WIN32\lib -lQtCored4
Creating library file: d:\Qt-4.8.2-MinGW-GCC4.7.1-x86\lib\libQtWebKitd4.a
./tmp\obj\debug_shared\JSWebKitBlobBuilder.o:JSWebKitBlobBuilder.cpp:(.text+0x77
7): undefined reference to `WebCore::WebKitBlobBuilder::getBlob(WTF::String
cons
t)'
./tmp\obj\debug_shared\JSWebKitBlobBuilder.o:JSWebKitBlobBuilder.cpp:(.text+0x8a
2): undefined reference to `WebCore::WebKitBlobBuilder::getBlob(WTF::String
cons
t)'
./tmp\obj\debug_shared\JSWebKitBlobBuilder.o:JSWebKitBlobBuilder.cpp:(.text+0xb3
0): undefined reference to
`WebCore::WebKitBlobBuilder::append(WebCore::Blob*)'
./tmp\obj\debug_shared\JSWebKitBlobBuilder.o:JSWebKitBlobBuilder.cpp:(.text+0xc7
8): undefined reference to
`WebCore::WebKitBlobBuilder::append(WebCore::ArrayBuf
fer*)'
./tmp\obj\debug_shared\JSWebKitBlobBuilder.o:JSWebKitBlobBuilder.cpp:(.text+0xe6
6): undefined reference to `WebCore::WebKitBlobBuilder::append(WTF::String
const
, int)'
./tmp\obj\debug_shared\JSWebKitBlobBuilder.o:JSWebKitBlobBuilder.cpp:(.text+0xf3
a): undefined reference to `WebCore::WebKitBlobBuilder::append(WTF::String
const
, WTF::String const, int)'
c:/mingw470builds32/bin/../lib/gcc/i686-w64-mingw32/4.7.0/../../../../i686-w64-m
ingw32/bin/ld.exe: ./tmp\obj\debug_shared\JSWebKitBlobBuilder.o: bad reloc
addre
ss 0x8 in section `.data'
collect2.exe: error: ld returned 1 exit status
mingw32-make[3]: *** [..\..\..\..\..\..\lib\QtWebKitd4.dll] Error 1
mingw32-make[3]: Leaving directory
`D:/Qt-4.8.2-MinGW-GCC4.7.1-x86/src/3rdparty/
webkit/Source/WebKit/qt'
mingw32-make[2]: *** [debug-all] Error 2
mingw32-make[2]: Leaving directory
`D:/Qt-4.8.2-MinGW-GCC4.7.1-x86/src/3rdparty/
webkit/Source/WebKit/qt'
mingw32-make[1]: *** [sub-WebKit-qt-QtWebKit-pro-make_default-ordered]
Error 2
mingw32-make[1]: Leaving directory
`D:/Qt-4.8.2-MinGW-GCC4.7.1-x86/src/3rdparty/
webkit/Source'
mingw32-make: *** [sub-webkit-make_default-ordered] Error 2

How can I resolve this issues and make the build successful?

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


[Development] Building Qt5 alpha failed on Mac OS X 10.6.7

2012-04-06 Thread Yang Fan
Hi All,

I was building Qt5 alpha on Mac OS X 10.6.7, and getting the following
errors:

g++ -c -pipe -mmacosx-version-min=10.6 -O2 -arch x86_64 -fvisibility=hidden
-fvisibility-inlines-hidden -Wall -W -fPIC -DQT_NO_LIBUDEV -DQT_NO_EVDEV
-DQT_NO_XCB -DQT_NO_DEBUG -DQT_PLUGIN -DQT_QML_LIB -DQT_XMLPATTERNS_LIB
-DQT_NETWORK_LIB -DQT_GUI_LIB -DV8_SHARED -DUSING_V8_SHARED -DQT_CORE_LIB
-DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2
-DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED
-I../../../../qtbase/mkspecs/macx-g++ -I.
-I../../../../qtbase/include/QtCore/5.0.0
-I../../../../qtbase/include/QtCore/5.0.0/QtCore
-I../../../../qtbase/include/QtCore
-I../../../../qtjsbackend/include/QtV8/5.0.0
-I../../../../qtjsbackend/include/QtV8/5.0.0/QtV8
-I../../../../qtjsbackend/include/QtV8 -I../../../../qtbase/include/QtGui
-I../../../../qtbase/include/QtNetwork -I../../../../qtbase/include
-I/Users/yangfan/Development/qt-everywhere-opensource-src-5.0.0/qtbase/include/QtXmlPatterns
-I../../../include/QtQml/5.0.0 -I../../../include/QtQml/5.0.0/QtQml
-I../../../include -I../../../include/QtQml
-I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers
-I/System/Library/Frameworks/AGL.framework/Headers -I.moc/release-shared
-F/Users/yangfan/Development/qt-everywhere-opensource-src-5.0.0/qtbase/lib
-o .obj/release-shared/qqmlxmllistmodel.o qqmlxmllistmodel.cpp
qqmlxmllistmodel.cpp:51:21: error: QXmlQuery: No such file or directory
qqmlxmllistmodel.cpp:52:27: error: QXmlResultItems: No such file or
directory
qqmlxmllistmodel.cpp:53:30: error: QXmlNodeModelIndex: No such file or
directory
qqmlxmllistmodel.cpp:188: error: ‘QXmlQuery’ has not been declared
qqmlxmllistmodel.cpp: In member function ‘void
QQuickXmlQueryEngine::doQueryJob(XmlQueryJob*, QQuickXmlQueryResult*)’:
qqmlxmllistmodel.cpp:362: error: ‘QXmlQuery’ was not declared in this scope
qqmlxmllistmodel.cpp:362: error: expected `;' before ‘query’
qqmlxmllistmodel.cpp:365: error: ‘query’ was not declared in this scope
qqmlxmllistmodel.cpp:381: error: ‘QXmlResultItems’ was not declared in this
scope
qqmlxmllistmodel.cpp:381: error: expected `;' before ‘result’
qqmlxmllistmodel.cpp:382: error: expected `;' before ‘countquery’
qqmlxmllistmodel.cpp:383: error: ‘countquery’ was not declared in this scope
qqmlxmllistmodel.cpp:385: error: ‘result’ was not declared in this scope
qqmlxmllistmodel.cpp:386: error: ‘QXmlItem’ was not declared in this scope
qqmlxmllistmodel.cpp:386: error: expected `;' before ‘item’
qqmlxmllistmodel.cpp:387: error: ‘item’ was not declared in this scope
qqmlxmllistmodel.cpp: At global scope:
qqmlxmllistmodel.cpp:396: error: ‘QXmlQuery’ has not been declared
qqmlxmllistmodel.cpp: In member function ‘void
QQuickXmlQueryEngine::getValuesOfKeyRoles(const XmlQueryJob, QStringList*,
int*) const’:
qqmlxmllistmodel.cpp:406: error: request for member ‘setQuery’ in ‘*
query’, which is of non-class type ‘int’
qqmlxmllistmodel.cpp:407: error: ‘QXmlResultItems’ was not declared in this
scope
qqmlxmllistmodel.cpp:407: error: expected `;' before ‘resultItems’
qqmlxmllistmodel.cpp:408: error: request for member ‘evaluateTo’ in ‘*
query’, which is of non-class type ‘int’
qqmlxmllistmodel.cpp:408: error: ‘resultItems’ was not declared in this
scope
qqmlxmllistmodel.cpp:409: error: ‘QXmlItem’ was not declared in this scope
qqmlxmllistmodel.cpp:409: error: expected `;' before ‘item’
qqmlxmllistmodel.cpp:410: error: ‘item’ was not declared in this scope
qqmlxmllistmodel.cpp: In member function ‘void
QQuickXmlQueryEngine::doSubQueryJob(XmlQueryJob*, QQuickXmlQueryResult*)’:
qqmlxmllistmodel.cpp:433: error: ‘QXmlQuery’ was not declared in this scope
qqmlxmllistmodel.cpp:433: error: expected `;' before ‘subquery’
qqmlxmllistmodel.cpp:434: error: ‘subquery’ was not declared in this scope
qqmlxmllistmodel.cpp:470: error: ‘QXmlResultItems’ was not declared in this
scope
qqmlxmllistmodel.cpp:470: error: expected `;' before ‘resultItems’
qqmlxmllistmodel.cpp:471: error: ‘resultItems’ was not declared in this
scope
qqmlxmllistmodel.cpp:472: error: ‘QXmlItem’ was not declared in this scope
qqmlxmllistmodel.cpp:472: error: expected `;' before ‘item’
qqmlxmllistmodel.cpp:473: error: ‘item’ was not declared in this scope
make[4]: *** [.obj/release-shared/qqmlxmllistmodel.o] Error 1
make[3]: *** [release] Error 2
make[2]: *** [sub-xmllistmodel-make_default] Error 2
make[1]: *** [sub-imports-make_default-ordered] Error 2
make: *** [module-qtdeclarative-src-make_default] Error 2
cd qtdeclarative  make  exited with status 512 at build line 64
Qt::Build::exe('Qt::Build=HASH(0x100804ff0)', 'cd qtdeclarative  make
') called at build line 114
Qt::Build::exeLowPriv('Qt::Build=HASH(0x100804ff0)', 'cd qtdeclarative
 make ') called at build line 377
Qt::Build::build_project('Qt::Build=HASH(0x100804ff0)',
'qtdeclarative') called at build line 408