Re: [Interest] Qt5 cross compilation issues on Tegra3

2013-02-26 Thread Ramakanthreddy_Kesireddy
Hi,

Could you please let me know where can I get the Qt5 development 
packages(ubuntu)
required for Qt5 configure and how can I install in sysroot for the below 
errors?

Br,
Ramakanth


From: 
interest-bounces+ramakanthreddy_kesireddy=mahindrasatyam@qt-project.org 
[interest-bounces+ramakanthreddy_kesireddy=mahindrasatyam@qt-project.org] 
on behalf of Thiago Macieira [thiago.macie...@intel.com]
Sent: Thursday, February 21, 2013 9:43 PM
To: interest@qt-project.org
Subject: Re: [Interest] Qt5 cross compilation issues on Tegra3

On quinta-feira, 21 de fevereiro de 2013 10.28.37, Ramakanthreddy_Kesireddy
wrote:
 Please let me know how to resolve the same.

One of the errors is clear:

xcb.cpp:42:21: fatal error: xcb/xcb.h: No such file or directory

You need to install the necessary development packages.

The other error is that your toolchain is broken.

Your compiler flags include:
-mhard-float -mfloat-abi=softfp -mfpu=vfpv3-d16 -mfloat-abi=softfp

Your linker flags don't.

Why are you compiling new software using softfp ?

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



DISCLAIMER:
This email (including any attachments) is intended for the sole use of the 
intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE 
COMPANY INFORMATION. Any review or reliance by others or copying or 
distribution or forwarding of any or all of the contents in this message is 
STRICTLY PROHIBITED. If you are not the intended recipient, please contact the 
sender by email and delete all copies; your cooperation in this regard is 
appreciated.
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


[Interest] Qt5 cross compilation issues on Tegra3

2013-02-26 Thread Ramakanthreddy_Kesireddy
Hi,

Could you please let me know where can I get the Qt5 development 
packages(ubuntu)
required for Qt5 configure and how can I install in sysroot for the below 
errors?

Br,
Ramakanth


From: 
interest-bounces+ramakanthreddy_kesireddy=mahindrasatyam@qt-project.org 
[interest-bounces+ramakanthreddy_kesireddy=mahindrasatyam@qt-project.org] 
on behalf of Thiago Macieira [thiago.macie...@intel.com]
Sent: Thursday, February 21, 2013 9:43 PM
To: interest@qt-project.org
Subject: Re: [Interest] Qt5 cross compilation issues on Tegra3

On quinta-feira, 21 de fevereiro de 2013 10.28.37, Ramakanthreddy_Kesireddy
wrote:
 Please let me know how to resolve the same.

One of the errors is clear:

xcb.cpp:42:21: fatal error: xcb/xcb.h: No such file or directory

You need to install the necessary development packages.

The other error is that your toolchain is broken.

Your compiler flags include:
-mhard-float -mfloat-abi=softfp -mfpu=vfpv3-d16 -mfloat-abi=softfp

Your linker flags don't.

Why are you compiling new software using softfp ?

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



DISCLAIMER:
This email (including any attachments) is intended for the sole use of the 
intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE 
COMPANY INFORMATION. Any review or reliance by others or copying or 
distribution or forwarding of any or all of the contents in this message is 
STRICTLY PROHIBITED. If you are not the intended recipient, please contact the 
sender by email and delete all copies; your cooperation in this regard is 
appreciated.
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Qt5 cross compilation issues on Tegra3

2013-02-26 Thread Pritam Ghanghas
that will depend on your target build system. Nothing to do with ubuntu. Look 
what embedded build system you are using. See in its documentation how to add 
new packages. then download libxcb and compile. But do you really need xcb. I 
have never compiled qt5 till now. But isn't xcb needed only for x11 based 
builds. I think on embedded devices eglfs is the recommended approach.

regards,
Pritam

From: interest-bounces+pritam_ghanghas=infosys@qt-project.org 
[interest-bounces+pritam_ghanghas=infosys@qt-project.org] on behalf of 
Ramakanthreddy_Kesireddy [ramakanthreddy_kesire...@mahindrasatyam.com]
Sent: Tuesday, February 26, 2013 6:46 PM
To: Thiago Macieira; interest@qt-project.org
Subject: [Interest]  Qt5 cross compilation issues on Tegra3

Hi,

Could you please let me know where can I get the Qt5 development 
packages(ubuntu)
required for Qt5 configure and how can I install in sysroot for the below 
errors?

Br,
Ramakanth


From: 
interest-bounces+ramakanthreddy_kesireddy=mahindrasatyam@qt-project.org 
[interest-bounces+ramakanthreddy_kesireddy=mahindrasatyam@qt-project.org] 
on behalf of Thiago Macieira [thiago.macie...@intel.com]
Sent: Thursday, February 21, 2013 9:43 PM
To: interest@qt-project.org
Subject: Re: [Interest] Qt5 cross compilation issues on Tegra3

On quinta-feira, 21 de fevereiro de 2013 10.28.37, Ramakanthreddy_Kesireddy
wrote:
 Please let me know how to resolve the same.

One of the errors is clear:

xcb.cpp:42:21: fatal error: xcb/xcb.h: No such file or directory

You need to install the necessary development packages.

The other error is that your toolchain is broken.

Your compiler flags include:
-mhard-float -mfloat-abi=softfp -mfpu=vfpv3-d16 -mfloat-abi=softfp

Your linker flags don't.

Why are you compiling new software using softfp ?

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



DISCLAIMER:
This email (including any attachments) is intended for the sole use of the 
intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE 
COMPANY INFORMATION. Any review or reliance by others or copying or 
distribution or forwarding of any or all of the contents in this message is 
STRICTLY PROHIBITED. If you are not the intended recipient, please contact the 
sender by email and delete all copies; your cooperation in this regard is 
appreciated.
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

 CAUTION - Disclaimer *
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are 
not 
to copy, disclose, or distribute this e-mail or its contents to any other 
person and 
any such actions are unlawful. This e-mail may contain viruses. Infosys has 
taken 
every reasonable precaution to minimize this risk, but is not liable for any 
damage 
you may sustain as a result of any virus in this e-mail. You should carry out 
your 
own virus checks before opening the e-mail or attachment. Infosys reserves the 
right to monitor and review the content of all messages sent to or from this 
e-mail 
address. Messages sent to or from this e-mail address may be stored on the 
Infosys e-mail system.
***INFOSYS End of Disclaimer INFOSYS***
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Qt5 cross compilation issues on Tegra3

2013-02-22 Thread Ramakanthreddy_Kesireddy
Hi,

Actually as neon support is enabled for Tegra3 targetfs, -mfloat-abi=soft is 
disabling the neon.
Please suggest the changes we need to make in qmake.conf as attached.

Br,
Ramakanth

From: 
interest-bounces+ramakanthreddy_kesireddy=mahindrasatyam@qt-project.org 
[interest-bounces+ramakanthreddy_kesireddy=mahindrasatyam@qt-project.org] 
on behalf of Donald Carr [sirsp...@gmail.com]
Sent: Friday, February 22, 2013 7:06 AM
To: Thiago Macieira
Cc: interest@qt-project.org
Subject: Re: [Interest] Qt5 cross compilation issues on Tegra3

Yuck, I suspect I might be somewhat to blame. There is so much wrong,
I might be causing some of it.

If you create a device (TM) mkspec as evident in the device subdir,
it automatically includes a header and footer pri file, which try to
do the right thing but in a braindead misguided fashion.

One of the things that the footer does is automatically append
-mfloat-abi=softfp unless you explicitly state that you are using
hardfp support. My justification for this stupidity is below, if you
care.

This is limited to mkspecs in the device folder, and this was meant to
ease optimal usage/compilation of Qt since:

1) Our documentation doesn't cut it (cross compilation)
2) Our customers are normally complete dolts, even the chipset dudes
who appear to love living in complete ignorance of modern Linux
stacks, toolchain progress and the impact of compiler flags on
generated code.

Since we never actually got the device crap to a point where it was
widely adopted, understood and used, this lingers as a semi-functional
documentational sore point.

I have meant to address this oversight for absolute ages.

Cheerio,
Donald




This was introduced due to the us (possibly just me) deciding that we
always wanted -mfloat-abi=softfp _or_ -mfloat-abi=hard, and never
-mfloat-abi=soft which is the default for most toolchains I have
encountered as part of BSP packages.

On devices like the Raspberry Pi -mfloat-abi=softfp made a hell of a
difference over -mfloat-abi=soft, and at a point where the hardfp
enabled build did not exist.



On Thu, Feb 21, 2013 at 8:13 AM, Thiago Macieira
thiago.macie...@intel.com wrote:
 On quinta-feira, 21 de fevereiro de 2013 10.28.37, Ramakanthreddy_Kesireddy
 wrote:
 Please let me know how to resolve the same.

 One of the errors is clear:

 xcb.cpp:42:21: fatal error: xcb/xcb.h: No such file or directory

 You need to install the necessary development packages.

 The other error is that your toolchain is broken.

 Your compiler flags include:
 -mhard-float -mfloat-abi=softfp -mfpu=vfpv3-d16 -mfloat-abi=softfp

 Your linker flags don't.

 Why are you compiling new software using softfp ?

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

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

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



DISCLAIMER:
This email (including any attachments) is intended for the sole use of the 
intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE 
COMPANY INFORMATION. Any review or reliance by others or copying or 
distribution or forwarding of any or all of the contents in this message is 
STRICTLY PROHIBITED. If you are not the intended recipient, please contact the 
sender by email and delete all copies; your cooperation in this regard is 
appreciated.


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


[Interest] Qt5 cross compilation issues on Tegra3

2013-02-21 Thread Ramakanthreddy_Kesireddy
sorry missed the subject line..




From: Ramakanthreddy_Kesireddy
Sent: Thursday, February 21, 2013 3:58 PM
To: interest@qt-project.org
Subject:


Hi,



Am trying to cross compile for tegra3 using cross compiler tool chain(tegra2 
mkspecs) and targetfs provided.



Attaching herewith configuration errors..



Please let me know how to resolve the same.



Br,

Ramakanth



DISCLAIMER:
This email (including any attachments) is intended for the sole use of the 
intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE 
COMPANY INFORMATION. Any review or reliance by others or copying or 
distribution or forwarding of any or all of the contents in this message is 
STRICTLY PROHIBITED. If you are not the intended recipient, please contact the 
sender by email and delete all copies; your cooperation in this regard is 
appreciated.
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Qt5 cross compilation issues on Tegra3

2013-02-21 Thread Pritam Ghanghas
Do you have a mix of two toolchains in your mkspec. I see that g++ and ld are 
coming from different paths.

From: interest-bounces+pritam_ghanghas=infosys@qt-project.org 
[interest-bounces+pritam_ghanghas=infosys@qt-project.org] on behalf of 
Ramakanthreddy_Kesireddy [ramakanthreddy_kesire...@mahindrasatyam.com]
Sent: Thursday, February 21, 2013 4:00 PM
To: interest@qt-project.org
Subject: [Interest] Qt5 cross compilation issues on Tegra3


sorry missed the subject line..




From: Ramakanthreddy_Kesireddy
Sent: Thursday, February 21, 2013 3:58 PM
To: interest@qt-project.org
Subject:


Hi,



Am trying to cross compile for tegra3 using cross compiler tool chain(tegra2 
mkspecs) and targetfs provided.



Attaching herewith configuration errors..



Please let me know how to resolve the same.



Br,

Ramakanth



DISCLAIMER:
This email (including any attachments) is intended for the sole use of the 
intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE 
COMPANY INFORMATION. Any review or reliance by others or copying or 
distribution or forwarding of any or all of the contents in this message is 
STRICTLY PROHIBITED. If you are not the intended recipient, please contact the 
sender by email and delete all copies; your cooperation in this regard is 
appreciated.

 CAUTION - Disclaimer *
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are 
not 
to copy, disclose, or distribute this e-mail or its contents to any other 
person and 
any such actions are unlawful. This e-mail may contain viruses. Infosys has 
taken 
every reasonable precaution to minimize this risk, but is not liable for any 
damage 
you may sustain as a result of any virus in this e-mail. You should carry out 
your 
own virus checks before opening the e-mail or attachment. Infosys reserves the 
right to monitor and review the content of all messages sent to or from this 
e-mail 
address. Messages sent to or from this e-mail address may be stored on the 
Infosys e-mail system.
***INFOSYS End of Disclaimer INFOSYS***
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest