Uploaded image for project: 'Qt Solutions'
  1. Qt Solutions
  2. QTSOLBUG-98

QT_NO_DRAGANDDROP conditional code in qtcolorbutton.cpp

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Not Evaluated Not Evaluated
    • None
    • Some Release
    • Color Picker
    • None
    • Commercial Qt everywhere 4.6 on Windows XP compiling for Win CE.

      When defining QT_NO_DRAGANDDROP in a Qt 4.6 build, qtcolorbutton.cpp will fail to compile because some code is not properly conditionalized. The private class QtColorButtonPrivate contains 3 variables, m_dragColor, m_dragStart, and m_dragging which are condtionalized in the class definition, but not at all access points within this file.

      For example, m_dragging is not properly conditionalized in the QtColorButton constructor (line 123), which causes the compilation of this file to fail under these conditions.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Unassigned Unassigned
            reshen Reshen Amin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes