Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 3

Qt-interest Archive, April 2008
qtest console output in os x?


Message 1 in thread

Hiya - I'm just trying to get set up for the first time with some unit  
tests based on qtestlib.  Everything seems to be running fine, but I  
cannot for the life of me figure out how to pipe the output of the  
test app to the Terminal in OS X.

I have qmaked my project with qmake -project "CONFIG += qt qtestlib  
console", and I can open up Console.app to see the results of the  
tests, but that's not too convenient when I'm running it all from  
Terminal.app.  Anybody have any tips on how to sort this out?  Thanks!

Liam

--
 [ signature omitted ] 

Message 2 in thread

I don't have a Windows or Linux machine to try it on at the moment,  
but I can confirm that qmake is being called CONFIG += console, and  
it's not displaying application output in Terminal.app.  Thanks for  
your input.

Liam

On Apr 14, 2008, at 12:13 AM, Massimo Manca wrote:

> Liam Staskawicz ha scritto:
>
> using eclipse on windows and linux in the pro file I add CONFIG +=  
> console
> it works for both so I hope it will work also for you
>> Hiya - I'm just trying to get set up for the first time with some  
>> unit tests based on qtestlib.  Everything seems to be running fine,  
>> but I cannot for the life of me figure out how to pipe the output  
>> of the test app to the Terminal in OS X.
>>
>> I have qmaked my project with qmake -project "CONFIG += qt qtestlib  
>> console", and I can open up Console.app to see the results of the  
>> tests, but that's not too convenient when I'm running it all from  
>> Terminal.app.  Anybody have any tips on how to sort this out?   
>> Thanks!
>>
>> Liam
>>
>> -- 
>> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx  
>> with "unsubscribe" in the subject or the body.
>> List archive and information: http://lists.trolltech.com/qt-interest/
>>
>>
>>
>
> <massimo_manca.vcf>

--
 [ signature omitted ]