Results 1 to 20 of 28

Thread: How to change widget shape in QtDesigner ?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2010
    Location
    Italia
    Posts
    149
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to change widget shape in QtDesigner ?

    As I feared, the build went on for 5 hours and then stopped due to various errors on the *.c code. At this point, I give up using custom plugins and use Qt 6.5 in Visual Studio C++ 2022. But I wonder when Qt will decide to create a QtCreator and Qt Designer environment for recent Visual Studio C++, without doing Qt Creator / Designer on different types of builds...

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,325
    Thanks
    316
    Thanked 871 Times in 858 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: How to change widget shape in QtDesigner ?

    But I wonder when Qt will decide to create a Qt Creator and Qt Designer environment for recent Visual Studio C++, without doing Qt Creator / Designer on different types of builds...
    Probably never. Qt Creator and Qt Designer are on different release cycles from the Qt Framework.

    But it doesn't matter - Creator and Designer are independent programs. You configure them to work with the version of Qt and the Visual Studio compilers that you have installed. Those two programs can be written using any version of Qt and built with any compiler. If you build a Qt distribution from source code, then these applications will be built using that version, but if you download a pre-built distribution, then they will be built using whatever tools the Qt team uses.

    Since Microsoft released version 1.40 of the VS Platform Toolset (current version is 1.43), all binaries built with any 1.4x toolset are compatible, so you can use any version of Qt compiled with a 1.4x toolset with Visual Studio 2022. I used Qt 5.14.2 compiled with VS 2015 (and D/L from Qt website) for a long time with VS 2022 until I needed some features from 5.15.3 and had to build that from source code.

    I think the problems you have been having are due to your configuration, not to your Qt Creator, Qt Designer, or Qt framework versions.

    then stopped due to various errors on the *.c code.
    I saw similar errors, but everything I needed for desktop GUI development was built. If your build got to the point where all of the libraries you need were compiled, then you should be able to run "nmake INSTALL" to copy the files into your installation folder that you specified in the "prefix" option for the build.
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

  3. #3
    Join Date
    Apr 2010
    Location
    Italia
    Posts
    149
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to change widget shape in QtDesigner ?

    Finally I managed to compile the test program for the led plugin and to be able to vary the properties of the plugin within the Qt Designer, both for the shape field and for the color field, which now finally can vary the shape and color of the led on the form in Qt Designer as I wanted. This result was obtained thanks to the constant help of d_stranz in the post "AnalogClock::staticMetaObject': definition of dllimport static data member not allowe".

  4. The following user says thank you to giorgik for this useful post:

    d_stranz (23rd May 2023)

Similar Threads

  1. QCursor change shape in Qt 5
    By cic1988 in forum Qt Programming
    Replies: 5
    Last Post: 4th March 2015, 20:49
  2. Can I change the shape of the form in QML?
    By chong_kimkeang in forum Newbie
    Replies: 1
    Last Post: 7th November 2012, 17:51
  3. how to change shape of Qwidget??
    By anupamgee in forum Qt Programming
    Replies: 4
    Last Post: 29th June 2009, 09:54
  4. Change the shape of a frame.
    By sabeesh in forum Qt Programming
    Replies: 1
    Last Post: 13th November 2007, 06:40
  5. How to change shape fast
    By nileshsince1980 in forum Qt Programming
    Replies: 9
    Last Post: 18th October 2007, 05:49

Tags for this Thread

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
  •  
Qt is a trademark of The Qt Company.