Hi all, 
I have one query to ask... 

In the "start" and "detachprocess" function of QProcess process name which 
contains space is not getting executed it treats the space in the process name 
as the end of the String. 
Do any one has any idea about it...: 
I am not passing the value of the Process means the ProcessName statically its 
daynamically. 

Waiting for the replay, 
Hardik 

----- Original Message ----- 
From: "Leandro T. C. Melo" <[email protected]> 
To: [email protected] 
Sent: Thursday, July 14, 2011 2:28:21 PM 
Subject: Re: [Qt-creator] QtCreator handling #ifdef blocks 

On 7/13/2011 11:20 PM, ext Aekold Helbrass wrote: 
> Good day All! 
> 
> Explain me please how QtCreator is handling blocks inside #ifdef. I 
> expected that current system configuration should be analyzed and 
> ifdef false blocks should be greyed out. But from time to time I see 
> different story. Take a look at qfontengine_ft.cpp from Qt source 
> code, we can see that block [1] is greyed out, and it's right. But 
> then [2] is greyed out too while I have freetype 2.4.4, and [3] is 
> greyed out too while I am sure I have FT_LCD_FILTER_H defined. So my 
> question is: is there something wrong with QtCreator or something is 
> wrong in my system? 
> 
> 
> [1]: 
> # if 0 
> ... a lot of source code here ..... 
> #endif 
> 
> [2] 
> #if (FREETYPE_MAJOR*10000 + FREETYPE_MINOR*100 + FREETYPE_PATCH)> 20103 
> if (FT_IS_SFNT(face)) { 
> FT_ULong len = *length; 
> result = FT_Load_Sfnt_Table(face, tag, 0, buffer,&len) == FT_Err_Ok; 
> *length = len; 
> } 
> #endif 
> 
> [3] 
> #if defined(FT_LCD_FILTER_H) 
> lcdFilterType = (int)((quintptr) FT_LCD_FILTER_DEFAULT); 
> #endif 
> _______________________________________________ 
> 

Hi, 

how you see the defines (greyed out or not) depend on a few things. The 
basic idea is that such information is session-based in Creator and 
shared across projects (all defines are merged together). So you might 
get some "conflicting" situations if you have, for example, more than 
one project open using different Qt versions. 

Cheers, 
Leandro 

-- 
Leandro T. C. Melo 
Software Engineer 
Nokia, Qt Development Frameworks 

Nokia gate5 GmbH 
Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany 
Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443B 
Umsatzsteueridentifikationsnummer: DE 812 845 193 
Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori 

_______________________________________________ 
Qt-creator mailing list 
[email protected] 
http://lists.qt.nokia.com/mailman/listinfo/qt-creator 

-- 
This message has been scanned for viruses and 
dangerous content by Clean Mail Gateway, and is 
believed to be clean. 

*************************************************************************************************************************************************************
 
einfochips Business Disclaimer : This e-mail message and all attachments 
transmitted with it are intended solely for the use of the addressee and may 
contain legally privileged and confidential information. If the reader of this 
message is not the intended recipient, or an employee or agent responsible for 
delivering this message to the intended recipient, you are hereby notified that 
any dissemination, distribution, copying, or other use of this message or its 
attachments is strictly prohibited. If you have received this message in error, 
please notify the sender immediately by replying to this message and please 
delete it from your computer. Any views expressed in this message are those of 
the individual sender unless otherwise stated. Company has taken enough 
precautions to prevent the spread of viruses. However the company accepts no 
liability for any damage caused by any virus transmitted by this email. 
*************************************************************************************************************************************************************
 

_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-creator

Reply via email to