Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. RichText on Symbian Belle
Qt 6.11 is out! See what's new in the release blog

RichText on Symbian Belle

Scheduled Pinned Locked Moved QML and Qt Quick
6 Posts 3 Posters 3.6k 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.
  • I Offline
    I Offline
    Ices_Eyes
    wrote on last edited by
    #1

    Hi all... :)
    I encounter a problem that I'm not sure whether it is a bug or some error on my side. I have an app with a Text, set to contain richtext content. While it handles correct tags on qt simulator, such as img valign property or the float: left css property, or the strong tag, when I test the app on symbian all of these are just ignored. Is it a bug? Is there some limitation on symbian richtext different than those on the simulator? Are there any workaround or any other way to show html-like content? :)

    Thank all :)

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dicksonleong
      wrote on last edited by
      #2

      You can read more about HTML tags support in Qt "here":http://qt-project.org/doc/qt-4.8/richtext-html-subset.html

      1 Reply Last reply
      0
      • I Offline
        I Offline
        Ices_Eyes
        wrote on last edited by
        #3

        I've read it, but there it says it support both css float and strong tag, but actually I do not see them in my app... :(

        1 Reply Last reply
        0
        • T Offline
          T Offline
          tucnak
          wrote on last edited by
          #4

          OK. There are two rich formats you should use:

          1. Rich text (bad way)
          2. HTML (good way)

          Qt support HTML in the best way. You can embedd it into any QWidgets (for example - QLabel).

          There is QTextEdit which allows to edit HTML.

          Believe me - Qt support all HTML4 tags and CSS2 rules.

          1 Reply Last reply
          0
          • I Offline
            I Offline
            Ices_Eyes
            wrote on last edited by
            #5

            First of all, thanks for the answer, but...I'm not sure to follow you... You are suggesting me to use a Qlabel on a QML file?

            1 Reply Last reply
            0
            • T Offline
              T Offline
              tucnak
              wrote on last edited by
              #6

              Oh, sorry. It's QML forum. But I am sure that QML has some kind of container which can contains HTML.

              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