[] Activation C/C++

"Michel Morgana" <[email protected]> Sun, 14 Nov 2010 12:51:02 +0100
Newsgroups gmane.comp.java.netbeans.general.french
Message-ID <A056EA4BE3ED4899813092593203AB6F@PackardBell>
This is a multi-part message in MIME format.

------=_NextPart_000_001E_01CB83FA.9870C0E0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Bonjour.

=20

J=92=E9prouve de s=E9rieux probl=E8mes dans mes tentatives d=92activer =
C/C++ avec QT
dans NetBeans.

=20

1.	Ce que j=92ai fait :

Avec NetBeans Version 6.9.1 sous Windows XP, j=92ai suivi pas =E0 pas la =
fiche :
http://netbeans.org/kb/docs/cnd/qt-applications.html#qtinstall

=20

*	Au point 2, chargement de MSYS-1.0.10.exe (par le lien fourni)
erreur =AB =85AllocationBase 0x0, BaseAddress 0x715B0000, RegionSize =
0x10000,
State 0x10000 C:\msys\1.0\bin\sh.exe: *** Couldn't reserve space for
cygwin's heap, Win32 error 6 =BB.

=20

*	Au point 3, chargement de Qt 4.6.2 SDK, tout parait normal. En mode
direct QT Creator fonctionne (lentement) et les exemples peuvent =EAtre
compil=E9s puis ex=E9cut=E9s.

=20

*	Ai ajout=E9 au =AB PATH =BB de Windows : C:\Qt\2010.02.1\qt\bin\

=20

*	Au point 8, Creating a Simple Qt Application, tout se complique.

=20

2.	Les probl=E8mes :

*	Dans main.cpp :=20

                                                               i.
Cannot find include file <QtGui/QApplication> ;

                                                             ii.      =
Unable
to resolve identifier QApplication (QApplication app(argc, argv)) ;

                                                            iii.      =
Unable
to resolve identifier QApplication (app.exec()).

R=E9solus apr=E8s avoir ajout=E9 la ligne C:\Qt\2010.02.1\qt\include =
dans
Outils/Options/C/C++/Code Assitance/Include Directories

=20

*	=C0 la cr=E9ation de HelloForm : =AB Failed to start Qt Designer. Make
sure it is installed and added to PATH =BB

                                                               i.      =
L=E0 je
ne sais plus. J=92avais bien plac=E9 dans le PATH de Windows :
C:\Qt\2010.02.1\qt\bin, r=E9pertoire o=F9 l=92on trouve designer.exe

=20

Si quelqu=92un voit ce que j=92ai mal fait merci de m=92aider.

Michel Morgana

=20


------=_NextPart_000_001E_01CB83FA.9870C0E0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Times New Roman";
	color:windowtext;
	font-weight:normal;
	font-style:normal;
	text-decoration:none none;}
