Re: [Qt-creator] plain C++ project

2010-09-24 Thread André Pönitz
On Friday 24 September 2010 09:26:21 ext Matthias Pospiech wrote: > > Am 24.09.2010 08:13, schrieb André Pönitz: > >> However I experienced that without Qt debugging of a plain c++ project > >> failed. The easy solution was to readd QtCore again. > > That sounds like you were (not...) using the

Re: [Qt-creator] plain C++ project

2010-09-24 Thread Matthias Pospiech
Am 24.09.2010 08:13, schrieb André Pönitz: >> However I experienced that without Qt debugging of a plain c++ project >> failed. The easy solution was to readd QtCore again. > That sounds like you were (not...) using the compiled debugging helpers, > i.e. you are either on Mac, or more likely usin

Re: [Qt-creator] plain C++ project

2010-09-23 Thread André Pönitz
On Thursday 23 September 2010 18:05:26 ext Matthias Pospiech wrote: > > Am 23.09.2010 17:24, schrieb Coda Highland: > > The only change needed to the .pro file is "CONFIG -= qt", and > > forgetting that just means that the application LINKS to QtCore and > > QtGui -- it doesn't require you to us

Re: [Qt-creator] plain C++ project

2010-09-23 Thread Max Waterman
> > On Thu, 23 Sep 2010 08:19 -0700, "Eric Anderson" > wrote: > > What environment are you running QT in? I'm not running Qt - well, if you mean qtcreator, perhaps I am - but anyway, the class is using computers running Microsoft Windows - some virtual machine or other. I don't use Microsoft

Re: [Qt-creator] plain C++ project

2010-09-23 Thread Danny Price
Yeah that's what it wants you to think. > but for simple projects like > school assignments, it's PERFECT in its simplicity. You can't GET > simpler. > > /s/ Adam > > On Thu, Sep 23, 2010 at 5:25 AM, Max Waterman > wrote: >> I'm trying to get my university C++ course tutor to use QtCreator in

Re: [Qt-creator] plain C++ project

2010-09-23 Thread August Hörandl
Am Thursday 23 September 2010 schrieb Eric Anderson: > The Linux environment would not run in a new window and we moved on to other > projects before we were able to resolve the issue with stdin. Stdout in > linux can be seen inside QT in the program output pane. on the left pane: project find th

Re: [Qt-creator] plain C++ project

2010-09-23 Thread Matthias Pospiech
Am 23.09.2010 17:24, schrieb Coda Highland: > The only change needed to the .pro file is "CONFIG -= qt", and > forgetting that just means that the application LINKS to QtCore and > QtGui -- it doesn't require you to use any Qt classes or tools in the > source code. I have been using QtCreator in

Re: [Qt-creator] plain C++ project

2010-09-23 Thread Jeffery MacEachern
Speaking as a student myself, in my opinion if it's an introduction to C++ class (or especially a first-level programming class in general), then doing Makefiles by hand is probably too complicated (even though it is a good skill to have), but the assignments would probably not be complex enough to

Re: [Qt-creator] plain C++ project

2010-09-23 Thread Coda Highland
The only change needed to the .pro file is "CONFIG -= qt", and forgetting that just means that the application LINKS to QtCore and QtGui -- it doesn't require you to use any Qt classes or tools in the source code. You can add source files to the project using Creator itself, so there's no need to w

Re: [Qt-creator] plain C++ project

2010-09-23 Thread Eric Anderson
What environment are you running QT in? I was doing this for C++ training for my high school robotics team. A problem that we had was inconsistency between QT in a Linux environment vs QT in a windows environment with respect to stdin and stdout. The windows environment would run in a command wi

Re: [Qt-creator] plain C++ project

2010-09-23 Thread Karl Ruetz
Like I said... it depends on what is being taught. Karl On 9/23/2010 9:46 AM, Danny Price wrote: I completely disagree. C++ is complex enough without having to worry about introducing makefiles and toolchains to students, particularly non-

Re: [Qt-creator] plain C++ project

2010-09-23 Thread Danny Price
I completely disagree. C++ is complex enough without having to worry about introducing makefiles and toolchains to students, particularly non-standard, platform-specific makefiles and toolchains. On Thu, Sep 23, 2010 at 1:04 PM, Karl Ruetz wrote: > It would also depend on exactly what is being

Re: [Qt-creator] plain C++ project

2010-09-23 Thread August Hörandl
Am Thursday 23 September 2010 schrieb Max Waterman: > I'm trying to get my university C++ course tutor to use QtCreator in his > lectures rather than something which actually looks pretty aweful. > > However, because he's not teaching Qt, he needs it to support plain > boring C++. > > What's the

Re: [Qt-creator] plain C++ project

2010-09-23 Thread Karl Ruetz
It would also depend on exactly what is being taught.  If this is a level one C++ course, I would recommend editing the make file manually so the students have some basic understanding of what a makefile is and how it relates to project management.  Then you can

Re: [Qt-creator] plain C++ project

2010-09-23 Thread Max Waterman
Actually, I use qmake on some pretty big projects (with many contributors - libmeegotouch is the case in point). We/I have had some trouble with it too, but in almost all cases it is me/us not knowning how it works (or undocumented features) and it can in fact be made to do what I want. I'm sure th

Re: [Qt-creator] plain C++ project

2010-09-23 Thread Alexander 'hatred' Drozdoff
В Thu, 23 Sep 2010 12:41:52 +0100 Danny Price пишет: DP> You can do that but it means using qmake which is rather unforgiving and DP> cludgy. It's nice to have confidence in your tools. Plus it mean every DP> student would need the Qt sdk. You'd much rather spend your time DP> productively than t

Re: [Qt-creator] plain C++ project

2010-09-23 Thread Danny Price
You can do that but it means using qmake which is rather unforgiving and cludgy. It's nice to have confidence in your tools. Plus it mean every student would need the Qt sdk. You'd much rather spend your time productively than trying to figure what qmake is not linking your libraries because you go

Re: [Qt-creator] plain C++ project

2010-09-23 Thread Max Waterman
Wow. So much trouble/hassle :( I think I'd rather recommend just making a Qt Console application and editing the project file to remove 'core' from $$QT. The lecturer can then just this project to quickly 'type, compile, run' stuff, with the console output at the bottom of the page. Perhaps bigg

Re: [Qt-creator] plain C++ project

2010-09-23 Thread Danny Price
If you have the option, I would recommend CMake. It's a lot easier than crafting your own makefiles. Creator has very limited support for cmake but it's enough for trivial projects. On Thu, Sep 23, 2010 at 11:49 AM, Alexander 'hatred' Drozdoff < adrozd...@gmail.com> wrote: > В Thu, 23 Sep 2010 13

Re: [Qt-creator] plain C++ project

2010-09-23 Thread Alexander 'hatred' Drozdoff
В Thu, 23 Sep 2010 13:25:41 +0300 "Max Waterman" пишет: MW> I'm trying to get my university C++ course tutor to use QtCreator in his MW> lectures rather than something which actually looks pretty aweful. MW> MW> However, because he's not teaching Qt, he needs it to support plain MW> boring C++.

[Qt-creator] plain C++ project

2010-09-23 Thread Max Waterman
I'm trying to get my university C++ course tutor to use QtCreator in his lectures rather than something which actually looks pretty aweful. However, because he's not teaching Qt, he needs it to support plain boring C++. What's the easiest way to do this? It's not entirely obvious from the project