www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - "How to set up QTD?".

reply "vmars316" <vmars316 live.com> writes:
Greetings,
I would also like to try out QTD.

So far, I have set things up this:
C:\D\dmd2\QT

I made a .batch file for both drcc.exe and duic.exe .
duic.exe gave no feedback.

drcc.exe gave the following feedback:

C:\D\dmd2\QT\bin>ECHO ON

C:\D\dmd2\QT\bin>drcc.exe
Qt resource compiler
Usage: drcc.exe  [options] <inputs>

Options:
   -o file                write output to file rather than stdout
   -name name             create an external initialization 
function with name
   -threshold level       threshold to consider compressing files
   -compress level        compress input files by level
   -root path             prefix resource access path with root 
path
   -no-compress           disable all compression
   -no-static-initialize  disable automatic initialization of 
resources with prog
ram start
   -binary                output a binary file for use as a 
dynamic resource
   -namespace             turn off namespace macros
   -project               Output a resource file containing all
                          files from the current directory
   -version               display version
   -help                  display this information

C:\D\dmd2\QT\bin>REM C:\D\dmd2\windows\bin\dmd.exe

C:\D\dmd2\QT\bin>pause
Press any key to continue . . .

Pls, do I need to re-do file/Folder placement?
Also, do I need to create .bat files for every .d I want to 
compile?
Can someone show me how to get qtd running?

Thanks...Vernon
Apr 08 2012
next sibling parent Kevin Cox <kevincox.ca gmail.com> writes:
--0015175cd814000f9504bd3e7bca
Content-Type: text/plain; charset=UTF-8

On Apr 8, 2012 10:59 PM, "vmars316" <vmars316 live.com> wrote:
 Greetings,
 I would also like to try out QTD.

 So far, I have set things up this:
 C:\D\dmd2\QT

 I made a .batch file for both drcc.exe and duic.exe .
 duic.exe gave no feedback.

 drcc.exe gave the following feedback:

 C:\D\dmd2\QT\bin>ECHO ON

 C:\D\dmd2\QT\bin>drcc.exe
 Qt resource compiler
 Usage: drcc.exe  [options] <inputs>

 Options:
  -o file                write output to file rather than stdout
  -name name             create an external initialization function with

  -threshold level       threshold to consider compressing files
  -compress level        compress input files by level
  -root path             prefix resource access path with root path
  -no-compress           disable all compression
  -no-static-initialize  disable automatic initialization of resources

 ram start
  -binary                output a binary file for use as a dynamic resource
  -namespace             turn off namespace macros
  -project               Output a resource file containing all
                         files from the current directory
  -version               display version
  -help                  display this information

 C:\D\dmd2\QT\bin>REM C:\D\dmd2\windows\bin\dmd.exe

 C:\D\dmd2\QT\bin>pause
 Press any key to continue . . .

 Pls, do I need to re-do file/Folder placement?
 Also, do I need to create .bat files for every .d I want to compile?
 Can someone show me how to get qtd running?

 Thanks...Vernon

I think rcc is the Qt resource compiler. I'm not at my computer at the moment to check, but if so it will translate xml resource files into D source. --0015175cd814000f9504bd3e7bca Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <p><br> On Apr 8, 2012 10:59 PM, &quot;vmars316&quot; &lt;<a href=3D"mailto:vmars31= 6 live.com">vmars316 live.com</a>&gt; wrote:<br> &gt;<br> &gt; Greetings,<br> &gt; I would also like to try out QTD.<br> &gt;<br> &gt; So far, I have set things up this:<br> &gt; C:\D\dmd2\QT<br> &gt;<br> &gt; I made a .batch file for both drcc.exe and duic.exe .<br> &gt; duic.exe gave no feedback.<br> &gt;<br> &gt; drcc.exe gave the following feedback:<br> &gt;<br> &gt; C:\D\dmd2\QT\bin&gt;ECHO ON<br> &gt;<br> &gt; C:\D\dmd2\QT\bin&gt;drcc.exe<br> &gt; Qt resource compiler<br> &gt; Usage: drcc.exe =C2=A0[options] &lt;inputs&gt;<br> &gt;<br> &gt; Options:<br> &gt; =C2=A0-o file =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0w= rite output to file rather than stdout<br> &gt; =C2=A0-name name =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 create an e= xternal initialization function with name<br> &gt; =C2=A0-threshold level =C2=A0 =C2=A0 =C2=A0 threshold to consider comp= ressing files<br> &gt; =C2=A0-compress level =C2=A0 =C2=A0 =C2=A0 =C2=A0compress input files = by level<br> &gt; =C2=A0-root path =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 prefix reso= urce access path with root path<br> &gt; =C2=A0-no-compress =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 disable all comp= ression<br> &gt; =C2=A0-no-static-initialize =C2=A0disable automatic initialization of = resources with prog<br> &gt; ram start<br> &gt; =C2=A0-binary =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0o= utput a binary file for use as a dynamic resource<br> &gt; =C2=A0-namespace =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 turn off na= mespace macros<br> &gt; =C2=A0-project =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Output= a resource file containing all<br> &gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 files from the current directory<br> &gt; =C2=A0-version =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 displa= y version<br> &gt; =C2=A0-help =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0display this information<br> &gt;<br> &gt; C:\D\dmd2\QT\bin&gt;REM C:\D\dmd2\windows\bin\dmd.exe<br> &gt;<br> &gt; C:\D\dmd2\QT\bin&gt;pause<br> &gt; Press any key to continue . . .<br> &gt;<br> &gt; Pls, do I need to re-do file/Folder placement?<br> &gt; Also, do I need to create .bat files for every .d I want to compile?<b= r> &gt; Can someone show me how to get qtd running?<br> &gt;<br> &gt; Thanks...Vernon<br> &gt;<br> &gt;</p> <p>I think rcc is the Qt resource compiler.=C2=A0 I&#39;m not at my compute= r at the moment to check, but if so it will translate xml resource files in= to D source.<br> </p> --0015175cd814000f9504bd3e7bca--
Apr 09 2012
prev sibling next sibling parent "vmars316" <vmars316 live.com> writes:
On Monday, 9 April 2012 at 12:52:47 UTC, Kevin Cox wrote:

 I think rcc is the Qt resource compiler.  I'm not at my 
 computer at the
 moment to check, but if so it will translate xml resource files 
 into D
 source.

