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

Qt-interest Archive, December 2006
porting to qt4(help!!)


Message 1 in thread

I am trying to port a project form qt3.1 to qt4.2 and i'm getting no where fast. I followed the steps outlined in the documentation and i'm at the point where i'm supposed to convert the .ui files, the last time i tried wth a particular .ui file i got the follwoing messages
 
D:\trial>uic3 -convert edituserdialogbase.ui > edituserdialogbase4.uiuic3: slot `<No)' for widget `PushButtonFirst_2' of type `QPushButton' is not supported; connection may fail. Line: 360 Column: 16uic3: slot `<No)' for widget `PushButtonLast_2' of type `QPushButton' is not supported; connection may fail. Line: 366 Column: 16uic3: slot `<No)' for widget `PushButtonNext_2' of type `QPushButton' is not supported; connection may fail. Line: 372 Column: 16uic3: slot `<No)' for widget `PushButtonPrev_2' of type `QPushButton' is not supported; connection may fail. Line: 378 Column: 16uic3: enumerator 'LineEditPanel' for widget 'QLineEdit' is not supporteduic3: enumerator 'Sunken' for widget 'QLineEdit' is not supported
(this was copied straight from the command window)
 
can someone be so kind as to help me out with this.
 
Also i have have qt VS integration and i'm tryin to do all the work within vs.net 2003, not really trying to use make, so if you have a solution geared toward that it would be great. Also the source code for the project i'm trying to convert was written in vc++ 6 . The person who wrote the code used qmake to generate the .pro file and i have already added QT += qt3support. Any help you can give me with these massages would be great. right now i'm going back to try again. Thanks in advance.
_________________________________________________________________
Fixing up the home? Live Search can help.
http://imagine-windowslive.com/search/kits/default.aspx?kit=improve&locale=en-US&source=wlmemailtaglinenov06

Message 2 in thread

Hi

What I did when porting a big project was to open each dialog in qt
designer version 4 and then save as to save it in qt4 'format'. You
will need the qt3support libs until you replace all qt3 controls on
your dialogs.


Hope that helps

Regards

Tim

On 12/26/06, keith burke <jrkeith95@xxxxxxxxxxx> wrote:
>
> I am trying to port a project form qt3.1 to qt4.2 and i'm getting no where
> fast. I followed the steps outlined in the documentation and i'm at the
> point where i'm supposed to convert the .ui files, the last time i tried wth
> a particular .ui file i got the follwoing messages
>
>
> D:\trial>uic3 -convert edituserdialogbase.ui > edituserdialogbase4.ui
> uic3: slot `<No)' for widget `PushButtonFirst_2' of type `QPushButton' is
> not su
> pported; connection may fail. Line: 360 Column: 16
> uic3: slot `<No)' for widget `PushButtonLast_2' of type `QPushButton' is not
> sup
> ported; connection may fail. Line: 366 Column: 16
> uic3: slot `<No)' for widget `PushButtonNext_2' of type `QPushButton' is not
> sup
> ported; connection may fail. Line: 372 Column: 16
> uic3: slot `<No)' for widget `PushButtonPrev_2' of type `QPushButton' is not
> sup
> ported; connection may fail. Line: 378 Column: 16
> uic3: enumerator 'LineEditPanel' for widget 'QLineEdit' is not supported
> uic3: enumerator 'Sunken' for widget 'QLineEdit' is not supported
>
>  (this was copied straight from the command window)
>
>  can someone be so kind as to help me out with this.
>
>  Also i have have qt VS integration and i'm tryin to do all the work within
> vs.net 2003, not really trying to use make, so if you have a solution geared
> toward that it would be great. Also the source code for the project i'm
> trying to convert was written in vc++ 6 . The person who wrote the code used
> qmake to generate the .pro file and i have already added QT += qt3support.
> Any help you can give me with these massages would be great. right now i'm
> going back to try again. Thanks in advance.
>
> ________________________________
> View Athletes' Collections with Live Search. See it!


-- 
 [ signature omitted ]