Where is Graphics View framework in Design mode?



  • I can't find a Graphics View icon in the Library / Items panel. I'd like to draw some graphics. Is this feature disabled in the evaluation license version?


  • Moderators

    It should be in "Display Widgets" section of the Designer.



  • "Display Widgets"? I don't see any such thing!

    What corner or panel is it near or in?


  • Moderators

    Left-hand side pane. Perhaps you are in QML designer? Then you're out of luck - GraphicsView is available in QtWidgets, not QtQuick.



  • I'm using Qt Creator 2.7.2 for Qt 5.1.0

    Maybe I should be using Qt Designer instead of the Design mode in Qt Creator?

    I downloaded this thing but don't know what to do with it. And its for qt 4.8 not 5.1.

    "http://qt-project.org/doc/qt-4.8/designer-manual.html":http://qt-project.org/doc/qt-4.8/designer-manual.html


  • Moderators

    No, Design mode in Qt Creator is actually a merged version of Qt Designer tool ;) AFAIK they work the same way.

    On top of widget chooser there is a search input - maybe you can type graphics view there and it will pop up?



  • I've fixed it, got the widget designer working, but I'm not sure which of two things I did was what fixed it.

    First, on this page I saw that I need to install some the Qt Libraries. Is the GraphicsView frame in there? I installed them.

    http://qgroundcontrol.org/dev/qt_install_guide_mac

    Second, instead of running Qt Create, which still does not give me a Designer, (last time I checked, maybe now it does?) so instead I ran Designer.app which I found in...

    ~/Qt5.1.0/5.1.0/clang64/bin/Designer.app

    and there it is! I am designing widgets!

    Was it the Qt Libraries that were missing, or was Designer.app there all along but I was running Qt Creator instead? I'll see if I can acces Designer from Creator now that Qt Libraries are installed.



  • I've fixed it, got the widget designer working, but I'm not sure which of two things I did was what fixed it.

    First, on this page I saw that I need to install some Qt Libraries. Is the GraphicsView frame in there? I installed them.

    http://qgroundcontrol.org/dev/qt_install_guide_mac

    Second, instead of running Qt Create, which still does not give me a Designer, (last time I checked, maybe now it does?) so instead I ran Designer.app which I found in...

    ~/Qt5.1.0/5.1.0/clang64/bin/Designer.app

    and there it is! I am designing widgets!

    Was it the Qt Libraries that were missing, or was Designer.app there all along but I was running Qt Creator instead? I'll see if I can acces Designer from Creator now that Qt Libraries are installed.


  • Moderators

    That depends very much on what you have installed :) Qt Creator is just an IDE, so you need Qt libraries too. But recent Qt Project downloads (Qt > 5.0) are actually an SDK that includes everything: Qt Creator and Qt libraries.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.