Re: [Qt-creator] How to add txx into c++ editor suffix

2010-05-19 Thread Thorbjørn Lindeijer
On 05/19/2010 12:12 AM, Molkentin Daniel (Nokia-D/Berlin) wrote:
 That is not strictly true. You can also patch the file (check the path in the 
 diff and find it under /usr/share) by hand (you will need root permissions to 
 do that). However, this is frowned upon, since it can potentially conflict 
 with the package management. As a better alternative, download Qt Creator 
 1.3.1, 2.0 beta or a recent snapshot (depending on how adventurous you are). 
 It will install Creator into your home directory and you should be able to 
 just apply the patch there.

I'm afraid that's not the case here, since this file is compiled into Qt 
Creator as a resource so the file can't be found in a Qt SDK or Qt 
Creator installation.

So Qt Creator will have to be recompiled with the patch applied.

Regards,
Bjørn

-- 
Thorbjørn Lindeijer
Software Engineer
Nokia, Qt Development Frameworks
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] How to add txx into c++ editor suffix

2010-05-18 Thread Sam Sun
Good morning Friedemann;

Thank you very much for your reply.

I am using gcc/g++ compiler on Ubuntu 10.04, and try to generate ITK
libraries with this IDE.

Is there any special requirement in installing the attached file on Ubuntu
10.04?


Best regards,
Sam



On Tue, May 18, 2010 at 3:47 AM, Friedemann Kleint 
friedemann.kle...@nokia.com wrote:

 Hi,

  in order to customize editor for stl files with suffix, could you please
  tell me how to add suffix txx into c++ suffix through
  tools-options-c++-file naming conventions, or other methods?
 
  Thank you very much for your kind help.
 The attached patch should make Creator recognize the suffix as C++ source.
 What
 platform/compiler/STL implementation is that?

 Regards,
 Friedemann
 --
 Friedemann Kleint
 Nokia, Qt Development Frameworks

 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator


___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] How to add txx into c++ editor suffix

2010-05-18 Thread Coda Highland
You're going to have to compile Creator from source.

/s/ Adam

On Tue, May 18, 2010 at 10:51 AM, Sam Sun wxdl...@gmail.com wrote:
 Good morning Friedemann;

 Thank you very much for your reply.

 I am using gcc/g++ compiler on Ubuntu 10.04, and try to generate ITK
 libraries with this IDE.

 Is there any special requirement in installing the attached file on Ubuntu
 10.04?


 Best regards,
 Sam


 On Tue, May 18, 2010 at 3:47 AM, Friedemann Kleint
 friedemann.kle...@nokia.com wrote:

 Hi,

  in order to customize editor for stl files with suffix, could you please
  tell me how to add suffix txx into c++ suffix through
  tools-options-c++-file naming conventions, or other methods?
 
  Thank you very much for your kind help.
 The attached patch should make Creator recognize the suffix as C++ source.
 What
 platform/compiler/STL implementation is that?

 Regards,
 Friedemann
 --
 Friedemann Kleint
 Nokia, Qt Development Frameworks

 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator



 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator


___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] How to add txx into c++ editor suffix

2010-05-18 Thread daniel.molkentin
That is not strictly true. You can also patch the file (check the path in the 
diff and find it under /usr/share) by hand (you will need root permissions to 
do that). However, this is frowned upon, since it can potentially conflict with 
the package management. As a better alternative, download Qt Creator 1.3.1, 2.0 
beta or a recent snapshot (depending on how adventurous you are). It will 
install Creator into your home directory and you should be able to just apply 
the patch there.

Cheers,
  Daniel
--
Daniel Molkentin, Software Engineer,
Nokia, Qt Development Frameworks
website: http://qt.nokia.com
Rudower Chaussee 13, DE-12489 Berlin

Nokia gate5 GmbH
Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B
Umsatzsteueridentifikationsnummer: DE 812 845 193
Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori

From: qt-creator-boun...@trolltech.com [qt-creator-boun...@trolltech.com] On 
Behalf Of ext Coda Highland [c...@bobandgeorge.com]
Sent: Tuesday, May 18, 2010 6:11 PM
To: qt-creator@trolltech.com
Subject: Re: [Qt-creator] How to add txx into c++ editor suffix

You're going to have to compile Creator from source.

/s/ Adam

On Tue, May 18, 2010 at 10:51 AM, Sam Sun wxdl...@gmail.com wrote:
 Good morning Friedemann;

 Thank you very much for your reply.

 I am using gcc/g++ compiler on Ubuntu 10.04, and try to generate ITK
 libraries with this IDE.

 Is there any special requirement in installing the attached file on Ubuntu
 10.04?


 Best regards,
 Sam


 On Tue, May 18, 2010 at 3:47 AM, Friedemann Kleint
 friedemann.kle...@nokia.com wrote:

 Hi,

  in order to customize editor for stl files with suffix, could you please
  tell me how to add suffix txx into c++ suffix through
  tools-options-c++-file naming conventions, or other methods?
 
  Thank you very much for your kind help.
 The attached patch should make Creator recognize the suffix as C++ source.
 What
 platform/compiler/STL implementation is that?

 Regards,
 Friedemann
 --
 Friedemann Kleint
 Nokia, Qt Development Frameworks

 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator



 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator


___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator

___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] How to add txx into c++ editor suffix

2010-05-18 Thread Sam Sun
could you please tell me what I should do with the attached file? copy into
under some directory of qt sdk or install some with it?

Thank you.

On Tue, May 18, 2010 at 3:47 AM, Friedemann Kleint 
friedemann.kle...@nokia.com wrote:

 Hi,

  in order to customize editor for stl files with suffix, could you please
  tell me how to add suffix txx into c++ suffix through
  tools-options-c++-file naming conventions, or other methods?
 
  Thank you very much for your kind help.
 The attached patch should make Creator recognize the suffix as C++ source.
 What
 platform/compiler/STL implementation is that?

 Regards,
 Friedemann
 --
 Friedemann Kleint
 Nokia, Qt Development Frameworks

 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator


___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


[Qt-creator] How to add txx into c++ editor suffix

2010-05-17 Thread Sam Sun
in order to customize editor for stl files with suffix, could you please
tell me how to add suffix txx into c++ suffix through
tools-options-c++-file naming conventions, or other methods?

Thank you very much for your kind help.
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator