[Qt-creator] Fwd: Debugging

Manoj Agrawal manoj.a at embitel.com
Wed Nov 12 12:18:33 CET 2008


Hi Eike,

Thanks for your suggestion. It worked!! The only thing is, I have to 
create a new run target, I can not change the working directory of 
existing target.

Regards,
Manoj

Eike Ziller wrote:
> Hi,
>
> On Nov 11, 2008, at 1:52 PM, ext Manoj Agrawal wrote:
>
>   
>> Hi,
>>
>> When I debug an application from with in qt-creator, it runs the
>> application from the package path
>> (Application.app/ContentsMacOs/Application). My application assumes to
>> have a few dynamic libraries and settings file on current path (where
>> app resides). If I run the application manually from finder, it works
>> fine. Hope this will be fixed in next release? Can I have some
>> workaround for now? I am unable to debug!!
>>     
>
> As a workaround you can create a custom runconfiguration in  
> "Build&Run", tab "Run Settings" and press the "+" button next to the  
> drop down box. There you have to specify the path to you executable  
> (Application.app/Contents/MacOS/Application) and can specify a working  
> directory.
>
> ++ Eike
>
>   

-- 
Manoj Agrawal

Project Lead

Embitel / dmc systems India Pvt. Ltd.
#2, Ground Floor Gamma Tower,
Whitefield Main Road,
Varthur Kodi, Bangalore – 560066

Phone: +91 80 41694214
Cell : +91 99016 11388

URL: http://www.embitel.com, http://www.collago.com




More information about the Qt-creator-old mailing list