[Development] Compiling Qt5 Alpha on Windows XP not working

2012-04-04 Thread Daniel Kreuter
Hello guys,

I'm trying to compile Qt5 Alpha on my Windows XP machine, but I get
the following output when calling either perl build or mingw32-make:

C:\QtSDK\Qt5Alphamingw32-make
cd qtbase\  mingw32-make -f Makefile
mingw32-make[1]: Entering directory `C:/QtSDK/Qt5Alpha/qtbase'
cd src\tools\bootstrap\  mingw32-make -f Makefile
mingw32-make[2]: Entering directory `C:/QtSDK/Qt5Alpha/qtbase/src/tools/bootstra
p'
mingw32-make -f Makefile.Debug
mingw32-make[3]: Entering directory `C:/QtSDK/Qt5Alpha/qtbase/src/tools/bootstra
p'
g++ -c -fno-keep-inline-dllexport -g -frtti -fexceptions -mthreads -Wall -DUNICO
DE -DQT_LARGEFILE_SUPPORT -DQT_BOOTSTRAPPED -DQT_LITE_UNICODE -DQT_NO_CAST_FROM_
ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS -DQT_NO_DATASTREAM -DQT_NO_GEOM_VARIA
NT -DQT_NO_LIBRARY -DQT_NO_QOBJECT -DQT_NO_STL -DQT_NO_SYSTEMLOCALE -DQT_NO_THRE
AD -DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE -DQT_NO_DEPRECATED -DQT_NODLL -
I..\..\..\include -I..\..\..\include\QtCore -I..\..\..\include\QtCore\5.0.0
 -I..\..\..\include\QtCore\5.0.0\QtCore -I..\..\..\mkspecs\win32-g++ -o tmp
\obj\debug_shared\qlatincodec.o ..\..\corelib\codecs\qlatincodec.cpp
cc1plus.exe: error: unrecognized command line option -fno-keep-inline-dllexport

mingw32-make[3]: *** [tmp/obj/debug_shared/qlatincodec.o] Error 1
mingw32-make[3]: Leaving directory `C:/QtSDK/Qt5Alpha/qtbase/src/tools/bootstrap
'
mingw32-make[2]: *** [debug] Error 2
mingw32-make[2]: Leaving directory `C:/QtSDK/Qt5Alpha/qtbase/src/tools/bootstrap
'
mingw32-make[1]: *** [sub-tools-bootstrap-make_default-ordered] Error 2
mingw32-make[1]: Leaving directory `C:/QtSDK/Qt5Alpha/qtbase'
mingw32-make: *** [module-qtbase-make_default] Error 2

Perl 5.14, Python 2.7.2 and the latest MinGW are installed and the
path is set correct. OpenSSL is not installed because it is not
needed.

Has someone an idea what went wrong?

-- 
Mit freundlichen Grüßen

Greetings

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


Re: [Development] Compiling Qt5 Alpha on Windows XP not working

2012-04-04 Thread Loaden
See: http://qt-project.org/wiki/Building_Qt_5_from_Git

2012/4/4 Daniel Kreuter daniel.kreute...@googlemail.com

 Hello guys,

 I'm trying to compile Qt5 Alpha on my Windows XP machine, but I get
 the following output when calling either perl build or mingw32-make:

 C:\QtSDK\Qt5Alphamingw32-make
 cd qtbase\  mingw32-make -f Makefile
 mingw32-make[1]: Entering directory `C:/QtSDK/Qt5Alpha/qtbase'
 cd src\tools\bootstrap\  mingw32-make -f Makefile
 mingw32-make[2]: Entering directory
 `C:/QtSDK/Qt5Alpha/qtbase/src/tools/bootstra
 p'
 mingw32-make -f Makefile.Debug
 mingw32-make[3]: Entering directory
 `C:/QtSDK/Qt5Alpha/qtbase/src/tools/bootstra
 p'
 g++ -c -fno-keep-inline-dllexport -g -frtti -fexceptions -mthreads -Wall
 -DUNICO
 DE -DQT_LARGEFILE_SUPPORT -DQT_BOOTSTRAPPED -DQT_LITE_UNICODE
 -DQT_NO_CAST_FROM_
 ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS -DQT_NO_DATASTREAM
 -DQT_NO_GEOM_VARIA
 NT -DQT_NO_LIBRARY -DQT_NO_QOBJECT -DQT_NO_STL -DQT_NO_SYSTEMLOCALE
 -DQT_NO_THRE
 AD -DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE -DQT_NO_DEPRECATED
 -DQT_NODLL -
 I..\..\..\include -I..\..\..\include\QtCore
 -I..\..\..\include\QtCore\5.0.0
  -I..\..\..\include\QtCore\5.0.0\QtCore -I..\..\..\mkspecs\win32-g++
 -o tmp
 \obj\debug_shared\qlatincodec.o ..\..\corelib\codecs\qlatincodec.cpp
 cc1plus.exe: error: unrecognized command line option
 -fno-keep-inline-dllexport
 
 mingw32-make[3]: *** [tmp/obj/debug_shared/qlatincodec.o] Error 1
 mingw32-make[3]: Leaving directory
 `C:/QtSDK/Qt5Alpha/qtbase/src/tools/bootstrap
 '
 mingw32-make[2]: *** [debug] Error 2
 mingw32-make[2]: Leaving directory
 `C:/QtSDK/Qt5Alpha/qtbase/src/tools/bootstrap
 '
 mingw32-make[1]: *** [sub-tools-bootstrap-make_default-ordered] Error 2
 mingw32-make[1]: Leaving directory `C:/QtSDK/Qt5Alpha/qtbase'
 mingw32-make: *** [module-qtbase-make_default] Error 2

 Perl 5.14, Python 2.7.2 and the latest MinGW are installed and the
 path is set correct. OpenSSL is not installed because it is not
 needed.

 Has someone an idea what went wrong?

 --
 Mit freundlichen Grüßen

 Greetings

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




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


Re: [Development] [Interest] Qt 5.0 alpha released

2012-04-04 Thread Mark
2012/4/3 Thiago Macieira thiago.macie...@intel.com

 On terça-feira, 3 de abril de 2012 21.47.10, Sivan Greenberg wrote:
  On Tue, Apr 3, 2012 at 7:14 PM, Girish Ramakrishnan
 
  gir...@forwardbias.in wrote:
   Window desktop components still don't exist but Widgets work just fine
   with Qt5 just like in Qt4.
 
  They are in the works right?

 The project still exists and is a target for a later Qt 5 release.
 However, I
 have no idea if there has been activity on it for the past few months.

   Symbian is no longer supported in Qt5.
 
  I'd be surprised greatly if the Next Billion transition platform is no
  longer supported in Qt5, surely an announcement mistake?

 There's no mistake. Your sentence is right and the announcement is right:

  - Symbian is not supported
  - Qt will be part of the Next Billion strategy

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

 To all of the Qt team:
Congrats on making this first major alpha release! I really look forward to
start playing with QML 2 and the neat shader effects.

Sadly no binary release for windows.. i kinda dislike to compile Qt on
windows.
Is the beta release going to have a windows binary?

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


Re: [Development] Compiling Qt5 Alpha on Windows XP not working

2012-04-04 Thread Daniel Kreuter
Ok now while compiling with the Win SDK 7.1 I get the following error:

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

cd src\tools\bootstrap\  C:\Program Files\Microsoft Visual Studio 10.
0\VC\Bin\nmake.exe -f Makefile

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

C:\Program Files\Microsoft Visual Studio 10.0\VC\Bin\nmake.exe -f Make
file.Debug

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

cl -c -nologo -Zm200 -Zc:wchar_t -Zi -MDd -GR -EHsc -W3 -w34100 -w34189
-DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_BOOTSTRAPPED -DQT_LITE_UNICODE -DQ
T_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS -DQT_NO_DATASTREAM -DQ
T_NO_GEOM_VARIANT -DQT_NO_LIBRARY -DQT_NO_QOBJECT -DQT_NO_STL -DQT_NO_SYSTEMLOCA
LE -DQT_NO_THREAD -DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE -DQT_NO_DEPRECAT
ED -DQT_NODLL -I..\..\..\include -I..\..\..\include\QtCore -I..\..\..\inclu
de\QtCore\5.0.0 -I..\..\..\include\QtCore\5.0.0\QtCore -I..\..\3rdparty\zlib
 -I..\..\..\mkspecs\win32-msvc2010 -Fotmp\obj\debug_shared\ @C:\DOCUME~1\kreu
terd\LOCALS~1\Temp\nm73.tmp
cl : Command line error D8021 : invalid numeric argument '/MP;/AI'
NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Visual Studio 10.0\VC\Bi
n\cl.EXE' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Visual Studio 10.0\VC\Bi
n\nmake.exe' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
cd qtbase  C:\Program Files\Microsoft Visual Studio 10.0\VC\Bin\nmake.exe  e
xited with status 512 at build line 64
Qt::Build::exe('Qt::Build=HASH(0x3faaf4)', 'cd qtbase  C:\Program Fil
es\Microsoft Visual Studio 10.0\V...') called at build line 105
Qt::Build::exeLowPriv('Qt::Build=HASH(0x3faaf4)', 'cd qtbase  C:\Prog
ram Files\Microsoft Visual Studio 10.0\V...') called at build line 377
Qt::Build::build_project('Qt::Build=HASH(0x3faaf4)', 'qtbase') called at
 build line 408
Qt::Build::build_qt('Qt::Build=HASH(0x3faaf4)') called at build line 437

Qt::Build::run('Qt::Build=HASH(0x3faaf4)') called at build line 446

Any suggestions? (No Visual Studio is not installed)

On Wed, Apr 4, 2012 at 9:42 AM, Loaden loa...@gmail.com wrote:
 See: http://qt-project.org/wiki/Building_Qt_5_from_Git

 2012/4/4 Daniel Kreuter daniel.kreute...@googlemail.com

 Hello guys,

 I'm trying to compile Qt5 Alpha on my Windows XP machine, but I get
 the following output when calling either perl build or mingw32-make:

 C:\QtSDK\Qt5Alphamingw32-make
 cd qtbase\  mingw32-make -f Makefile
 mingw32-make[1]: Entering directory `C:/QtSDK/Qt5Alpha/qtbase'
 cd src\tools\bootstrap\  mingw32-make -f Makefile
 mingw32-make[2]: Entering directory
 `C:/QtSDK/Qt5Alpha/qtbase/src/tools/bootstra
 p'
 mingw32-make -f Makefile.Debug
 mingw32-make[3]: Entering directory
 `C:/QtSDK/Qt5Alpha/qtbase/src/tools/bootstra
 p'
 g++ -c -fno-keep-inline-dllexport -g -frtti -fexceptions -mthreads -Wall
 -DUNICO
 DE -DQT_LARGEFILE_SUPPORT -DQT_BOOTSTRAPPED -DQT_LITE_UNICODE
 -DQT_NO_CAST_FROM_
 ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS -DQT_NO_DATASTREAM
 -DQT_NO_GEOM_VARIA
 NT -DQT_NO_LIBRARY -DQT_NO_QOBJECT -DQT_NO_STL -DQT_NO_SYSTEMLOCALE
 -DQT_NO_THRE
 AD -DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE -DQT_NO_DEPRECATED
 -DQT_NODLL -
 I..\..\..\include -I..\..\..\include\QtCore
 -I..\..\..\include\QtCore\5.0.0
  -I..\..\..\include\QtCore\5.0.0\QtCore -I..\..\..\mkspecs\win32-g++
 -o tmp
 \obj\debug_shared\qlatincodec.o ..\..\corelib\codecs\qlatincodec.cpp
 cc1plus.exe: error: unrecognized command line option
 -fno-keep-inline-dllexport
 
 mingw32-make[3]: *** [tmp/obj/debug_shared/qlatincodec.o] Error 1
 mingw32-make[3]: Leaving directory
 `C:/QtSDK/Qt5Alpha/qtbase/src/tools/bootstrap
 '
 mingw32-make[2]: *** [debug] Error 2
 mingw32-make[2]: Leaving directory
 `C:/QtSDK/Qt5Alpha/qtbase/src/tools/bootstrap
 '
 mingw32-make[1]: *** [sub-tools-bootstrap-make_default-ordered] Error 2
 mingw32-make[1]: Leaving directory `C:/QtSDK/Qt5Alpha/qtbase'
 mingw32-make: *** [module-qtbase-make_default] Error 2

 Perl 5.14, Python 2.7.2 and the latest MinGW are installed and the
 path is set correct. OpenSSL is not installed because it is not
 needed.

 Has someone an idea what went wrong?

 --
 Mit freundlichen Grüßen

 Greetings

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




 --
 Regards
 Loaden




-- 
Mit freundlichen Grüßen

Greetings

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


Re: [Development] Compiling Qt5 Alpha on Windows XP not working

2012-04-04 Thread Loaden
You can try don't use build script, just only use nmake on the command line.

2012/4/4 Daniel Kreuter daniel.kreute...@googlemail.com

 Ok now while compiling with the Win SDK 7.1 I get the following error:

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

cd src\tools\bootstrap\  C:\Program Files\Microsoft Visual
 Studio 10.
 0\VC\Bin\nmake.exe -f Makefile

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

C:\Program Files\Microsoft Visual Studio 10.0\VC\Bin\nmake.exe -f
 Make
 file.Debug

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

cl -c -nologo -Zm200 -Zc:wchar_t -Zi -MDd -GR -EHsc -W3 -w34100
 -w34189
 -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_BOOTSTRAPPED
 -DQT_LITE_UNICODE -DQ
 T_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS
 -DQT_NO_DATASTREAM -DQ
 T_NO_GEOM_VARIANT -DQT_NO_LIBRARY -DQT_NO_QOBJECT -DQT_NO_STL
 -DQT_NO_SYSTEMLOCA
 LE -DQT_NO_THREAD -DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE
 -DQT_NO_DEPRECAT
 ED -DQT_NODLL -I..\..\..\include -I..\..\..\include\QtCore
 -I..\..\..\inclu
 de\QtCore\5.0.0 -I..\..\..\include\QtCore\5.0.0\QtCore
 -I..\..\3rdparty\zlib
  -I..\..\..\mkspecs\win32-msvc2010 -Fotmp\obj\debug_shared\
 @C:\DOCUME~1\kreu
 terd\LOCALS~1\Temp\nm73.tmp
 cl : Command line error D8021 : invalid numeric argument '/MP;/AI'
 NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Visual Studio
 10.0\VC\Bi
 n\cl.EXE' : return code '0x2'
 Stop.
 NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Visual Studio
 10.0\VC\Bi
 n\nmake.exe' : return code '0x2'
 Stop.
 NMAKE : fatal error U1077: 'cd' : return code '0x2'
 Stop.
 cd qtbase  C:\Program Files\Microsoft Visual Studio
 10.0\VC\Bin\nmake.exe  e
 xited with status 512 at build line 64
Qt::Build::exe('Qt::Build=HASH(0x3faaf4)', 'cd qtbase 
 C:\Program Fil
 es\Microsoft Visual Studio 10.0\V...') called at build line 105
Qt::Build::exeLowPriv('Qt::Build=HASH(0x3faaf4)', 'cd qtbase 
 C:\Prog
 ram Files\Microsoft Visual Studio 10.0\V...') called at build line 377
Qt::Build::build_project('Qt::Build=HASH(0x3faaf4)', 'qtbase')
 called at
  build line 408
Qt::Build::build_qt('Qt::Build=HASH(0x3faaf4)') called at build
 line 437

Qt::Build::run('Qt::Build=HASH(0x3faaf4)') called at build line 446

 Any suggestions? (No Visual Studio is not installed)

 On Wed, Apr 4, 2012 at 9:42 AM, Loaden loa...@gmail.com wrote:
  See: http://qt-project.org/wiki/Building_Qt_5_from_Git
 
  2012/4/4 Daniel Kreuter daniel.kreute...@googlemail.com
 
  Hello guys,
 
  I'm trying to compile Qt5 Alpha on my Windows XP machine, but I get
  the following output when calling either perl build or mingw32-make:
 
  C:\QtSDK\Qt5Alphamingw32-make
  cd qtbase\  mingw32-make -f Makefile
  mingw32-make[1]: Entering directory `C:/QtSDK/Qt5Alpha/qtbase'
  cd src\tools\bootstrap\  mingw32-make -f Makefile
  mingw32-make[2]: Entering directory
  `C:/QtSDK/Qt5Alpha/qtbase/src/tools/bootstra
  p'
  mingw32-make -f Makefile.Debug
  mingw32-make[3]: Entering directory
  `C:/QtSDK/Qt5Alpha/qtbase/src/tools/bootstra
  p'
  g++ -c -fno-keep-inline-dllexport -g -frtti -fexceptions -mthreads -Wall
  -DUNICO
  DE -DQT_LARGEFILE_SUPPORT -DQT_BOOTSTRAPPED -DQT_LITE_UNICODE
  -DQT_NO_CAST_FROM_
  ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS -DQT_NO_DATASTREAM
  -DQT_NO_GEOM_VARIA
  NT -DQT_NO_LIBRARY -DQT_NO_QOBJECT -DQT_NO_STL -DQT_NO_SYSTEMLOCALE
  -DQT_NO_THRE
  AD -DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE -DQT_NO_DEPRECATED
  -DQT_NODLL -
  I..\..\..\include -I..\..\..\include\QtCore
  -I..\..\..\include\QtCore\5.0.0
   -I..\..\..\include\QtCore\5.0.0\QtCore
 -I..\..\..\mkspecs\win32-g++
  -o tmp
  \obj\debug_shared\qlatincodec.o ..\..\corelib\codecs\qlatincodec.cpp
  cc1plus.exe: error: unrecognized command line option
  -fno-keep-inline-dllexport
  
  mingw32-make[3]: *** [tmp/obj/debug_shared/qlatincodec.o] Error 1
  mingw32-make[3]: Leaving directory
  `C:/QtSDK/Qt5Alpha/qtbase/src/tools/bootstrap
  '
  mingw32-make[2]: *** [debug] Error 2
  mingw32-make[2]: Leaving directory
  `C:/QtSDK/Qt5Alpha/qtbase/src/tools/bootstrap
  '
  mingw32-make[1]: *** [sub-tools-bootstrap-make_default-ordered] Error 2
  mingw32-make[1]: Leaving directory `C:/QtSDK/Qt5Alpha/qtbase'
  mingw32-make: *** [module-qtbase-make_default] Error 2
 
  Perl 5.14, Python 2.7.2 and the latest MinGW are installed and the
  path is set correct. OpenSSL is not installed because it is not
  needed.
 
  Has someone an idea what went wrong?
 
  --
  Mit freundlichen Grüßen
 
  Greetings
 
  Daniel Kreuter
  ___
  Development mailing list
  Development@qt-project.org
  http://lists.qt-project.org/mailman/listinfo/development
 
 
 
 
  --
  Regards
  Loaden
 



 --

Re: [Development] Qt Summit 2012 Registration is now open!

2012-04-04 Thread Sivan Greenberg
We now have a human friendly URL for the registration page (Thanks
Thiago the reminder):

http://tinyurl.ms/50kb

-Sivan

On Tue, Apr 3, 2012 at 10:31 PM, Sivan Greenberg si...@omniqueue.com wrote:
 reserve your place.

 [0]: 
 https://docs.google.com/spreadsheet/viewform?formkey=dDB6WkgzQW0yVmI0VXktaGt4bENDN2c6MQtheme=0AX42CRMsmRFbUy03NThiZTgyMi1iNWZiLTQ1ZTUtYmJkZi00ZDMzODQ4NzA5YWIifq
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


[Development] Compiling Qt5 Alpha on Linux fails

2012-04-04 Thread Peter Rullmann
Hi,

I'm trying to compile Qt5 Alpha on Linux, but got stuck.

I am running Ubuntu 11.04, but my colleague running 11.10 has exactly the
same issues.

I built using `./configure -opensource -confirm-license -nomake tests` and
`sudo ./build -j 2`

Here are the Problems I had:
* I had to run ./build with sudo, which is not documented in the
   instructions
* There was a problem in 'qt3d/src/quick3d', which I worked around by
   running make in that directory by hand and creating the target directory
   beforehand.
* 'gperf' seems to be needed, but is not listed in the dependencies.
* Then I got stuck in qtwebkit:

g++
-Wl,-rpath,/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/WebKitBuild/Release/lib
-fuse-ld=gold -Wl,--no-undefined -Wl,--gc-sections -Wl,--no-undefined
-Wl,-O1
-Wl,-rpath-link,/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/WebKitBuild/Release/lib
-Wl,-rpath,/usr/local/Qt-5.0.0/lib -shared -o libWTRInjectedBundle.so
obj/release/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/Tools/DumpRenderTree/qt/QtInitializeTestFonts.o
obj/release/AccessibilityController.o
obj/release/AccessibilityTextMarker.o
obj/release/AccessibilityTextMarkerRange.o
obj/release/AccessibilityUIElement.o obj/release/InjectedBundle.o
obj/release/InjectedBundleMain.o obj/release/InjectedBundlePage.o
obj/release/EventSendingController.o obj/release/GCController.o
obj/release/LayoutTestController.o obj/release/TextInputController.o
obj/release/Bindings/JSWrapper.o obj/release/qt/ActivateFontsQt.o
obj/release/qt/InjectedBundleQt.o obj/release/qt/LayoutTestControllerQt.o
obj/release/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/WebKitBuild/Release/Tools/WebKitTestRunner/InjectedBundle/generated/JSAccessibilityController.o
obj/release/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/WebKitBuild/Release/Tools/WebKitTestRunner/InjectedBundle/generated/JSAccessibilityTextMarker.o
obj/release/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/WebKitBuild/Release/Tools/WebKitTestRunner/InjectedBundle/generated/JSAccessibilityTextMarkerRange.o
obj/release/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/WebKitBuild/Release/Tools/WebKitTestRunner/InjectedBundle/generated/JSAccessibilityUIElement.o
obj/release/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/WebKitBuild/Release/Tools/WebKitTestRunner/InjectedBundle/generated/JSEventSendingController.o
obj/release/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/WebKitBuild/Release/Tools/WebKitTestRunner/InjectedBundle/generated/JSGCController.o
obj/release/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/WebKitBuild/Release/Tools/WebKitTestRunner/InjectedBundle/generated/JSLayoutTestController.o
obj/release/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/WebKitBuild/Release/Tools/WebKitTestRunner/InjectedBundle/generated/JSTextInputController.o
-L/usr/local/Qt-5.0.0/lib
-L/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/WebKitBuild/Release/lib
-lfontconfig -lgio-2.0 -lgstapp-0.10 -lgstinterfaces-0.10
-lgstpbutils-0.10 -pthread -lgstvideo-0.10 -lgstbase-0.10 -lgstreamer-0.10
-lgobject-2.0 -lgmodule-2.0 -lxml2 -lgthread-2.0 -lrt -lglib-2.0
-lQtWebKit -lQtQml -L/usr/local/Qt-5.0.0/lib -lQtV8 -lQtOpenGL
-lQtXmlPatterns -lQtWidgets -lQtSql -lQtScript -lQtNetwork -lQtGui
-lQtCore -lGL -lpthread
mv -f libWTRInjectedBundle.so ../../../lib/
make[5]: Leaving directory
`/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/WebKitBuild/Release/Tools/WebKitTestRunner/InjectedBundle'
make[4]: Leaving directory
`/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/WebKitBuild/Release/Tools/WebKitTestRunner/InjectedBundle'
make[3]: Leaving directory
`/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/WebKitBuild/Release/Tools/WebKitTestRunner'
make[2]: Leaving directory
`/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/WebKitBuild/Release/Tools'
make[1]: Leaving directory
`/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/WebKitBuild/Release'
cd qtwebkit  perl Tools/Scripts/build-webkit --qt --makeargs=install
exited with status 512 at ./build line 64
   Qt::Build::exe('Qt::Build=HASH(0xa1586d8)', 'cd qtwebkit  perl
Tools/Scripts/build-webkit --qt --makearg...') called at ./build line 98
   Qt::Build::exeHighPriv('Qt::Build=HASH(0xa1586d8)', 'cd qtwebkit
 perl Tools/Scripts/build-webkit --qt --makearg...') called at ./build
line 381
   Qt::Build::build_project('Qt::Build=HASH(0xa1586d8)', 'qtwebkit')
called at ./build line 408
   Qt::Build::build_qt('Qt::Build=HASH(0xa1586d8)') called at  
./build
line 437
   Qt::Build::run('Qt::Build=HASH(0xa1586d8)') called at ./build  
line
446

I had no luck working around this problem yet.
Does somebody have any suggestions? Did I forget something? Should I
provide more Information?
Could it be that previous installed git builds of Qt5 or older versions of
Qt are causing 

Re: [Development] Compiling Qt5 Alpha on Linux fails

2012-04-04 Thread simo.falt
Hi,
Is there a reason why you are trying to build it without prefix? If you do
the build in your home dir with -prefix $PWD/qtbase in your configure,
you shouldn't need the sudo. Also if you really do have older qt in your
path, please remove it and add $PWD/qtbase/bin in it instead.

Simo


On 4/4/12 12:28 PM, ext Peter Rullmann peter.rullm...@barco.com wrote:

Hi,

I'm trying to compile Qt5 Alpha on Linux, but got stuck.

I am running Ubuntu 11.04, but my colleague running 11.10 has exactly the
same issues.

I built using `./configure -opensource -confirm-license -nomake tests` and
`sudo ./build -j 2`

Here are the Problems I had:
* I had to run ./build with sudo, which is not documented in the
   instructions
* There was a problem in 'qt3d/src/quick3d', which I worked around by
   running make in that directory by hand and creating the target
directory
   beforehand.
* 'gperf' seems to be needed, but is not listed in the dependencies.
* Then I got stuck in qtwebkit:

g++
-Wl,-rpath,/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/WebK
itBuild/Release/lib
-fuse-ld=gold -Wl,--no-undefined -Wl,--gc-sections -Wl,--no-undefined
-Wl,-O1
-Wl,-rpath-link,/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit
/WebKitBuild/Release/lib
-Wl,-rpath,/usr/local/Qt-5.0.0/lib -shared -o libWTRInjectedBundle.so
obj/release/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/Tool
s/DumpRenderTree/qt/QtInitializeTestFonts.o
obj/release/AccessibilityController.o
obj/release/AccessibilityTextMarker.o
obj/release/AccessibilityTextMarkerRange.o
obj/release/AccessibilityUIElement.o obj/release/InjectedBundle.o
obj/release/InjectedBundleMain.o obj/release/InjectedBundlePage.o
obj/release/EventSendingController.o obj/release/GCController.o
obj/release/LayoutTestController.o obj/release/TextInputController.o
obj/release/Bindings/JSWrapper.o obj/release/qt/ActivateFontsQt.o
obj/release/qt/InjectedBundleQt.o obj/release/qt/LayoutTestControllerQt.o
obj/release/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/WebK
itBuild/Release/Tools/WebKitTestRunner/InjectedBundle/generated/JSAccessib
ilityController.o
obj/release/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/WebK
itBuild/Release/Tools/WebKitTestRunner/InjectedBundle/generated/JSAccessib
ilityTextMarker.o
obj/release/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/WebK
itBuild/Release/Tools/WebKitTestRunner/InjectedBundle/generated/JSAccessib
ilityTextMarkerRange.o
obj/release/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/WebK
itBuild/Release/Tools/WebKitTestRunner/InjectedBundle/generated/JSAccessib
ilityUIElement.o
obj/release/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/WebK
itBuild/Release/Tools/WebKitTestRunner/InjectedBundle/generated/JSEventSen
dingController.o
obj/release/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/WebK
itBuild/Release/Tools/WebKitTestRunner/InjectedBundle/generated/JSGCContro
ller.o
obj/release/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/WebK
itBuild/Release/Tools/WebKitTestRunner/InjectedBundle/generated/JSLayoutTe
stController.o
obj/release/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/WebK
itBuild/Release/Tools/WebKitTestRunner/InjectedBundle/generated/JSTextInpu
tController.o
-L/usr/local/Qt-5.0.0/lib
-L/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/WebKitBuild/R
elease/lib
-lfontconfig -lgio-2.0 -lgstapp-0.10 -lgstinterfaces-0.10
-lgstpbutils-0.10 -pthread -lgstvideo-0.10 -lgstbase-0.10 -lgstreamer-0.10
-lgobject-2.0 -lgmodule-2.0 -lxml2 -lgthread-2.0 -lrt -lglib-2.0
-lQtWebKit -lQtQml -L/usr/local/Qt-5.0.0/lib -lQtV8 -lQtOpenGL
-lQtXmlPatterns -lQtWidgets -lQtSql -lQtScript -lQtNetwork -lQtGui
-lQtCore -lGL -lpthread
mv -f libWTRInjectedBundle.so ../../../lib/
make[5]: Leaving directory
`/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/WebKitBuild/Re
lease/Tools/WebKitTestRunner/InjectedBundle'
make[4]: Leaving directory
`/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/WebKitBuild/Re
lease/Tools/WebKitTestRunner/InjectedBundle'
make[3]: Leaving directory
`/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/WebKitBuild/Re
lease/Tools/WebKitTestRunner'
make[2]: Leaving directory
`/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/WebKitBuild/Re
lease/Tools'
make[1]: Leaving directory
`/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/WebKitBuild/Re
lease'
cd qtwebkit  perl Tools/Scripts/build-webkit --qt --makeargs=install
exited with status 512 at ./build line 64
   Qt::Build::exe('Qt::Build=HASH(0xa1586d8)', 'cd qtwebkit 
perl
Tools/Scripts/build-webkit --qt --makearg...') called at ./build line 98
   Qt::Build::exeHighPriv('Qt::Build=HASH(0xa1586d8)', 'cd
qtwebkit
 perl Tools/Scripts/build-webkit --qt --makearg...') called at ./build
line 381
   Qt::Build::build_project('Qt::Build=HASH(0xa1586d8)',
'qtwebkit')
called at ./build line 408
   

[Development] Qt 5 Next Steps

2012-04-04 Thread jason.mcdonald
By now, I'm sure you've all seen various announcements about the Qt 5 Alpha 
Release and you've hopefully also read Lars' blog on Qt Labs.  The main purpose 
of the Alpha is to show users where Qt 5 is headed and to get feedback on the 
various new features and API's, and some useful feedback that will help us to 
improve Qt 5 is already flowing in.

So, where do we go from here?

The next big milestone for Qt 5 will be the Beta release.  For now, no specific 
date has been set for the Beta -- it will be released when it's done, and how 
long that takes will depend on all of us in the Qt Community.

As Lars outlined in his blog, the period leading up to the Alpha has delivered 
some big architectural changes inside Qt 5 and some important new features have 
been added.  For now, the time for big changes has passed and the next phase of 
the Qt 5 lifecycle is all about Quality.

The primary goals of the Beta phase are to:
* address API and design feedback received on the Alpha release,
* improve performance and reduce resource consumption,
* improve stability and security of new code, and
* fix regressions from Qt 4.x functionality.

There are several ways that each of us can contribute to achieving the Qt 5 
Beta goals:
* Work on one of the critical tasks that have been identified in Qt's 
bugtracker -- https://bugreports.qt-project.org/browse/QTBUG-25005.
* Fix known bugs -- see 
https://bugreports.qt-project.org/secure/IssueNavigator.jspa?mode=hiderequestId=12996.
* Test Qt 5 on your platform and report any bugs that you find.
* Help us to improve test coverage (and thus prevent future regressions) by 
fixing or diagnosing known autotest failures.
* Help us to improve the documentation, examples and demos (or contribute new 
examples and demos).

In addressing any of these tasks, it is very important to avoid creating new 
regressions, as these will slow down the efforts of the rest of the community.  
 The commit policy outlined by Lars a couple of weeks ago is one tool for 
reducing regressions, and the Continuous Integration System is another, but 
vigilance from contributors and approvers is also needed.

Qt's CI System will catch many regressions before they make it into the master 
branch, but the CI system depends on autotests -- it can only catch regressions 
in code that is covered by at least one autotest.  Therefore, we should always 
think about whether our changes are covered by existing autotests and seriously 
consider filling in gaps in the test coverage.  Approvers should also be 
mindful of test coverage when reviewing changes.

As many contributors head off for a well-deserved Easter break, it's worth 
reflecting on what we have achieved so far with Qt 5 and on what is still to be 
done.  After Easter, work on Qt 5 Beta will begin in earnest and it promises to 
be an interesting time.

If you have any questions about the Qt 5 Beta (or about testing, release 
planning, or bug tracking), I'll happily do my best to answer them.  As well as 
this email address, you can find me on the Freenode IRC server under the nick 
jasmcdon.

Happy Easter,
--
Jason McDonald
QTestLib Maintainer / Quality Evangelist
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] [Releasing] Qt 5.0 alpha released

2012-04-04 Thread viv...@gmail.com
Il 04/04/2012 10:21, Mika Boström ha scritto:
 Let's try again - the first one was sent from wrong address.
 Thunderbird, multiple accounts, b0rked default accounts for filtered
 emails... (List admins can drop the earlier copy from review queue.)

 On 04/03/12 18:01, marius.storm-ol...@nokia.com wrote:
 We are happy to announce the *Qt 5.0 alpha release*. This is the first
 major Qt release since the Qt Project went live, and a large amount of
 work and features have gone into this release.
 [Kept development@ as cc, may be of interest to them.]

 This is good news.

 I have a minor gripe, though. None of the resources I looked at (blog,
 wiki, git repos) contained the actual list of git commits used for the
 submodules in this release.

 qt5.git submodules show where the current known-good development
 snapshot points. There are no tags or releasing branches in the modules.
 As far as I can see, there is no easy way to reproduce the contents of
 the alpha release from qt5.git submodules. Even the build-from-git page
 (http://qt-project.org/wiki/Building_Qt_5_from_Git) simply states that
 master branches follow the ongoing development and submodules are
 updated to match the latest working combination. At the moment I don't
 know how to get a (pre-)release exported from git directly.

 I personally care for that because I've done some work of my own to get
 Qt5 built nicely from individual modules. I've been at it since last
 summer, to be honest. The current results may be viewed at
 https://build.pub.meego.com/project/monitor?project=Mer%3AQt5%3ADevel

 That is the result of handcrafted specs and some trivial patching. I
 would love to have the modular build match the releases and steps
 leading up to Qt5 final. We could have a day 1 packaged release, and you
 could have a testing ground for modular builds.

 A straightforward way to reproduce releases from qt5.git would be a
 welcome thing.

 srvgitqt-everywhere-opensource-src-5.0.0$ cat .sha1s
The qt5 was archived from 8e5b652334c76c9275d39b460fffad19a2150721 sha

The qt3d was archived from 4b2cffa47a66add6e10f4408bb8a9cea33f781e9 sha

The qtquick1 was archived from bc60289c41ca5a069e7a0845f2ff1b3ab107d544 sha

The qtdoc was archived from 09bb2d974a937ead7450a65e1b5b3f0e58cd18a2 sha

The qtsensors was archived from d5fbd8c4a7e9aa19d5b71c02208c242754b84bdc sha

The qtsystems was archived from 4151cd3912d236c6d289308b4bd5f579e183a61c sha

The qtwebkit was archived from 32f186b0a5b8f5d13d83d2f7d52dce031928904d sha

The qtdeclarative was archived from 
ec7deb3d123bb44b5d57590615a60ed48b1d2860 sha

The qtbase was archived from ca572c0b806388cbc58dcba4ab6d7cc25d89366a sha

The qtwebkit-examples-and-demos was archived from 
7e24b4fad3c661d8cdabe9e45c7eff9b5e4d1af6 sha

The qtlocation was archived from 
32712d70bbab3b703f614ca5b77e5d3b0cf3f74c sha

The qtxmlpatterns was archived from 
ccfe9a0190fd9cac0cf7d1af0b0bdc45380210da sha

The qttools was archived from ef2557d7df7d8134344db5473042c5805fb37314 sha

The qtmultimedia was archived from 
13025c05c7471127873a3dc9928579387d1361ca sha

The qtgraphicaleffects was archived from 
00b397a785b18201372ff7260493ef35959face4 sha

The qtscript was archived from b270b953bdc4490f09fcf21a1551b1d3523d8e2e sha

The qtjsbackend was archived from 
afefa8cbe7bf468921a8316fc749fcbc42f0e1b6 sha

The qtwayland was archived from 72db1a20a522d1ecdffbacd704de0d76fbd4faf6 sha

The qtsvg was archived from 794a97bfd929bf69c20111e3dfc2fa28165d57a3 sha

The qtimageformats was archived from 
f1cd7f80eb5892665afe15f472c5342171f68309 sha

Re: [Development] [Releasing] Qt 5.0 alpha released

2012-04-04 Thread simo.falt
Moi,
I can't provide you an easy way but I can show you a way to get the alpha
out of git (see below). But yes, it is true that there isn't any tag in
git but I hope we will fix that in future releases. There was quite a lot
of last minute hassle while creating that, so it ended up to be this way.
But hey, it was first release from qt5 and now we see that all of our
processes are not quite there yet. This is the channel to start specifying
the releasing process for the next release.

But the git stuff:
From qt5.git checkout 8e5b652334c76c9275d39b460fffad19a2150721
git submodule update
From qtbase checkout master branch
From qtwayland checkout 0.85 branch
From qtwebkit qt-5.0.0-alpha-hotfix branch

The used sha1's from repo's above are inside release package in .sha1s
file .

Then on top of this cherry pick following patches from gerrit:
http://codereview.qt-project.org/#change,21616
http://codereview.qt-project.org/#change,21612
http://codereview.qt-project.org/#change,21696
http://codereview.qt-project.org/#change,21754
http://codereview.qt-project.org/#change,21818
http://codereview.qt-project.org/#change,21753
http://codereview.qt-project.org/#change,21906
http://codereview.qt-project.org/#change,21873

The if you wan't to get exact copy of the zip and tar.gz file, take the
mksrc.sh script from qtrepotools/release_tools/ dir and use that to patch
the %QTVERSION% etc. Defines. The run it like this:

REPO_DIR=/home/user/git_clone/qt5
MKSRC=/home/user/git_clone/qtrepotools/release-tools/mksrc.sh
VERSION=5.0.0
IGNORES=\
-i qlalr \
-i qtconnectivity \
-i qtjsondb \
-i qtdocgallery \
-i qtfeedback \
-i qtphonon \
-i qtpim \
-i qtqa \
-i qttranslations \
-i qtactiveqt \
-i qtrepotools
$MKSRC -u $REPO_DIR -v $VERSION $IGNORES


Simo


On 4/4/12 11:21 AM, ext Mika Boström mika.bost...@nomovok.com wrote:

Let's try again - the first one was sent from wrong address.
Thunderbird, multiple accounts, b0rked default accounts for filtered
emails... (List admins can drop the earlier copy from review queue.)

On 04/03/12 18:01, marius.storm-ol...@nokia.com wrote:
 We are happy to announce the *Qt 5.0 alpha release*. This is the first
 major Qt release since the Qt Project went live, and a large amount of
 work and features have gone into this release.

[Kept development@ as cc, may be of interest to them.]

This is good news.

I have a minor gripe, though. None of the resources I looked at (blog,
wiki, git repos) contained the actual list of git commits used for the
submodules in this release.

qt5.git submodules show where the current known-good development
snapshot points. There are no tags or releasing branches in the modules.
As far as I can see, there is no easy way to reproduce the contents of
the alpha release from qt5.git submodules. Even the build-from-git page
(http://qt-project.org/wiki/Building_Qt_5_from_Git) simply states that
master branches follow the ongoing development and submodules are
updated to match the latest working combination. At the moment I don't
know how to get a (pre-)release exported from git directly.

I personally care for that because I've done some work of my own to get
Qt5 built nicely from individual modules. I've been at it since last
summer, to be honest. The current results may be viewed at
https://build.pub.meego.com/project/monitor?project=Mer%3AQt5%3ADevel

That is the result of handcrafted specs and some trivial patching. I
would love to have the modular build match the releases and steps
leading up to Qt5 final. We could have a day 1 packaged release, and you
could have a testing ground for modular builds.

A straightforward way to reproduce releases from qt5.git would be a
welcome thing.

-- 
 Mika Boström / mika.bost...@nomovok.com
 Software Architect

___
Releasing mailing list
releas...@qt-project.org
http://lists.qt-project.org/mailman/listinfo/releasing

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


Re: [Development] Compiling Qt5 Alpha on Windows XP not working

2012-04-04 Thread marius.storm-olsen
Oh, the build script pushes the option /MP to the CL environment variable, to 
ensure that cl will compile on all available cores on your machine. However, it 
seems like you already have options set in CL, and Perls 'unshift' will 
separate each option with a semi-colon, which cl doesn't like. Try unsetting 
your CL environment variable before executing the build script.

-- 
.marius


 -Original Message-
 From: development-bounces+marius.storm-olsen=nokia.com@qt-
 project.org [mailto:development-bounces+marius.storm-
 olsen=nokia@qt-project.org] On Behalf Of ext Daniel Kreuter
 Sent: Wednesday, April 04, 2012 3:16 AM
 To: development@qt-project.org
 Subject: Re: [Development] Compiling Qt5 Alpha on Windows XP not working
 
 Ok now while compiling with the Win SDK 7.1 I get the following error:
 
 Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
 Copyright (C) Microsoft Corporation.  All rights reserved.
 
 cd src\tools\bootstrap\  C:\Program Files\Microsoft Visual Studio 
 10.
 0\VC\Bin\nmake.exe -f Makefile
 
 Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
 Copyright (C) Microsoft Corporation.  All rights reserved.
 
 C:\Program Files\Microsoft Visual Studio 10.0\VC\Bin\nmake.exe -f
 Make
 file.Debug
 
 Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
 Copyright (C) Microsoft Corporation.  All rights reserved.
 
 cl -c -nologo -Zm200 -Zc:wchar_t -Zi -MDd -GR -EHsc -W3 -w34100 -
 w34189
 -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_BOOTSTRAPPED -
 DQT_LITE_UNICODE -DQ
 T_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS -
 DQT_NO_DATASTREAM -DQ
 T_NO_GEOM_VARIANT -DQT_NO_LIBRARY -DQT_NO_QOBJECT -
 DQT_NO_STL -DQT_NO_SYSTEMLOCA
 LE -DQT_NO_THREAD -DQT_NO_UNICODETABLES -
 DQT_NO_USING_NAMESPACE -DQT_NO_DEPRECAT
 ED -DQT_NODLL -I..\..\..\include -I..\..\..\include\QtCore 
 -I..\..\..\inclu
 de\QtCore\5.0.0 -I..\..\..\include\QtCore\5.0.0\QtCore -
 I..\..\3rdparty\zlib
  -I..\..\..\mkspecs\win32-msvc2010 -Fotmp\obj\debug_shared\
 @C:\DOCUME~1\kreu
 terd\LOCALS~1\Temp\nm73.tmp
 cl : Command line error D8021 : invalid numeric argument '/MP;/AI'
 NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Visual Studio
 10.0\VC\Bi
 n\cl.EXE' : return code '0x2'
 Stop.
 NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Visual Studio
 10.0\VC\Bi
 n\nmake.exe' : return code '0x2'
 Stop.
 NMAKE : fatal error U1077: 'cd' : return code '0x2'
 Stop.
 cd qtbase  C:\Program Files\Microsoft Visual Studio
 10.0\VC\Bin\nmake.exe  e
 xited with status 512 at build line 64
 Qt::Build::exe('Qt::Build=HASH(0x3faaf4)', 'cd qtbase  C:\Program 
 Fil
 es\Microsoft Visual Studio 10.0\V...') called at build line 105
 Qt::Build::exeLowPriv('Qt::Build=HASH(0x3faaf4)', 'cd qtbase 
 C:\Prog
 ram Files\Microsoft Visual Studio 10.0\V...') called at build line 377
 Qt::Build::build_project('Qt::Build=HASH(0x3faaf4)', 'qtbase') called 
 at
  build line 408
 Qt::Build::build_qt('Qt::Build=HASH(0x3faaf4)') called at build line 
 437
 
 Qt::Build::run('Qt::Build=HASH(0x3faaf4)') called at build line 446
 
 Any suggestions? (No Visual Studio is not installed)
 
 On Wed, Apr 4, 2012 at 9:42 AM, Loaden loa...@gmail.com wrote:
  See: http://qt-project.org/wiki/Building_Qt_5_from_Git
 
  2012/4/4 Daniel Kreuter daniel.kreute...@googlemail.com
 
  Hello guys,
 
  I'm trying to compile Qt5 Alpha on my Windows XP machine, but I get
  the following output when calling either perl build or mingw32-make:
 
  C:\QtSDK\Qt5Alphamingw32-make
  cd qtbase\  mingw32-make -f Makefile
  mingw32-make[1]: Entering directory `C:/QtSDK/Qt5Alpha/qtbase'
  cd src\tools\bootstrap\  mingw32-make -f Makefile
  mingw32-make[2]: Entering directory
  `C:/QtSDK/Qt5Alpha/qtbase/src/tools/bootstra
  p'
  mingw32-make -f Makefile.Debug
  mingw32-make[3]: Entering directory
  `C:/QtSDK/Qt5Alpha/qtbase/src/tools/bootstra
  p'
  g++ -c -fno-keep-inline-dllexport -g -frtti -fexceptions -mthreads -Wall
  -DUNICO
  DE -DQT_LARGEFILE_SUPPORT -DQT_BOOTSTRAPPED -
 DQT_LITE_UNICODE
  -DQT_NO_CAST_FROM_
  ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS -
 DQT_NO_DATASTREAM
  -DQT_NO_GEOM_VARIA
  NT -DQT_NO_LIBRARY -DQT_NO_QOBJECT -DQT_NO_STL -
 DQT_NO_SYSTEMLOCALE
  -DQT_NO_THRE
  AD -DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE -
 DQT_NO_DEPRECATED
  -DQT_NODLL -
  I..\..\..\include -I..\..\..\include\QtCore
  -I..\..\..\include\QtCore\5.0.0
   -I..\..\..\include\QtCore\5.0.0\QtCore -I..\..\..\mkspecs\win32-g++
  -o tmp
  \obj\debug_shared\qlatincodec.o ..\..\corelib\codecs\qlatincodec.cpp
  cc1plus.exe: error: unrecognized command line option
  -fno-keep-inline-dllexport
  
  mingw32-make[3]: *** [tmp/obj/debug_shared/qlatincodec.o] Error 1
  mingw32-make[3]: Leaving directory
  `C:/QtSDK/Qt5Alpha/qtbase/src/tools/bootstrap
  '
  mingw32-make[2]: *** [debug] Error 2
  mingw32-make[2]: Leaving directory
  `C:/QtSDK/Qt5Alpha/qtbase/src/tools/bootstrap
  '
  

Re: [Development] Compiling Qt5 Alpha on Linux fails

2012-04-04 Thread marius.storm-olsen
Try following the instructions here
http://qt-project.org/wiki/Qt-5-Alpha-building-instructions

Qt should not be configured in such a way that it needs to be installed. That's 
not a supported build configuration for the alpha.
Only in-source non-install builds for alpha.

-- 
.marius


 -Original Message-
 From: development-bounces+marius.storm-olsen=nokia.com@qt-
 project.org [mailto:development-bounces+marius.storm-
 olsen=nokia@qt-project.org] On Behalf Of ext Peter Rullmann
 Sent: Wednesday, April 04, 2012 4:29 AM
 To: Qt Development List
 Subject: [Development] Compiling Qt5 Alpha on Linux fails
 
 Hi,
 
 I'm trying to compile Qt5 Alpha on Linux, but got stuck.
 
 I am running Ubuntu 11.04, but my colleague running 11.10 has exactly the
 same issues.
 
 I built using `./configure -opensource -confirm-license -nomake tests` and
 `sudo ./build -j 2`
 
 Here are the Problems I had:
 * I had to run ./build with sudo, which is not documented in the
instructions
 * There was a problem in 'qt3d/src/quick3d', which I worked around by
running make in that directory by hand and creating the target directory
beforehand.
 * 'gperf' seems to be needed, but is not listed in the dependencies.
 * Then I got stuck in qtwebkit:
 
 g++
 -Wl,-rpath,/home/mavu/src/qt-everywhere-opensource-src-
 5.0.0/qtwebkit/WebKitBuild/Release/lib
 -fuse-ld=gold -Wl,--no-undefined -Wl,--gc-sections -Wl,--no-undefined
 -Wl,-O1
 -Wl,-rpath-link,/home/mavu/src/qt-everywhere-opensource-src-
 5.0.0/qtwebkit/WebKitBuild/Release/lib
 -Wl,-rpath,/usr/local/Qt-5.0.0/lib -shared -o libWTRInjectedBundle.so
 obj/release/home/mavu/src/qt-everywhere-opensource-src-
 5.0.0/qtwebkit/Tools/DumpRenderTree/qt/QtInitializeTestFonts.o
 obj/release/AccessibilityController.o
 obj/release/AccessibilityTextMarker.o
 obj/release/AccessibilityTextMarkerRange.o
 obj/release/AccessibilityUIElement.o obj/release/InjectedBundle.o
 obj/release/InjectedBundleMain.o obj/release/InjectedBundlePage.o
 obj/release/EventSendingController.o obj/release/GCController.o
 obj/release/LayoutTestController.o obj/release/TextInputController.o
 obj/release/Bindings/JSWrapper.o obj/release/qt/ActivateFontsQt.o
 obj/release/qt/InjectedBundleQt.o
 obj/release/qt/LayoutTestControllerQt.o
 obj/release/home/mavu/src/qt-everywhere-opensource-src-
 5.0.0/qtwebkit/WebKitBuild/Release/Tools/WebKitTestRunner/InjectedBun
 dle/generated/JSAccessibilityController.o
 obj/release/home/mavu/src/qt-everywhere-opensource-src-
 5.0.0/qtwebkit/WebKitBuild/Release/Tools/WebKitTestRunner/InjectedBun
 dle/generated/JSAccessibilityTextMarker.o
 obj/release/home/mavu/src/qt-everywhere-opensource-src-
 5.0.0/qtwebkit/WebKitBuild/Release/Tools/WebKitTestRunner/InjectedBun
 dle/generated/JSAccessibilityTextMarkerRange.o
 obj/release/home/mavu/src/qt-everywhere-opensource-src-
 5.0.0/qtwebkit/WebKitBuild/Release/Tools/WebKitTestRunner/InjectedBun
 dle/generated/JSAccessibilityUIElement.o
 obj/release/home/mavu/src/qt-everywhere-opensource-src-
 5.0.0/qtwebkit/WebKitBuild/Release/Tools/WebKitTestRunner/InjectedBun
 dle/generated/JSEventSendingController.o
 obj/release/home/mavu/src/qt-everywhere-opensource-src-
 5.0.0/qtwebkit/WebKitBuild/Release/Tools/WebKitTestRunner/InjectedBun
 dle/generated/JSGCController.o
 obj/release/home/mavu/src/qt-everywhere-opensource-src-
 5.0.0/qtwebkit/WebKitBuild/Release/Tools/WebKitTestRunner/InjectedBun
 dle/generated/JSLayoutTestController.o
 obj/release/home/mavu/src/qt-everywhere-opensource-src-
 5.0.0/qtwebkit/WebKitBuild/Release/Tools/WebKitTestRunner/InjectedBun
 dle/generated/JSTextInputController.o
 -L/usr/local/Qt-5.0.0/lib
 -L/home/mavu/src/qt-everywhere-opensource-src-
 5.0.0/qtwebkit/WebKitBuild/Release/lib
 -lfontconfig -lgio-2.0 -lgstapp-0.10 -lgstinterfaces-0.10
 -lgstpbutils-0.10 -pthread -lgstvideo-0.10 -lgstbase-0.10 -lgstreamer-0.10
 -lgobject-2.0 -lgmodule-2.0 -lxml2 -lgthread-2.0 -lrt -lglib-2.0
 -lQtWebKit -lQtQml -L/usr/local/Qt-5.0.0/lib -lQtV8 -lQtOpenGL
 -lQtXmlPatterns -lQtWidgets -lQtSql -lQtScript -lQtNetwork -lQtGui
 -lQtCore -lGL -lpthread
 mv -f libWTRInjectedBundle.so ../../../lib/
 make[5]: Leaving directory
 `/home/mavu/src/qt-everywhere-opensource-src-
 5.0.0/qtwebkit/WebKitBuild/Release/Tools/WebKitTestRunner/InjectedBun
 dle'
 make[4]: Leaving directory
 `/home/mavu/src/qt-everywhere-opensource-src-
 5.0.0/qtwebkit/WebKitBuild/Release/Tools/WebKitTestRunner/InjectedBun
 dle'
 make[3]: Leaving directory
 `/home/mavu/src/qt-everywhere-opensource-src-
 5.0.0/qtwebkit/WebKitBuild/Release/Tools/WebKitTestRunner'
 make[2]: Leaving directory
 `/home/mavu/src/qt-everywhere-opensource-src-
 5.0.0/qtwebkit/WebKitBuild/Release/Tools'
 make[1]: Leaving directory
 `/home/mavu/src/qt-everywhere-opensource-src-
 5.0.0/qtwebkit/WebKitBuild/Release'
 cd qtwebkit  perl Tools/Scripts/build-webkit --qt --makeargs=install
 exited with status 512 at ./build line 64
Qt::Build::exe('Qt::Build=HASH(0xa1586d8)', 'cd qtwebkit 

[Development] Re : Compiling Qt5 Alpha on Linux fails

2012-04-04 Thread BOUCARD Olivier
Hi,

I've just finished building the Qt5 Alpha on Linux Mandriva. Here my commands 
executed as normal user:

$ unset QTDIR
$ export PATH=$PWD/qtbase/bin:$PWD/qtrepotools/bin:$PATH

$ ./configure -developer-build -opensource -nomake examples -nomake tests 
-no-gtkstyle -confirm-license
$ ./build -j 3


Olivier.





 De : Peter Rullmann peter.rullm...@barco.com
À : Qt Development List development@qt-project.org 
Envoyé le : Mercredi 4 avril 2012 11h28
Objet : [Development] Compiling Qt5 Alpha on Linux fails
 
Hi,

I'm trying to compile Qt5 Alpha on Linux, but got stuck.

I am running Ubuntu 11.04, but my colleague running 11.10 has exactly the
same issues.

I built using `./configure -opensource -confirm-license -nomake tests` and
`sudo ./build -j 2`

Here are the Problems I had:
* I had to run ./build with sudo, which is not documented in the
   instructions
* There was a problem in 'qt3d/src/quick3d', which I worked around by
   running make in that directory by hand and creating the target directory
   beforehand.
* 'gperf' seems to be needed, but is not listed in the dependencies.
* Then I got stuck in qtwebkit:

g++
-Wl,-rpath,/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/WebKitBuild/Release/lib
-fuse-ld=gold -Wl,--no-undefined -Wl,--gc-sections -Wl,--no-undefined
-Wl,-O1
-Wl,-rpath-link,/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/WebKitBuild/Release/lib
-Wl,-rpath,/usr/local/Qt-5.0.0/lib -shared -o libWTRInjectedBundle.so
obj/release/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/Tools/DumpRenderTree/qt/QtInitializeTestFonts.o
obj/release/AccessibilityController.o
obj/release/AccessibilityTextMarker.o
obj/release/AccessibilityTextMarkerRange.o
obj/release/AccessibilityUIElement.o obj/release/InjectedBundle.o
obj/release/InjectedBundleMain.o obj/release/InjectedBundlePage.o
obj/release/EventSendingController.o obj/release/GCController.o
obj/release/LayoutTestController.o obj/release/TextInputController.o
obj/release/Bindings/JSWrapper.o obj/release/qt/ActivateFontsQt.o
obj/release/qt/InjectedBundleQt.o obj/release/qt/LayoutTestControllerQt.o
obj/release/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/WebKitBuild/Release/Tools/WebKitTestRunner/InjectedBundle/generated/JSAccessibilityController.o
obj/release/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/WebKitBuild/Release/Tools/WebKitTestRunner/InjectedBundle/generated/JSAccessibilityTextMarker.o
obj/release/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/WebKitBuild/Release/Tools/WebKitTestRunner/InjectedBundle/generated/JSAccessibilityTextMarkerRange.o
obj/release/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/WebKitBuild/Release/Tools/WebKitTestRunner/InjectedBundle/generated/JSAccessibilityUIElement.o
obj/release/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/WebKitBuild/Release/Tools/WebKitTestRunner/InjectedBundle/generated/JSEventSendingController.o
obj/release/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/WebKitBuild/Release/Tools/WebKitTestRunner/InjectedBundle/generated/JSGCController.o
obj/release/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/WebKitBuild/Release/Tools/WebKitTestRunner/InjectedBundle/generated/JSLayoutTestController.o
obj/release/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/WebKitBuild/Release/Tools/WebKitTestRunner/InjectedBundle/generated/JSTextInputController.o
-L/usr/local/Qt-5.0.0/lib
-L/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/WebKitBuild/Release/lib
-lfontconfig -lgio-2.0 -lgstapp-0.10 -lgstinterfaces-0.10
-lgstpbutils-0.10 -pthread -lgstvideo-0.10 -lgstbase-0.10 -lgstreamer-0.10
-lgobject-2.0 -lgmodule-2.0 -lxml2 -lgthread-2.0 -lrt -lglib-2.0
-lQtWebKit -lQtQml -L/usr/local/Qt-5.0.0/lib -lQtV8 -lQtOpenGL
-lQtXmlPatterns -lQtWidgets -lQtSql -lQtScript -lQtNetwork -lQtGui
-lQtCore -lGL -lpthread
mv -f libWTRInjectedBundle.so ../../../lib/
make[5]: Leaving directory
`/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/WebKitBuild/Release/Tools/WebKitTestRunner/InjectedBundle'
make[4]: Leaving directory
`/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/WebKitBuild/Release/Tools/WebKitTestRunner/InjectedBundle'
make[3]: Leaving directory
`/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/WebKitBuild/Release/Tools/WebKitTestRunner'
make[2]: Leaving directory
`/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/WebKitBuild/Release/Tools'
make[1]: Leaving directory
`/home/mavu/src/qt-everywhere-opensource-src-5.0.0/qtwebkit/WebKitBuild/Release'
cd qtwebkit  perl Tools/Scripts/build-webkit --qt --makeargs=install
exited with status 512 at ./build line 64
           Qt::Build::exe('Qt::Build=HASH(0xa1586d8)', 'cd qtwebkit  perl
Tools/Scripts/build-webkit --qt --makearg...') called at ./build line 98
           Qt::Build::exeHighPriv('Qt::Build=HASH(0xa1586d8)', 'cd qtwebkit
 perl Tools/Scripts/build-webkit --qt 

Re: [Development] Compiling Qt5 Alpha on Windows XP not working

2012-04-04 Thread Daniel Kreuter
Hi,

ok nmake fails at compiling Qt WebKit (which is mentioned on the wiki).

I now try the following:
set CL=
perl build

Now it is running again, I hope it will compile successfully now.
Otherwise I wait until there are prebuild binaries for Windows XP.

On Wed, Apr 4, 2012 at 12:30 PM,  marius.storm-ol...@nokia.com wrote:
 Oh, the build script pushes the option /MP to the CL environment variable, to 
 ensure that cl will compile on all available cores on your machine. However, 
 it seems like you already have options set in CL, and Perls 'unshift' will 
 separate each option with a semi-colon, which cl doesn't like. Try unsetting 
 your CL environment variable before executing the build script.

 --
 .marius


 -Original Message-
 From: development-bounces+marius.storm-olsen=nokia.com@qt-
 project.org [mailto:development-bounces+marius.storm-
 olsen=nokia@qt-project.org] On Behalf Of ext Daniel Kreuter
 Sent: Wednesday, April 04, 2012 3:16 AM
 To: development@qt-project.org
 Subject: Re: [Development] Compiling Qt5 Alpha on Windows XP not working

 Ok now while compiling with the Win SDK 7.1 I get the following error:

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

         cd src\tools\bootstrap\  C:\Program Files\Microsoft Visual Studio 
 10.
 0\VC\Bin\nmake.exe -f Makefile

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

         C:\Program Files\Microsoft Visual Studio 10.0\VC\Bin\nmake.exe -f
 Make
 file.Debug

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

         cl -c -nologo -Zm200 -Zc:wchar_t -Zi -MDd -GR -EHsc -W3 -w34100 -
 w34189
 -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_BOOTSTRAPPED -
 DQT_LITE_UNICODE -DQ
 T_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS -
 DQT_NO_DATASTREAM -DQ
 T_NO_GEOM_VARIANT -DQT_NO_LIBRARY -DQT_NO_QOBJECT -
 DQT_NO_STL -DQT_NO_SYSTEMLOCA
 LE -DQT_NO_THREAD -DQT_NO_UNICODETABLES -
 DQT_NO_USING_NAMESPACE -DQT_NO_DEPRECAT
 ED -DQT_NODLL -I..\..\..\include -I..\..\..\include\QtCore 
 -I..\..\..\inclu
 de\QtCore\5.0.0 -I..\..\..\include\QtCore\5.0.0\QtCore -
 I..\..\3rdparty\zlib
  -I..\..\..\mkspecs\win32-msvc2010 -Fotmp\obj\debug_shared\
 @C:\DOCUME~1\kreu
 terd\LOCALS~1\Temp\nm73.tmp
 cl : Command line error D8021 : invalid numeric argument '/MP;/AI'
 NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Visual Studio
 10.0\VC\Bi
 n\cl.EXE' : return code '0x2'
 Stop.
 NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Visual Studio
 10.0\VC\Bi
 n\nmake.exe' : return code '0x2'
 Stop.
 NMAKE : fatal error U1077: 'cd' : return code '0x2'
 Stop.
 cd qtbase  C:\Program Files\Microsoft Visual Studio
 10.0\VC\Bin\nmake.exe  e
 xited with status 512 at build line 64
         Qt::Build::exe('Qt::Build=HASH(0x3faaf4)', 'cd qtbase  C:\Program 
 Fil
 es\Microsoft Visual Studio 10.0\V...') called at build line 105
         Qt::Build::exeLowPriv('Qt::Build=HASH(0x3faaf4)', 'cd qtbase 
 C:\Prog
 ram Files\Microsoft Visual Studio 10.0\V...') called at build line 377
         Qt::Build::build_project('Qt::Build=HASH(0x3faaf4)', 'qtbase') 
 called at
  build line 408
         Qt::Build::build_qt('Qt::Build=HASH(0x3faaf4)') called at build line 
 437

         Qt::Build::run('Qt::Build=HASH(0x3faaf4)') called at build line 446

 Any suggestions? (No Visual Studio is not installed)

 On Wed, Apr 4, 2012 at 9:42 AM, Loaden loa...@gmail.com wrote:
  See: http://qt-project.org/wiki/Building_Qt_5_from_Git
 
  2012/4/4 Daniel Kreuter daniel.kreute...@googlemail.com
 
  Hello guys,
 
  I'm trying to compile Qt5 Alpha on my Windows XP machine, but I get
  the following output when calling either perl build or mingw32-make:
 
  C:\QtSDK\Qt5Alphamingw32-make
  cd qtbase\  mingw32-make -f Makefile
  mingw32-make[1]: Entering directory `C:/QtSDK/Qt5Alpha/qtbase'
  cd src\tools\bootstrap\  mingw32-make -f Makefile
  mingw32-make[2]: Entering directory
  `C:/QtSDK/Qt5Alpha/qtbase/src/tools/bootstra
  p'
  mingw32-make -f Makefile.Debug
  mingw32-make[3]: Entering directory
  `C:/QtSDK/Qt5Alpha/qtbase/src/tools/bootstra
  p'
  g++ -c -fno-keep-inline-dllexport -g -frtti -fexceptions -mthreads -Wall
  -DUNICO
  DE -DQT_LARGEFILE_SUPPORT -DQT_BOOTSTRAPPED -
 DQT_LITE_UNICODE
  -DQT_NO_CAST_FROM_
  ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS -
 DQT_NO_DATASTREAM
  -DQT_NO_GEOM_VARIA
  NT -DQT_NO_LIBRARY -DQT_NO_QOBJECT -DQT_NO_STL -
 DQT_NO_SYSTEMLOCALE
  -DQT_NO_THRE
  AD -DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE -
 DQT_NO_DEPRECATED
  -DQT_NODLL -
  I..\..\..\include -I..\..\..\include\QtCore
  -I..\..\..\include\QtCore\5.0.0
   -I..\..\..\include\QtCore\5.0.0\QtCore -I..\..\..\mkspecs\win32-g++
  -o tmp
  \obj\debug_shared\qlatincodec.o ..\..\corelib\codecs\qlatincodec.cpp
  cc1plus.exe: error: unrecognized command line option
  

[Development] Header file copies from the soure to include folder

2012-04-04 Thread Laszlo Papp
Hi,

I have a small bit of issue with the functionality of the buildsystem.
Let me explain it in details. I have for instance a Qt5 Add-on module
for which I would like to support qt4 as well. I have for instance
solved the issues code-wise, but I am facing some build system issues
as well. I would like to ask for help about this.

The situation is that it is not recommended for Qt5 add-on modules
according to the relevant wikipage to create a $projectroot/include
folder with the pre-generated raw and forward header files.
Luckily enough, I do not need to install private header files in case
Qt4 since the Qt4 project does not do that either, and this is
feasible for me. I am about to install (copy) the header files from
$projectroot/src/ to $projectroot/include/modulename/, but I do not
seem to find a simple option for that. It is automatically done in the
Qt5 project itself by the syncqt util. I have tried to clone the Qt4
repository for getting the syncqt tool, but it is not that supported
like in case Qt5. In addition, I have had many issues with it. Also, I
consider it somewhat broken workflow as well, if developers need to
clone the Qt4 repository for copying files from folder A to folder B
on the fly.

I have tried to dig myself into this and other google results, but did
not work for me:
http://www.qtcentre.org/threads/2059-Installing-collecting-library-header-files-with-qmake

I have the same issue like the person here, as in: I would not like to
break the build process for subfolders like tests, examples and demos,
if I run the build like make on Linux in the project root. I have
then tried to use the QMAKE_EXTRA_TARGETS variable, but I got no
$projectroot/include/modulename folder at all after qmake and make
processes. I am not enthusiast about getting answer like copy the
whole bunch of syncqt beast for a simple copy. Yes, there are many
customers involved ours who will have been Qt4 for years, still. I
would not like to reinvent the wheel by rewriting a Qt5 Add-on, not
even maintaining two separate projects after a fork.

I am now trying to ask differently: Either 1) What is way of doing
copy in the same make process without an explicite make install
execution. or 2) Is it possible to set up the environment in case Qt4
to think that src/qt4support/include is the include directory and
handle accordingly and conditionally ? I am a bit unhappy so that I
was able to manage the support in the codebase fairly fast, but the
build system seems to be a trouble so far. :/ I hope there is a fix
around I can accomplish. I would be personally happy, if I can just
copy the header files without even creating forward header files for
the time being as the first step.

Thank you in advance!

Best Regards,
Laszlo Papp
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Compiling Qt5 Alpha on Windows XP not working

2012-04-04 Thread Daniel Kreuter
Ok everything worked now.

Thanks for your help.

On Wed, Apr 4, 2012 at 12:49 PM, Daniel Kreuter
daniel.kreute...@googlemail.com wrote:
 Hi,

 ok nmake fails at compiling Qt WebKit (which is mentioned on the wiki).

 I now try the following:
 set CL=
 perl build

 Now it is running again, I hope it will compile successfully now.
 Otherwise I wait until there are prebuild binaries for Windows XP.

 On Wed, Apr 4, 2012 at 12:30 PM,  marius.storm-ol...@nokia.com wrote:
 Oh, the build script pushes the option /MP to the CL environment variable, 
 to ensure that cl will compile on all available cores on your machine. 
 However, it seems like you already have options set in CL, and Perls 
 'unshift' will separate each option with a semi-colon, which cl doesn't 
 like. Try unsetting your CL environment variable before executing the build 
 script.

 --
 .marius


 -Original Message-
 From: development-bounces+marius.storm-olsen=nokia.com@qt-
 project.org [mailto:development-bounces+marius.storm-
 olsen=nokia@qt-project.org] On Behalf Of ext Daniel Kreuter
 Sent: Wednesday, April 04, 2012 3:16 AM
 To: development@qt-project.org
 Subject: Re: [Development] Compiling Qt5 Alpha on Windows XP not working

 Ok now while compiling with the Win SDK 7.1 I get the following error:

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

         cd src\tools\bootstrap\  C:\Program Files\Microsoft Visual 
 Studio 10.
 0\VC\Bin\nmake.exe -f Makefile

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

         C:\Program Files\Microsoft Visual Studio 10.0\VC\Bin\nmake.exe -f
 Make
 file.Debug

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

         cl -c -nologo -Zm200 -Zc:wchar_t -Zi -MDd -GR -EHsc -W3 -w34100 -
 w34189
 -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_BOOTSTRAPPED -
 DQT_LITE_UNICODE -DQ
 T_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS -
 DQT_NO_DATASTREAM -DQ
 T_NO_GEOM_VARIANT -DQT_NO_LIBRARY -DQT_NO_QOBJECT -
 DQT_NO_STL -DQT_NO_SYSTEMLOCA
 LE -DQT_NO_THREAD -DQT_NO_UNICODETABLES -
 DQT_NO_USING_NAMESPACE -DQT_NO_DEPRECAT
 ED -DQT_NODLL -I..\..\..\include -I..\..\..\include\QtCore 
 -I..\..\..\inclu
 de\QtCore\5.0.0 -I..\..\..\include\QtCore\5.0.0\QtCore -
 I..\..\3rdparty\zlib
  -I..\..\..\mkspecs\win32-msvc2010 -Fotmp\obj\debug_shared\
 @C:\DOCUME~1\kreu
 terd\LOCALS~1\Temp\nm73.tmp
 cl : Command line error D8021 : invalid numeric argument '/MP;/AI'
 NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Visual Studio
 10.0\VC\Bi
 n\cl.EXE' : return code '0x2'
 Stop.
 NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Visual Studio
 10.0\VC\Bi
 n\nmake.exe' : return code '0x2'
 Stop.
 NMAKE : fatal error U1077: 'cd' : return code '0x2'
 Stop.
 cd qtbase  C:\Program Files\Microsoft Visual Studio
 10.0\VC\Bin\nmake.exe  e
 xited with status 512 at build line 64
         Qt::Build::exe('Qt::Build=HASH(0x3faaf4)', 'cd qtbase  
 C:\Program Fil
 es\Microsoft Visual Studio 10.0\V...') called at build line 105
         Qt::Build::exeLowPriv('Qt::Build=HASH(0x3faaf4)', 'cd qtbase 
 C:\Prog
 ram Files\Microsoft Visual Studio 10.0\V...') called at build line 377
         Qt::Build::build_project('Qt::Build=HASH(0x3faaf4)', 'qtbase') 
 called at
  build line 408
         Qt::Build::build_qt('Qt::Build=HASH(0x3faaf4)') called at build 
 line 437

         Qt::Build::run('Qt::Build=HASH(0x3faaf4)') called at build line 446

 Any suggestions? (No Visual Studio is not installed)

 On Wed, Apr 4, 2012 at 9:42 AM, Loaden loa...@gmail.com wrote:
  See: http://qt-project.org/wiki/Building_Qt_5_from_Git
 
  2012/4/4 Daniel Kreuter daniel.kreute...@googlemail.com
 
  Hello guys,
 
  I'm trying to compile Qt5 Alpha on my Windows XP machine, but I get
  the following output when calling either perl build or mingw32-make:
 
  C:\QtSDK\Qt5Alphamingw32-make
  cd qtbase\  mingw32-make -f Makefile
  mingw32-make[1]: Entering directory `C:/QtSDK/Qt5Alpha/qtbase'
  cd src\tools\bootstrap\  mingw32-make -f Makefile
  mingw32-make[2]: Entering directory
  `C:/QtSDK/Qt5Alpha/qtbase/src/tools/bootstra
  p'
  mingw32-make -f Makefile.Debug
  mingw32-make[3]: Entering directory
  `C:/QtSDK/Qt5Alpha/qtbase/src/tools/bootstra
  p'
  g++ -c -fno-keep-inline-dllexport -g -frtti -fexceptions -mthreads -Wall
  -DUNICO
  DE -DQT_LARGEFILE_SUPPORT -DQT_BOOTSTRAPPED -
 DQT_LITE_UNICODE
  -DQT_NO_CAST_FROM_
  ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS -
 DQT_NO_DATASTREAM
  -DQT_NO_GEOM_VARIA
  NT -DQT_NO_LIBRARY -DQT_NO_QOBJECT -DQT_NO_STL -
 DQT_NO_SYSTEMLOCALE
  -DQT_NO_THRE
  AD -DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE -
 DQT_NO_DEPRECATED
  -DQT_NODLL -
  I..\..\..\include -I..\..\..\include\QtCore
  -I..\..\..\include\QtCore\5.0.0
   -I..\..\..\include\QtCore\5.0.0\QtCore 

Re: [Development] Header file copies from the soure to include folder

2012-04-04 Thread Laszlo Papp
Okay, solved this way for future reference (not the best and
well-polished solution!):

cat ./src/qt4support/include-helper.pri
system(mkdir -p $$PWD/../../include/$$QT.module.name)

for(header_file, PUBLIC_HEADERS) {
system(cp $${header_file} $$PWD/../../include/$$QT.module.name)
}

header_files.files  = $$PUBLIC_HEADERS
header_files.path   = $$[QT_INSTALL_PREFIX]/include/$$QT.module.name
INSTALLS+= header_files

Best Regards,
Laszlo Papp
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Qt Summit 2012 Registration is now open!

2012-04-04 Thread Jesus Sanchez-Palencia
From the registration page: Reasons for Attending. What are webkit
people considered?! We don't fit as maintainers neither as approvers.
=/


Cheers,

-jesus
yet another QtWebKit Gerrit Outlaw


2012/4/4 Sivan Greenberg si...@omniqueue.com:
 We now have a human friendly URL for the registration page (Thanks
 Thiago the reminder):

 http://tinyurl.ms/50kb

 -Sivan

 On Tue, Apr 3, 2012 at 10:31 PM, Sivan Greenberg si...@omniqueue.com wrote:
 reserve your place.

 [0]: 
 https://docs.google.com/spreadsheet/viewform?formkey=dDB6WkgzQW0yVmI0VXktaGt4bENDN2c6MQtheme=0AX42CRMsmRFbUy03NThiZTgyMi1iNWZiLTQ1ZTUtYmJkZi00ZDMzODQ4NzA5YWIifq
 ___
 Development mailing list
 Development@qt-project.org
 http://lists.qt-project.org/mailman/listinfo/development
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Qt Summit 2012 Registration is now open!

2012-04-04 Thread quim.gil
Qt WebKit counts just like any other Qt module. In case of doubt get an 
indication or invitation from the module maintainers.


Quim


On 4/4/12 10:41 AM ext Jesus Sanchez-Palencia wrote:

From the registration page: Reasons for Attending. What are webkit
people considered?! We don't fit as maintainers neither as approvers.
=/


Cheers,

-jesus
yet another QtWebKit Gerrit Outlaw


2012/4/4 Sivan Greenberg si...@omniqueue.commailto:si...@omniqueue.com:
 We now have a human friendly URL for the registration page (Thanks
 Thiago the reminder):

 http://tinyurl.ms/50kb

 -Sivan

 On Tue, Apr 3, 2012 at 10:31 PM, Sivan Greenberg 
 si...@omniqueue.commailto:si...@omniqueue.com wrote:
 reserve your place.

 [0]: http://tinyurl.ms/50kb
 ___
 Development mailing list
 si...@omniqueue.commailto:si...@omniqueue.com
 http://tinyurl.ms/50kb
___
Development mailing list
si...@omniqueue.commailto:si...@omniqueue.com
http://tinyurl.ms/50kb


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


Re: [Development] unable to cross-compile the QT5 alpha.

2012-04-04 Thread Girish Ramakrishnan
Hi haithem,

2012/4/4 haithem rahmani haithem.rahm...@gmail.com:
 Hi,
 I'm trying to cross-compile the QT5 alpha, for ST SoCs
 I configured it as follows:

 $ ./configure  -opensource -confirm-license -no-eglfs -no-xcb  -xplatform
 linux-sh4-g++ -prefix /home/rahmanih/qt-5.0.0 -no-opengl -no-xrender -no-xkb
 -no-xinerama -no-xshape -no-xvideo -no-xsync -no-xinput -no-xinput2 -no-egl
 -no-xcursor -no-xfixes -no-xrandr

 even though  I explicitly passed the option  -no-opengl, I'm getting the
 following error:

 $
 /opt/STLinux-2.4/devkit/sh4/bin/../lib/gcc/sh4-linux/4.6.3/../../../../sh4-linux/bin/ld:
 cannot find -lGL


The GL line can come from various sources. some debugging hints:
1. Is your ST mkspec free of GL?
2. From pkg-config. Do a quick grep in your pc files, if you are using
pkg-config
3. Note that on the desktop, you also have to pass -no-egl to be free of gl.
4. Then check mkspecs/qconfig.pri - does it have any opengl or egl or gles2?
5. Check that QtGui is actually free of gl using ldd.

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