@page Section1
	{size:595.3pt 841.9pt;
	margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
	{page:Section1;}
 /* List Definitions */
 @list l0
	{mso-list-id:490217804;
	mso-list-type:hybrid;
	mso-list-template-ids:623442662 67895311 67895321 67895323 67895311 =
67895321 67895323 67895311 67895321 67895323;}
@list l0:level1
	{mso-level-tab-stop:88.8pt;
	mso-level-number-position:left;
	margin-left:88.8pt;
	text-indent:-18.0pt;}
@list l1
	{mso-list-id:536966983;
	mso-list-type:hybrid;
	mso-list-template-ids:-2031708282 67895311 67895297 67895323 67895311 =
67895321 67895323 67895311 67895321 67895323;}
@list l1:level1
	{mso-level-tab-stop:36.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l1:level2
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:72.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:Symbol;}
@list l1:level3
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:108.0pt;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l1:level4
	{mso-level-tab-stop:144.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l2
	{mso-list-id:631205641;
	mso-list-type:hybrid;
	mso-list-template-ids:221259090 67895311 67895297 67895297 67895311 =
67895321 67895323 67895311 67895321 67895323;}
@list l2:level1
	{mso-level-tab-stop:36.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l2:level2
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:72.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:Symbol;}
@list l2:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:117.0pt;
	mso-level-number-position:left;
	margin-left:117.0pt;
	text-indent:-18.0pt;
	font-family:Symbol;}
@list l2:level4
	{mso-level-tab-stop:144.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l3
	{mso-list-id:1177043271;
	mso-list-type:hybrid;
	mso-list-template-ids:304913234 67895311 67895297 67895323 67895311 =
67895321 67895323 67895311 67895321 67895323;}
@list l3:level1
	{mso-level-tab-stop:36.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l3:level2
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:72.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:Symbol;}
@list l3:level3
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:108.0pt;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l3:level4
	{mso-level-tab-stop:144.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l4
	{mso-list-id:1690789272;
	mso-list-type:hybrid;
	mso-list-template-ids:-1383932080 67895311 67895297 67895323 67895311 =
67895321 67895323 67895311 67895321 67895323;}
@list l4:level1
	{mso-level-tab-stop:36.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l4:level2
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:72.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:Symbol;}
@list l4:level3
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:108.0pt;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l4:level4
	{mso-level-tab-stop:144.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
ol
	{margin-bottom:0cm;}
ul
	{margin-bottom:0cm;}
-->
</style>

</head>

<body lang=3DFR link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>Bonjour.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>J&#8217;=E9prouve de s=E9rieux probl=E8mes dans mes tentatives =
d&#8217;activer
C/C++ avec QT dans NetBeans.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<ol style=3D'margin-top:0cm' start=3D1 type=3D1>
 <li class=3DMsoNormal style=3D'mso-list:l4 level1 lfo1'><font size=3D3
     face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>Ce que =
j&#8217;ai
     fait&nbsp;:<o:p></o:p></span></font></li>
</ol>

<p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>Avec NetBeans =
Version
6.9.1 sous Windows XP, j&#8217;ai suivi pas =E0 pas la fiche&nbsp;: <a
href=3D"http://netbeans.org/kb/docs/cnd/qt-applications.html#qtinstall">h=
ttp://netbeans.org/kb/docs/cnd/qt-applications.html#qtinstall</a><o:p></o=
:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D3
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<ol style=3D'margin-top:0cm' start=3D1 type=3D1>
 <ul style=3D'margin-top:0cm' type=3Ddisc>
  <li class=3DMsoNormal style=3D'mso-list:l4 level2 lfo1'><font size=3D3
      face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>Au point =
2,
      chargement de MSYS-1.0.10.exe (par le lien fourni) =
erreur&nbsp;=AB&nbsp;&#8230;AllocationBase
      0x0, BaseAddress 0x715B0000, RegionSize 0x10000, State 0x10000 =
C:\msys\1.0\bin\sh.exe:
      *** Couldn't reserve space for cygwin's heap, Win32 error =
6&nbsp;=BB.<o:p></o:p></span></font></li>
 </ul>
</ol>

<p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D3
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<ol style=3D'margin-top:0cm' start=3D1 type=3D1>
 <ul style=3D'margin-top:0cm' type=3Ddisc>
  <li class=3DMsoNormal style=3D'mso-list:l4 level2 lfo1'><font size=3D3
      face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>Au point =
3, chargement
      de Qt 4.6.2 SDK, tout parait normal. En mode direct QT Creator =
fonctionne
      (lentement) et les exemples peuvent =EAtre compil=E9s puis =
ex=E9cut=E9s.<o:p></o:p></span></font></li>
 </ul>
</ol>

<p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D3
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<ol style=3D'margin-top:0cm' start=3D1 type=3D1>
 <ul style=3D'margin-top:0cm' type=3Ddisc>
  <li class=3DMsoNormal style=3D'mso-list:l4 level2 lfo1'><font size=3D3
      face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>Ai =
ajout=E9 au =AB&nbsp;PATH&nbsp;=BB
      de Windows&nbsp;: =
C:\Qt\2010.02.1\qt\bin\<o:p></o:p></span></font></li>
 </ul>
</ol>

<p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D3
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<ol style=3D'margin-top:0cm' start=3D1 type=3D1>
 <ul style=3D'margin-top:0cm' type=3Ddisc>
  <li class=3DMsoNormal style=3D'mso-list:l4 level2 lfo1'><font size=3D3
      face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>Au point =
8, Creating
      a Simple Qt Application, tout se =
complique.<o:p></o:p></span></font></li>
 </ul>
</ol>

<p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D3
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<ol style=3D'margin-top:0cm' start=3D2 type=3D1>
 <li class=3DMsoNormal style=3D'mso-list:l4 level1 lfo1'><font size=3D3
     face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>Les =
probl=E8mes&nbsp;:<o:p></o:p></span></font></li>
 <ul style=3D'margin-top:0cm' type=3Ddisc>
  <li class=3DMsoNormal style=3D'mso-list:l4 level2 lfo1'><font size=3D3
      face=3D"Times New Roman"><span lang=3DEN-GB =
style=3D'font-size:12.0pt'>Dans main.cpp&nbsp;:
      <o:p></o:p></span></font></li>
 </ul>
</ol>

<p class=3DMsoNormal =
style=3D'margin-left:108.0pt;text-indent:-108.0pt;mso-text-indent-alt:
-9.0pt;mso-list:l4 level3 lfo1'><![if !supportLists]><font size=3D3
face=3D"Times New Roman"><span lang=3DEN-GB =
style=3D'font-size:12.0pt'><span
style=3D'mso-list:Ignore'><font size=3D1 face=3D"Times New Roman"><span
style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;
</span></font>i.<font size=3D1 face=3D"Times New Roman"><span =
style=3D'font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font></span></span></font><![endif]><span lang=3DEN-GB>Cannot =
find
include file &lt;QtGui/QApplication&gt; ;<o:p></o:p></span></p>

<p class=3DMsoNormal =
style=3D'margin-left:108.0pt;text-indent:-108.0pt;mso-text-indent-alt:
-9.0pt;mso-list:l4 level3 lfo1'><![if !supportLists]><font size=3D3
face=3D"Times New Roman"><span lang=3DEN-GB =
style=3D'font-size:12.0pt'><span
style=3D'mso-list:Ignore'><font size=3D1 face=3D"Times New Roman"><span
style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;
</span></font>ii.<font size=3D1 face=3D"Times New Roman"><span =
style=3D'font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font></span></span></font><![endif]><span lang=3DEN-GB>Unable =
to resolve
identifier QApplication (QApplication app(argc, argv)) =
;<o:p></o:p></span></p>

<p class=3DMsoNormal =
style=3D'margin-left:108.0pt;text-indent:-108.0pt;mso-text-indent-alt:
-9.0pt;mso-list:l4 level3 lfo1'><![if !supportLists]><font size=3D3
face=3D"Times New Roman"><span lang=3DEN-GB =
style=3D'font-size:12.0pt'><span
style=3D'mso-list:Ignore'><font size=3D1 face=3D"Times New Roman"><span
style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font>iii.<font size=3D1 face=3D"Times New Roman"><span =
style=3D'font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font></span></span></font><![endif]><span lang=3DEN-GB>Unable =
to resolve
identifier QApplication (app.exec()).<o:p></o:p></span></p>

<p class=3DMsoNormal style=3D'margin-left:70.8pt'><font size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>R=E9solus =
apr=E8s avoir
ajout=E9 <st1:PersonName ProductID=3D"la ligne C" w:st=3D"on">la ligne =
C</st1:PersonName>:\Qt\2010.02.1\qt\include
dans Outils/Options/C/C++/Code Assitance/Include =
Directories<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D3
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<ol style=3D'margin-top:0cm' start=3D2 type=3D1>
 <ul style=3D'margin-top:0cm' type=3Ddisc>
  <li class=3DMsoNormal style=3D'mso-list:l4 level2 lfo1'><font size=3D3
      face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>=C0 la =
cr=E9ation de HelloForm&nbsp;:
      =AB&nbsp;Failed to start Qt Designer. </span></font><span =
lang=3DEN-GB>Make
      sure it is installed and added to =
PATH&nbsp;=BB<o:p></o:p></span></li>
 </ul>
</ol>

<p class=3DMsoNormal =
style=3D'margin-left:108.0pt;text-indent:-108.0pt;mso-text-indent-alt:
-9.0pt;mso-list:l4 level3 lfo1'><![if !supportLists]><font size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'><span =
style=3D'mso-list:
Ignore'><font size=3D1 face=3D"Times New Roman"><span =
style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;
</span></font>i.<font size=3D1 face=3D"Times New Roman"><span =
style=3D'font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font></span></span></font><![endif]>L=E0 je ne sais plus. =
J&#8217;avais
bien plac=E9 dans le PATH de Windows&nbsp;: C:\Qt\2010.02.1\qt\bin, =
r=E9pertoire o=F9
l&#8217;on trouve designer.exe<o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>Si quelqu&#8217;un voit ce que j&#8217;ai mal fait merci de =
m&#8217;aider.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><st1:PersonName ProductID=3D"Michel Morgana" =
w:st=3D"on"><font
 size=3D3 color=3Dblue face=3D"Times New Roman"><span lang=3DEN-GB =
style=3D'font-size:
 12.0pt;color:blue'>Michel Morgana</span></font></st1:PersonName><font
color=3Dblue><span lang=3DEN-GB =
style=3D'color:blue'><o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
lang=3DEN-GB
style=3D'font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>

------=_NextPart_000_001E_01CB83FA.9870C0E0--