"I think rcc is the Qt resource compiler." I don't know what the above means. What are its implications? Is my setup ok?: C:\D\dmd2\QT Or do I need to dump 'QT Folder' into 'drcc.exe Folder'? Also, do I need to create '*.bat' files for every '*.d' I want to edit/compile? Pls, what would that .bat file look like? Could someone show me a working cmd-line for the .bat file? Do I need to specify 'environmental-variables'? Thanks a lot for your helps...Vernon
Apr 09 2012
prev sibling parent Kevin Cox <kevincox.ca gmail.com> writes:
--000e0ce03dea17d61404bd49c83c
Content-Type: text/plain; charset=UTF-8

On Apr 9, 2012 12:09 PM, "vmars316" <vmars316 live.com> wrote:
 On Monday, 9 April 2012 at 12:52:47 UTC, Kevin Cox wrote:

 I think rcc is the Qt resource compiler.  I'm not at my computer at the
 moment to check, but if so it will translate xml resource files into D
 source.

"I think rcc is the Qt resource compiler." I don't know what the above means. What are its implications? Is my setup ok?: C:\D\dmd2\QT Or do I need to dump 'QT Folder' into 'drcc.exe Folder'? Also, do I need to create '*.bat' files for every '*.d' I want to

 Pls, what would that .bat file look like?
 Could someone show me a working cmd-line for the .bat file?
 Do I need to specify 'environmental-variables'?

 Thanks a lot for your helps...Vernon

Qt as quite extensive documentation. Look into the documents about compiling projects. It is not a 1 to 1 translation but the workflow is the same. --000e0ce03dea17d61404bd49c83c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <p><br> On Apr 9, 2012 12:09 PM, &quot;vmars316&quot; &lt;<a href=3D"mailto:vmars31= 6 live.com">vmars316 live.com</a>&gt; wrote:<br> &gt;<br> &gt; On Monday, 9 April 2012 at 12:52:47 UTC, Kevin Cox wrote:<br> &gt;<br> &gt;&gt; I think rcc is the Qt resource compiler. =C2=A0I&#39;m not at my c= omputer at the<br> &gt;&gt; moment to check, but if so it will translate xml resource files in= to D<br> &gt;&gt; source.<br> &gt;<br> &gt;<br> &gt; &quot;I think rcc is the Qt resource compiler.&quot;<br> &gt; I don&#39;t know what the above means.<br> &gt; What are its implications?<br> &gt; Is my setup ok?: C:\D\dmd2\QT<br> &gt; Or do I need to dump &#39;QT Folder&#39; into &#39;drcc.exe Folder&#39= ;?<br> &gt;<br> &gt; Also, do I need to create &#39;*.bat&#39; files for every &#39;*.d&#39= ; I want to edit/compile?<br> &gt; Pls, what would that .bat file look like?<br> &gt; Could someone show me a working cmd-line for the .bat file?<br> &gt; Do I need to specify &#39;environmental-variables&#39;?<br> &gt;<br> &gt; Thanks a lot for your helps...Vernon</p> <p>Qt as quite extensive documentation.=C2=A0 Look into the documents about= compiling projects.=C2=A0 It is not a 1 to 1 translation but the workflow = is the same.<br> </p> --000e0ce03dea17d61404bd49c83c--
Apr 09 2012