Re: [Qt-creator] Add new project templates
Hello all, As far as I know is there someone out there who is allredy programming a support for custom templates. It's about3 or 4 months that he asked for ideas in this list. I don't know how far this project is. It's just for info... Have a nice day, Marc -Ursprüngliche Nachricht- Von: fungos [mailto:fun...@gmail.com] Gesendet: Mittwoch, 23. Dezember 2009 00:50 An: qt-creator@trolltech.com Betreff: Re: [Qt-creator] Add new project templates I would like to be able to create templates, mainly if they can have a directory structure by they own. We have internal projects that must obey some guidelines like src and include in different directories, project files in another and data files in another, etc.. This would be great :) On Sun, Dec 20, 2009 at 7:48 AM, Florian Schwehn wrote: > i do agree too! i also think of class templates and stuff like that. > from time to time i'd really like to add an extra class template > besides from QObject or QWidget. it can help speed up your workflow if > you're deriving classes from abstract ones. so all the pure virtual > functions could be preimplementet in the template. > > 2009/12/18 Porfírio Ribeiro >> >> I agree with you, i also use QtCreator for some non Qt projects! >> >> 2009/12/16 Tiago Correia >>> >>> Hi, >>> I'd like to add new templates for projects, when creating a new project. >>> How can i do this? >>> A project that is very useful for me is, for creating a simple C or >>> C++ program, that doesn't use Qt. >>> I've always to edit the pro file. If this could be done, I can see >>> Qt Creator as tool for helping novice users to program. >>> >>> -- >>> Tiago Correia >>> chief technology officer >>> >>> cnoti inovação & desenvolvimento Aprendizagem enRiquecida pela >>> Tecnologia www.cnotinfor.pt >>> Telefone: +351 239 499 231 >>> >>> Subscreva gratuitamente a nossa Newsletter BICA Boletim >>> informativo de Interactividade, Comunicação e Aprendizagem >>> >>> >>> ___ >>> Qt-creator mailing list >>> Qt-creator@trolltech.com >>> http://lists.trolltech.com/mailman/listinfo/qt-creator >>> >> >> >> >> -- >> Porfirio Ribeiro >> >> ___ >> 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 > > -- Animal Liberation Front http://www.animal-liberation.com/ ___ 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] Columns size Locals adn Watchers
Thanks, that solve my problem. But there is a limit of the number of characters that appear for a QString variable. This is not very nice. How to set to show more? On Wed, Jan 6, 2010 at 3:32 PM, Lindeijer Thorbjorn (Nokia-D-Qt/Berlin) < thorbjorn.lindei...@nokia.com> wrote: > On 01/06/2010 04:13 PM, ext Tiago Correia wrote: > > Hi, > > > > I'm not able to resize the columns from the Local and Watchers tab. In > Breakpoitns, Debugger and Thread it is possible. > > > > Is it a bug, or there is an hidden feature for this? > > By default the Locals & Watchers columns adapt their width to their > contents. You can disable this in its right-click menu, allowing you to > resize the columns manually. > > 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 > -- Tiago Correia chief technology officer cnoti inovação & desenvolvimento – Aprendizagem enRiquecida pela Tecnologia www.cnotinfor.pt Telefone: +351 239 499 231 Subscreva gratuitamente a nossa Newsletter BICA – Boletim informativo de Interactividade, Comunicação e Aprendizagem ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Intel Compiler and C++0x?
On Jan 6, 2010, at 4:45 PM, ext Coda Highland wrote: > No, I mean your chosen Qt mkspec. The default is usually something > like linux-g++ or macx-g++ or win32-msvc or something; there's also > linux-icc, macx-icc, and win32-icc that will use icc as the C/C++ > compiler. I will note that these aren't "officially" supported as far > as I know so you're sort of operating at your own risk. > > Unfortunately I don't know how to select a different makespec in > Creator You can do it in Qt Creator by passing "-spec yourspecialmkspec" as "additional arguments" to the qmake spec in your project's build configuration(s). That will override the default. The binary compatibility comment below still holds of course. > (though if you poke around in the Qt Versions preferences pane > or the Project view you can see the makespec it's using). It should > work, though, if you build Qt using that spec as default (that is, > pass "-spec macx-icc" to Qt's configure). Building your Qt project at > the command line you can try "qmake -spec macx-icc" -- do note that > I'm not sure that icc and gcc are binary-compatible so this may or may > not work with a standard Qt build. > > /s/ Adam > > On Wed, Jan 6, 2010 at 9:05 AM, Danny Price > wrote: >> makespec? Do you mean a compiler flag? Do you know the flags in question? >> >> On Wed, Jan 6, 2010 at 2:49 PM, Coda Highland wrote: >>> >>> On Wed, Jan 6, 2010 at 3:55 AM, Danny Price >>> wrote: I would like to make use of C++0x in Creator. Is it possible to use Creator with the Intel compiler (available as a 'plugin' for MSVC 2008) and if so how? This makes available C++0x syntax like 'auto' to MSVC? And what options exist for the OSX platform where the default toolset is Apple's GCC 4.2? >>> >>> It's possible by setting the appropriate makespec. Creator won't >>> syntax highlight C++0x constructions and may flag some as errors, but >>> if your compiler has support it will build. >>> >>> /s/ Adam >>> ___ >>> 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 -- Eike Ziller Software Engineer Nokia, Qt Development Frameworks 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 ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Intel Compiler and C++0x?
No, I mean your chosen Qt mkspec. The default is usually something like linux-g++ or macx-g++ or win32-msvc or something; there's also linux-icc, macx-icc, and win32-icc that will use icc as the C/C++ compiler. I will note that these aren't "officially" supported as far as I know so you're sort of operating at your own risk. Unfortunately I don't know how to select a different makespec in Creator (though if you poke around in the Qt Versions preferences pane or the Project view you can see the makespec it's using). It should work, though, if you build Qt using that spec as default (that is, pass "-spec macx-icc" to Qt's configure). Building your Qt project at the command line you can try "qmake -spec macx-icc" -- do note that I'm not sure that icc and gcc are binary-compatible so this may or may not work with a standard Qt build. /s/ Adam On Wed, Jan 6, 2010 at 9:05 AM, Danny Price wrote: > makespec? Do you mean a compiler flag? Do you know the flags in question? > > On Wed, Jan 6, 2010 at 2:49 PM, Coda Highland wrote: >> >> On Wed, Jan 6, 2010 at 3:55 AM, Danny Price >> wrote: >> > I would like to make use of C++0x in Creator. >> > >> > Is it possible to use Creator with the Intel compiler (available as a >> > 'plugin' for MSVC 2008) and if so how? This makes available C++0x syntax >> > like 'auto' to MSVC? >> > >> > And what options exist for the OSX platform where the default toolset is >> > Apple's GCC 4.2? >> >> It's possible by setting the appropriate makespec. Creator won't >> syntax highlight C++0x constructions and may flag some as errors, but >> if your compiler has support it will build. >> >> /s/ Adam >> ___ >> 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] Columns size Locals adn Watchers
On 01/06/2010 04:13 PM, ext Tiago Correia wrote: > Hi, > > I'm not able to resize the columns from the Local and Watchers tab. In > Breakpoitns, Debugger and Thread it is possible. > > Is it a bug, or there is an hidden feature for this? By default the Locals & Watchers columns adapt their width to their contents. You can disable this in its right-click menu, allowing you to resize the columns manually. 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] Columns size Locals adn Watchers
On Wednesday 06 January 2010 16:13:20 ext Tiago Correia wrote: > Hi, > > I'm not able to resize the columns from the Local and Watchers tab. In > Breakpoitns, Debugger and Thread it is possible. > > Is it a bug, or there is an hidden feature for this? Check the context menu for 'Always adjust column width to contents'. Andre' ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
[Qt-creator] Columns size Locals adn Watchers
Hi, I'm not able to resize the columns from the Local and Watchers tab. In Breakpoitns, Debugger and Thread it is possible. Is it a bug, or there is an hidden feature for this? -- Tiago Correia chief technology officer cnoti inovação & desenvolvimento – Aprendizagem enRiquecida pela Tecnologia www.cnotinfor.pt Telefone: +351 239 499 231 Subscreva gratuitamente a nossa Newsletter BICA – Boletim informativo de Interactividade, Comunicação e Aprendizagem ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
[Qt-creator] [Crash] QtCreator crashes when parsing CMake-based projects
Hello guys, I'm running qtcreator 1.3 and I noticed an awful crash everytime i try to load a CMake-based project, this happens during scanning/indexing process. Below I attached the backtrace, I hope it will be useful: http://pastebin.com/m900b2b7 You did an awesome work by the way ;) Cheers Diego. ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Intel Compiler and C++0x?
makespec? Do you mean a compiler flag? Do you know the flags in question? On Wed, Jan 6, 2010 at 2:49 PM, Coda Highland wrote: > On Wed, Jan 6, 2010 at 3:55 AM, Danny Price > wrote: > > I would like to make use of C++0x in Creator. > > > > Is it possible to use Creator with the Intel compiler (available as a > > 'plugin' for MSVC 2008) and if so how? This makes available C++0x syntax > > like 'auto' to MSVC? > > > > And what options exist for the OSX platform where the default toolset is > > Apple's GCC 4.2? > > It's possible by setting the appropriate makespec. Creator won't > syntax highlight C++0x constructions and may flag some as errors, but > if your compiler has support it will build. > > /s/ Adam > ___ > 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] Intel Compiler and C++0x?
On Wed, Jan 6, 2010 at 3:55 AM, Danny Price wrote: > I would like to make use of C++0x in Creator. > > Is it possible to use Creator with the Intel compiler (available as a > 'plugin' for MSVC 2008) and if so how? This makes available C++0x syntax > like 'auto' to MSVC? > > And what options exist for the OSX platform where the default toolset is > Apple's GCC 4.2? It's possible by setting the appropriate makespec. Creator won't syntax highlight C++0x constructions and may flag some as errors, but if your compiler has support it will build. /s/ Adam ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] SIGNAL-completion in qtcreator-1.3.80 for QState
On 12/21/2009 01:49 PM, ext Wilhelm Meier wrote: > Hi, > > if I try to use the code-completion for the signal entered(), e.g. > >QObject::connect(off, SIGNAL(entered()), a, SLOT(foo())); > > the qtcreator doesn't list the entered() signal for completion. Other > signals (e.g. finished()) are listed. > > What's wrong here? This is because of a workaround used in qabstractstate.h, which goes like this: Q_SIGNALS: #if !defined(Q_MOC_RUN) && !defined(qdoc) private: // can only be emitted by QAbstractState #endif void entered(); void exited(); It makes moc and qdoc see 'entered' and 'exited' as signals, while the compiler (and Qt Creator) will see them as private methods. This is probably quite tricky to work around, since we can't generally have Qt Creator pretend to be moc or qdoc when parsing the code. 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
[Qt-creator] Better support for generic makefile-projects
Hi, are there any plans or community-activities to provide a better support for generic makefile projects: e.g. a special makefile-plugin for automatical makefile generation/update or a special makefile-editor? Regards, -- Wilhelm ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Double templates in function declaration
On 12/16/2009 01:54 PM, ext Eirik Ulvik wrote: > Found this small bug. I have a function that takes arguments with double > templates. I declare it in the .h file. When I then want to write the > implementation QtCreator pops up with the function signature for > autocompletion. The problem with the autocomplete is that the space > between the two last ">" signs is removed creating invalid code. > > A small example to reproduce would be. > > FooBar.h > class A{ > void foo(QVector > &bar); > }; > > Using the autocomplete of the function arguments in the implementation > will yield: > > void A::foo(QVector> &bar); > > Do not know if this is a known issue ie. registred in the bugtracker. Thanks for the report. This was not a known issue as far as I know, so I've created the following task in our bugtracker: http://bugreports.qt.nokia.com/browse/QTCREATORBUG-547 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] Can we add registers to the Watchers?
On Wednesday 06 January 2010 09:48:36 ext Paulo Silva wrote: > Hi, > > can we add registers to the Watchers to interpret what is in the register? > For example, my function returns an pointer to a class, I would like to > inspect the class returned in the register, not just its address. > > So, is it possible to do something similar to "(SomeClass*)eax"? *(Foo*)$eax > Or even better, is it possible to have qt-creator do that automagically for > each function return type? No. Andre' ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Editing widget rendering problems
On Jan 4, 2010, at 7:21 AM, ext Oleg Shalnev wrote: > Hello all! Hi, > It's really strange that nobody can reproduce the problem I'd told about. I see that you have collapsed the license comment at the top, we encountered drawing issues in this case (I think that has been fixed in Qt Creator master or in Qt 4.6). ++ Eike > 2009/12/25 Oleg Shalnev > http://www.youtube.com/watch?v=DRm21nZoJHw > This is the video with error demonstration. If somebody needs more quality > I'll resend. > > 2009/12/25 Oleg Shalnev > > Good day. And some words more about this problem. > I bisected source from stable 1.3.0 and (I hope) can focus where the problem > was manifested for the first time. > git bisect good > Bisecting: 233 revisions left to test after this (roughly 8 steps) > [ecb0df0cb5dd37c8d82c609ea5735479263c54f4] debugger: work on "watchers" for > use with new dumpers > Here editor is working good. > > Next step > git bisect good > Bisecting: 116 revisions left to test after this (roughly 7 steps) > > [ad08f1971162e7120723108d9d38e15a374a7eef] Remove some unused code in the pro > parsing / pro editing. > > Has problems with editor on my linux system. > I am sure that it's not the problem of X11 or other video buffer problems. > The problem between ecb0df0cb5dd37c8d82c609ea5735479263c54f4 > ad08f1971162e7120723108d9d38e15a374a7eef > > Also I have a screencast (19M) to show the problem. Can I send the screencast > file here? > > > 2009/12/22 Oleg Shalnev > > > > 2009/12/22 Tamás Kiss > > Do you use Compiz or any other 3D-based effects (such as KDE4 hardware > No I don't use compiz and kde4 gui effects. > I'll continue my investigations. > > accelerated window effects)? Sometimes these have problems with > locating and reporting the invalidated window areas to the X server. > This does not mean that the contents in your windows or files are > actually corrupted, only the X server doesn't know that those window > areas need redrawing. If you let it know by scrolling or minimizing > and maximizing the window in question, then the window is redrawn > properly. This problem is not related to a specific application, I > even see it with Firefox, gedit and OpenOffice sometimes. > > -- > Kiss Tamás > > 2009/12/21 Oleg Shalnev : > > > > > > 2009/12/21 Alan Westbrook > >> > >> It sounds like you have some video buffer corruption, try restarting your > >> windowing system. > >> I haven't used Linux in a while, but it used to be that you could just log > >> out and log back in to do this. > > > > I have no video buffer corruption with QtCreator - 8f586ce. > > That why am am using stable 1.3.0 > > > > > >> Is that still true? > >> Alan > >> > >> On Sun, Dec 20, 2009 at 11:10 PM, Oleg Shalnev > >> wrote: > >>> > >>> Good day. > >>> > >>> After delete couple of lines and moving cursor, editor widget display > >>> some garbage instead of correct code. > >>> I hope I am not one who can see it. > >>> > >>> Linux 2.6.31-gentoo-r6 #1 SMP > >>> QtCreator - f229a76 > >>> > >>> -- > >>> Oleg Shalnev (Kalpa Project) > >>> -- > >>> mailto: o...@kalpa.ru > >>> skype: oleg_shalnev > >>> jabber: oleg.shal...@gmail.com > >>> http://kalpa.ru > >>> > >>> ___ > >>> 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 > >> > > > > > > > > -- > > Oleg Shalnev (Kalpa Project) > > -- > > mailto: o...@kalpa.ru > > skype: oleg_shalnev > > jabber: oleg.shal...@gmail.com > > http://kalpa.ru > > > > ___ > > 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 > > > > -- > Oleg Shalnev (Kalpa Project) > -- > mailto: o...@kalpa.ru > skype: oleg_shalnev > jabber: oleg.shal...@gmail.com > http://kalpa.ru > > > > -- > Oleg Shalnev (Kalpa Project) > -- > mailto: o...@kalpa.ru > skype: oleg_shalnev > jabber: oleg.shal...@gmail.com > http://kalpa.ru > > > > -- > Oleg Shalnev (Kalpa Project) > -- > mailto: o...@kalpa.ru > skype: oleg_shalnev > jabber: oleg.shal...@gmail.com > http://kalpa.ru > > > > -- > Oleg Shalnev (Kalpa Project) > --
[Qt-creator] Intel Compiler and C++0x?
I would like to make use of C++0x in Creator. Is it possible to use Creator with the Intel compiler (available as a 'plugin' for MSVC 2008) and if so how? This makes available C++0x syntax like 'auto' to MSVC? And what options exist for the OSX platform where the default toolset is Apple's GCC 4.2? ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
[Qt-creator] Can we add registers to the Watchers?
Hi, can we add registers to the Watchers to interpret what is in the register? For example, my function returns an pointer to a class, I would like to inspect the class returned in the register, not just its address. So, is it possible to do something similar to "(SomeClass*)eax"? Or even better, is it possible to have qt-creator do that automagically for each function return type? Thank you, Paulo PS: this is not new, visual c++ 6.0 had this functionality back in 1997 or 98 if I can remember correctly. ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator