Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt5 Qt Creator How to add Custom Widget class metadata to the Designer properties editor?
Forum Updated to NodeBB v4.3 + New Features

Qt5 Qt Creator How to add Custom Widget class metadata to the Designer properties editor?

Scheduled Pinned Locked Moved Qt Creator and other tools
1 Posts 1 Posters 1.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jeroi
    wrote on last edited by
    #1

    Hello, I have succesfully compiled Qt Creator with MinGW and then converted QScintillaplugin ifdefs to mingw type and compiled it and installed compiled dll both the library to ctcreator/bin and the plugin to sdk/plugins/designer/ and the Qscintilla textedit becomes valid widget option at Input Widgets. How ever major dillemmas. While looking QTextEdit widget it has solid white background and separate QTextEdit metadatas availble for editing in designer. The QScintillaplugin does not provide these metadata options for the class and so on. Now the real question:

    How to write code that enables QSctintilla2.dll options to the Designer plugin?

    Little bit more info, I was able to create plugin from Qt Creator and matched it to MSVC version and saw that defines had _ on the MSVC build and those removed on GCC version. So I made exact same plugin that the msvc version and it runs fine. How ever there were qscintilla.pri which included new files called qscintilla.h and qsctintilla.cpp. Is here needed the code that makes Qscintilla be avaible in the metadata editor?

    Could some one post a little example how to add Qscintilla white background to the widget and maybe some options that are avaible with QScintilla?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved