Results 1 to 4 of 4

Thread: QScintilla

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2007
    Posts
    31
    Thanks
    13
    Qt products
    Qt4
    Platforms
    Unix/X11

    Red face QScintilla

    Can anyone help me with a sample program using QScintilla with Qt4?
    I want to use it to make a code editor with syntax high-lighting and code completion in the future , but I don't know how to integrate QScintilla with the Qt4 Components.

    Everything I found in Google is scintilla + Gtk, and really I don't like GTK.

    Thanks for your answers!!!

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,716
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: QScintilla

    but I don't know how to integrate QScintilla with the Qt4 Components.
    Based on what it says on the web site:
    The current version of QScintilla is v1.7.1 and requires Qt v3.
    You can't.
    Unless you port QScintilla to Qt4.
    Another option is to use QScintilla as a lib, which it self links to Qt3, and use it in an Qt4 application - but I guess this might raise a set of problems.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  3. #3
    Join Date
    Mar 2007
    Posts
    31
    Thanks
    13
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: QScintilla

    I have downloaded a development version of QSCintilla ported to Qt4, and I have compiled it without problems.

    To use QScintilla, Do I need to use a QTextEdit or QScintilla has a component for that?

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.