Results 1 to 4 of 4

Thread: Qt Creator/designer not showing QVTK widget in UBUNTU

  1. #1
    Join Date
    Aug 2015
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Qt Creator/designer not showing QVTK widget in UBUNTU

    I'm working on a freshly-installed Ubuntu 14.04.3 system, and I've used the synaptic package manager to install qt4-designer, qtcreator, libvtk5.8-qt4, libvtk5.8 libvtk5-qt4-dev, and libvtk5-dev, as well as anything else snyaptic deemed to be necessary prerequisites. Nothing was git-ted, downloaded, or make-ed, I just used what was in the standard repositories.

    Selecting the designer from qtcreator to edit the 'Form', I have the usual assortment of containers and layouts and things, but I do not have a QVTKWidget. Even though everything I've read says that it should be there, it's not. I've copied the /usr/lib/qt4/plugins/designer/libQVTKWidgetPlugin.so file that libvtk5-qt4-dev installs to every directory I've found that people recommend copying it to, but I still don't have a QVTKWidget in creator.

    I know this *should* work, since I had a QVTKWidget in creator when I was running Ubuntu 12.04. It disappeared after I upgraded to Ubuntu 14.04, never to return. I have a .ui file that was created in 12.04 that contains a QVTKWidget object, and I can clean and remake the project, and everything compiles, links, and runs just fine, so I don't think anything is missing. But the QVTKWidget is no longer there in the list of things I can drag into the design window.

    Help! I want my QVTKWidget back!

    Thanks,
    Steve

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Qt Creator/designer not showing QVTK widget in UBUNTU

    Have you tried running the program from qt4-designer?

    The designer in QtCreator is likely a Qt5 based one and can't load the Qt4 plugin.

    Cheers,
    _

  3. #3
    Join Date
    Aug 2015
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Qt Creator/designer not showing QVTK widget in UBUNTU

    Thank you - that was it. Is there a way to use QtCreator with Qt4 libraries and plugins, etc...? I've found a few 'suggestions' on the web, but nothing that worked for me.
    Steve

  4. #4
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Qt Creator/designer not showing QVTK widget in UBUNTU

    You would need a Qt4 based QtCreator build.
    Might have to build it yourself though, I guess all prebuilds are Qt5 based by now.

    I have my doubts that it is worth it, the only Qt4 component would be designer and it can easily be launched directly.

    Cheers,
    _

Similar Threads

  1. Qt Designer Custom widget properties not showing in Qt Designer
    By nguarracino in forum Qt Tools
    Replies: 1
    Last Post: 19th November 2010, 15:09
  2. Replies: 4
    Last Post: 27th October 2010, 17:43
  3. Replies: 3
    Last Post: 17th November 2009, 15:43
  4. Qt Designer not showing the main window
    By alecs1 in forum Qt Tools
    Replies: 2
    Last Post: 30th January 2008, 00:02
  5. QPixmap designer property not showing up
    By high_flyer in forum Qt Programming
    Replies: 1
    Last Post: 15th March 2006, 20:56

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.