Re: [Qt-creator] mac osx snow leopard custom debug hotkeys
On Nov 9, 2010, at 7:38 AM, ext Paulo Silva wrote: Hi, I was trying to change the hotkey for start Debug command. By default on mac we get command+Y. If I change this to for example F5, it works the first time I launch it, but when I try to launch it again the hotkey changes automatically to the default value. This only seems to happen with this particular command, as I was able to remap the steps * to the linux default mapping. And these seem to stay. I'm using the daily build from 20/10/2010. Can you please create a bugreport on bugreports.qt.nokia.com for this? Thanks, Eike ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Extend Qt-creator to recognize source file extension .xc
On 11/9/2010 8:57 AM, ext André Hartmann wrote: Hi, first of all, I like to thank all for this great piece of software. I'm currently using Qt-creator 2.1 Beta on Windows and it works like a charm. We use Qt-creator for Qt development (of course) but also for microcontroller projects. We have a C compiler for a special coprocessor (Freescale XGate), which usese the extension .xc for it's source files. The source itself is pure C. I see that there is already a list of different extensions that are recognized as C/C++ source files, is there a easy way to extend this list to the .xc extension? Hi André. As you have probably seen, the extensions Creator recognizes as C or C++ code are specified in the file src/plugins/cppeditor/CppEditor.mimetypes.xml. However, this file is embedded as a resource. So you would have to recompile. Concerning about whether or not this extension should be included by default in Creator I was wondering... Is this really because of the compiler or just some project convention? Just by curiosity I took a look at this Freescale XGate compiler manual I found on the Internet (http://cache.freescale.com/files/soft_dev_tools/doc/ref_manual/CW_Compiler_XGATE_RM.pdf - naturally, not sure if it's exactly your case) and it actually suggests that source files should have .c as an extension. Regards, Leandro. -- Leandro T. C. Melo Software Engineer Nokia, Qt Development Frameworks Nokia gate5 GmbH Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443B Umsatzsteueridentifikationsnummer: DE 812 845 193 Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Extend Qt-creator to recognize source file extension .xc
Hi Leandro, thanks for your answer and pointing me to the XML file. I just tested this with a 2.0.1 creator and it seems to work. I will try to compile the current Beta next time, but I had some trouble with it last (maybe Qt / QtCreator version problems). To be honest, me and my colleague both don't really know where the extension .xc comes from, maybe one of the first examples we got used this convention and we never changed it :) But for us the file extension is an easy way to map the files to the appropriate compiler (S12X CPU or XGate coprocessor) in our Makefile. The funny thing is, that Freescale itself uses the extension .cxgate in examples for their Codewarrior compiler (we use http://cosmic-software.com) If the XML file wouldn't be embedded, one could easily adopt it without recompiling. Is it worth to add this on the wishlist in your bug tracker? Anyway, thanks for your time, Bye Andre ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Extend Qt-creator to recognize source file extension .xc
If the XML file wouldn't be embedded, one could easily adopt it without recompiling. Is it worth to add this on the wishlist in your bug tracker? Better, I think, would be to have a second XML file (in /usr/share or something) in the same format that would get parsed after the one in the resources, to allow a comfortable set of defaults while allowing user customizability. /s/ Adam ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Extend Qt-creator to recognize source file extension .xc
On 11/9/2010 3:38 PM, ext Cristian Tibirna wrote: On Tuesday 09 November 2010 09:24:12 Coda Highland wrote: If the XML file wouldn't be embedded, one could easily adopt it without recompiling. Is it worth to add this on the wishlist in your bug tracker? Better, I think, would be to have a second XML file (in /usr/share or something) in the same format that would get parsed after the one in the resources, to allow a comfortable set of defaults while allowing user customizability. What I intend to do (perhaps come winter vacations) is a customization GUI tab in the C++ item of the Options dialog (with saving in the QtCreator user's settings). (Yes, I also have to compose with a legacy project that decided to use .icc as an extension for files containing inline and template definitions) Yes, I guess we can make things a bit more flexible there. And to make such customizations actually dynamic some improvements in Creator's MIME database would also be required. Regards, Leandro. -- Leandro T. C. Melo Software Engineer Nokia, Qt Development Frameworks Nokia gate5 GmbH Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443B Umsatzsteueridentifikationsnummer: DE 812 845 193 Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator