Re: [Qt-creator] cin doesn't work on Linux

2010-03-29 Thread Marius Cirsta
 OK I checked the run in terminal option and now it works. This was in no
way obvious though and the run in terminal option is a bit hidden away.

 Maybe activate the run in terminal automatically when creating a console
project , making the application output accept input ( or show a one liner
warning that it doesn't ) or just making the run in console option easier to
find ( a search for the settings would be nice especially as more and more
configuration options are available.

 Anyway thanks to all for your help.

On Mon, Mar 29, 2010 at 10:51 AM, Eike Ziller  wrote:

> Hi,
>
> did you check the "Run in Terminal" option in your application's run
> configuration?
> The standard "Application Output" pane that is integrated into Qt Creator
> is no real console emulation,
> so to get your app run in a real terminal (as specified in the
> Environment|General preferences) you need to check it.
>
> ++ Eike
>
> On Mar 28, 2010, at 11:35 PM, ext Marius Cirsta wrote:
>
> >  Thanks for your answers. I should have posted the code I'm using when
> trying this. It's now attached to this mail. As you can see I'm using
> standard c++ code an not anything Qt related. I of course used std:: and all
> that stuff. My problem is that when trying to input something everything
> just hangs. I write something then press ENTER then I write something again
> then press ENTER again but it just doesn't work , the input is not accepted
> and the program doesn't move one no matter what I do.  Using Muhammad Bashir
> Al-Noimi's code I get the same thing. Nothing after cin is executed no
> matter what I do.
> >  If this code works for you under Linux I'm guessing it might just be a
> bug and I should report it as such. I might be something related to the
> xterm -e that's mentioned under Environment, General  ( Options ) . Can you
> take a look and see what setting you have there.
> >  I'm using a less known distribution , Frugalware and Qt is version 4.6.2
> ( the same version was used to compile Qt Creator from source code )  on a
> 32 bit environment.
> >
> > On Sun, Mar 28, 2010 at 2:14 PM, Marius Cirsta 
> wrote:
> >  I just wrote a simple program to use std::cin under Linux and I can't
> get it to work with Qt Creator 1.3.1. I get the application output but it
> doesn't recognize the ENTER key and so doesn't accept the input value that I
> type. My terminal is set the xterm -e unde Environment, General.
> >
> >  Any solutions to this ?
> >
> > 
>
> --
> 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
>
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


[Qt-creator] Building recent Qt Creator ...

2010-03-29 Thread André Pönitz

Just a heads-up for the people building Qt Creator from source:

Building recent Qt Creator "master" branch requires a recent Qt from the 
"4.7" branch. There's a new function in QWizard that Creator likes to use.

Andre'

PS: Don't drink too much coffee ;-)

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


Re: [Qt-creator] Create a Mac library bundle

2010-03-29 Thread Murphy, Sean M.
Is your Qt project and application or a shared library?  The .pro lines
you've put below are trying to turn your whole project into a library
(or framework), when I suspect you are trying to create an application
bundle with your library (and maybe the Qt libraries?) embedded inside?

 

Sean

 

From: qt-creator-boun...@trolltech.com
[mailto:qt-creator-boun...@trolltech.com] On Behalf Of Jim Watters
Sent: Friday, March 26, 2010 8:11 PM
To: qt-creator@trolltech.com
Subject: [Qt-creator] Create a Mac library bundle

 

I am new to developing on the Mac.
I have a Qt Project that works on Windows and Linux.
I am attempting to create an Xcode project file from the .pro file that
will create a bundle with a library in it.
The bundle needs to be laid out like this.
http://developer.apple.com/mac/library/technotes/tn2002/tn2088.html#TAN1
0

I have reviewed the instructions here 
http://doc.trolltech.com/4.3/qmake-platform-notes.html#creating-library-
bundles
I have tried modifying the .pro file adding 
TEMPLATE = lib
CONFIG += lib_bundle plugin x86 ppc
QMAKE_BUNDLE_EXTENSION = .ds

and calling 
qmake -spec macx-xcode

But the project creates a Framework instead of a bundle.
Attempts to modify the settings of the Xcode target does not convert it
to a proper bundle.

Any ideas of what I am doing wrong or a list of the right steps to take?

 

Regards,
Jim Watters

j...@jflinc.com

 

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


Re: [Qt-creator] cin doesn't work on Linux

2010-03-29 Thread M. Bashir Al-Noimi

Hi,

On 28/03/2010 11:35 م, Marius Cirsta wrote:
 Thanks for your answers. I should have posted the code I'm using when 
trying this. It's now attached to this mail. As you can see I'm using 
standard c++ code an not anything Qt related. I of course used std:: 
and all that stuff. My problem is that when trying to input something 
everything just hangs. I write something then press ENTER then I write 
something again then press ENTER again but it just doesn't work , the 
input is not accepted and the program doesn't move one no matter what 
I do.  Using Muhammad Bashir Al-Noimi's code I get the same thing. 
Nothing after cin is executed no matter what I do.

I've tested you code, everything was OK i didn't find anything incorrect!
I think this problem related to configurations of your system, so I 
prefer to test any application in terminal mode to see if this problem 
will repeat or not.


 If this code works for you under Linux I'm guessing it might just be 
a bug and I should report it as such. I might be something related to 
the xterm -e that's mentioned under Environment, General  ( Options ) 
. Can you take a look and see what setting you have there.
 I'm using a less known distribution , Frugalware and Qt is version 
4.6.2 ( the same version was used to compile Qt Creator from source 
code )  on a 32 bit environment.
   
On Sun, Mar 28, 2010 at 2:14 PM, Marius Cirsta > wrote:


 I just wrote a simple program to use std::cin under Linux and I
can't get it to work with Qt Creator 1.3.1. I get the application
output but it doesn't recognize the ENTER key and so doesn't
accept the input value that I type. My terminal is set the xterm
-e unde Environment, General.

 Any solutions to this ?



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


--
Best Regards
Muhammad Bashir Al-Noimi
My Blog: http://mbnoimi.net

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


Re: [Qt-creator] Creator stability

2010-03-29 Thread Eike Ziller

On Mar 29, 2010, at 1:55 AM, King Bill (Nokia-D-Qt/Brisbane) wrote:

> On 03/26/2010 07:18 PM, Ziller Eike (Nokia-D-Qt/Berlin) wrote:
>> 
>> Well, except that we don't have windows binary builds for for various 
>> reasons at the moment, we have nightly binary builds of Qt Creator master on 
>> top of Qt 4.7 (or before a release the release branches), which you could 
>> use to find the last working thing for you. (Of course you should still bug 
>> us about issues you find, increasing the chances that it will be fixed in a 
>> timely manner.)
>> ftp://ftp.qt.nokia.com/qtcreator/snapshots
>> 
>> The known quality of the binary snapshots is obviously that it had minimal 
>> build testing ;)
>> 
> Maybe put this link up on the gitorious page, I (for one) was very
> unaware of the snapshots directory.

You can find this information and lots of other useful things under the 
gitorious Qt Creator Wiki link:
http://qt.gitorious.org/qt-creator/pages/Home

I now put a link to that page also in the project description, perhaps that 
helps people find it.

-- 
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] cin doesn't work on Linux

