Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Convert QColor to QRgb ????

    Mobile and Embedded
    2
    2
    2960
    Loading More Posts
    • 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.
    • C
      cranberries_ last edited by

      Hi ,
      Is there anyway of converting QColor to QRgb ?
      Thanks in advance

      1 Reply Last reply Reply Quote 0
      • sierdzio
        sierdzio Moderators last edited by

        Use "QColor::rgb()":http://doc.qt.io/qt-5/qcolor.html#rgb or ::rgba()

        (Z(:^

        1 Reply Last reply Reply Quote 0
        • First post
          Last post