Results 1 to 2 of 2

Thread: Q3listbox and qdevelop

  1. #1
    Join Date
    Oct 2008
    Posts
    1
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Q3listbox and qdevelop

    Hi,

    I'm trying to bring my app from qt3 to qt4 but I want to use q3listbox. When I put a q3listbox in qdevelop I have this error:

    Error in qdevelopmainwindowimpl.cpp.text._ZN13Ui_MainWindow7setupUiEP11QMainWindow[Ui_MainWindow::setupUi(QMainWindow*)]+0x126): undefined reference to `Q3ListBox::Q3ListBox(QWidget*, char const*, QFlags<Qt::WindowType>)' collect2: ld devolvió el estado de salida 1 make: *** [bin/qt4prueba] Error 1

    Do you know what can I do?

    Thanks,

    PD: I have installed all qt3,qt4 libraries and support libraries and I import them when it's necessary.

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Q3listbox and qdevelop

    Add following line to the .pro file:
    Qt Code:
    1. QT += qt3support
    To copy to clipboard, switch view to plain text mode 
    J-P Nurmi

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.