2010-03-29 Thread Eike Ziller
Hi,

did you check the "Run in Terminal" option in your application's run 
configuration?
The standard "Application Output" pane that is integrated into Qt Creator is no 
real console emulation,
so to get your app run in a real terminal (as specified in the 
Environment|General preferences) you need to check it.

++ Eike

On Mar 28, 2010, at 11:35 PM, ext Marius Cirsta wrote:

>  Thanks for your answers. I should have posted the code I'm using when trying 
> this. It's now attached to this mail. As you can see I'm using standard c++ 
> code an not anything Qt related. I of course used std:: and all that stuff. 
> My problem is that when trying to input something everything just hangs. I 
> write something then press ENTER then I write something again then press 
> ENTER again but it just doesn't work , the input is not accepted and the 
> program doesn't move one no matter what I do.  Using Muhammad Bashir 
> Al-Noimi's code I get the same thing. Nothing after cin is executed no matter 
> what I do.
>  If this code works for you under Linux I'm guessing it might just be a bug 
> and I should report it as such. I might be something related to the xterm -e 
> that's mentioned under Environment, General  ( Options ) . Can you take a 
> look and see what setting you have there.
>  I'm using a less known distribution , Frugalware and Qt is version 4.6.2 ( 
> the same version was used to compile Qt Creator from source code )  on a 32 
> bit environment. 
> 
> On Sun, Mar 28, 2010 at 2:14 PM, Marius Cirsta  wrote:
>  I just wrote a simple program to use std::cin under Linux and I can't get it 
> to work with Qt Creator 1.3.1. I get the application output but it doesn't 
> recognize the ENTER key and so doesn't accept the input value that I type. My 
> terminal is set the xterm -e unde Environment, General.
>  
>  Any solutions to this ?
> 
> 

-- 
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


[Qt-creator] Custom Build Step Problem

2010-03-29 Thread Malek Boughattas
Hello
This question has been previously
askedon
this mail list, but without any satisfying answer.

I cant find a way to provide a relative path to the build executable in Qt
Creator.
Using variables is rejected by Qt Creator.
The only way is to enter an absolute path, which is a problem in a
collective project.

I'm not sure if I need to open a bug ticket for Qt Creator, or if I have to
search more.
Tested version: 1.3.1
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


[Qt-creator] Download Error

2010-03-29 Thread mehul jajal
Dear sir,
 
I am try to download Qt 4.7 and Creator 2.0 but not able to download it . Is it 
a problem with the site or need a fast internet connection?
 
Thanks for the reply.

Jajal Mehul,
Faculty of Electronics & communication Department,
Shantilal Shah Engineering College,
Sidsar campus,
Bhavnagar.


  The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. 
http://in.yahoo.com/___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator