FYI you might be able to get around this by calling setProperty instead of 
calling the method directly.  I ran into the same issue a while back - out qt 
version was at 4.7 but the pyqt bindings didn't include that method.

Sent from my iPhone

On Aug 23, 2013, at 1:51 AM, Arjun Thekkummadathil <[email protected]> wrote:

> cool thanks a lot... i will get the new correct version :)
> 
> 
> On Fri, Aug 23, 2013 at 2:11 PM, Justin Israel <[email protected]> wrote:
>> Well then you must be using Qt 4.7. QLineEdit has had the placeholderText 
>> since Qt 4.7:
>> http://harmattan-dev.nokia.com/docs/platform-api-reference/xml/daily-docs/libqt4/qlineedit.html#placeholderText-prop
>> 
>> Unless somehow you are using an older Qt4.5, such as upgrading Maya 2011 -> 
>> 2012 and not changing the PyQt build.
>> 
>> 
>> On Aug 23, 2013, at 8:30 PM, Kurian O.S wrote:
>> 
>>> Its pyqt version issue. Just google it you will get the answer. 
>>> 
>>> On Friday, August 23, 2013, Justin Israel wrote:
>>>> Sorry. Was late on the updates. Maya 2012.
>>>> 
>>>> On Aug 23, 2013 8:27 PM, "Justin Israel" <[email protected]> wrote:
>>>>> What version of maya/pyqt4?
>>>>> On Aug 23, 2013 8:01 PM, "Arjun Thekkummadathil" <[email protected]> 
>>>>> wrote:
>>>>>> Hi
>>>>>>    am trying to make a UI for a small tool i developed and i use PyQt 
>>>>>> and i use a Input Widget called QLineEdit and use a feature for that 
>>>>>> called placeHoldetText to put up a temp text in my text field.
>>>>>> 
>>>>>> This tool works fine if i open it standalone. But when i open from maya 
>>>>>> interface it gives me a Attribute Error that 'QLineEdit' object has no 
>>>>>> attribute 'setPlaceholderText' 
>>>>>> 
>>>>>> Now is this bcoz am doing something wrong or this feature is not 
>>>>>> supported in maya
>>>>>> 
>>>>>> -- 
>>>>>> You received this message because you are subscribed to the Google 
>>>>>> Groups "Python Programming for Autodesk Maya" group.
>>>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>>>> an email to [email protected].
>>>>>> To post to this group, send email to [email protected].
>>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>> 
>>>> 
>>>> -- 
>>>> You received this message because you are subscribed to the Google Groups 
>>>> "Python Programming for Autodesk Maya" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>>> email to [email protected].
>>>> To post to this group, send email to [email protected].
>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>> 
>>> 
>>> -- 
>>> --:: Kurian ::--
>>> 
>>> 
>>> -- 
>>> You received this message because you are subscribed to the Google Groups 
>>> "Python Programming for Autodesk Maya" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>> email to [email protected].
>>> To post to this group, send email to [email protected].
>>> For more options, visit https://groups.google.com/groups/opt_out.
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Python Programming for Autodesk Maya" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> For more options, visit https://groups.google.com/groups/opt_out.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to