Sun, 11 Aug 2013 13:33:57 +0300
Only add 'widgets' to QT in the project file in Qt5 - Qt4 doesn't have it and using it results in a warning.
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>ConfigBox</class> <widget class="QDialog" name="ConfigBox"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>544</width> <height>308</height> </rect> </property> <property name="minimumSize"> <size> <width>320</width> <height>256</height> </size> </property> <property name="windowTitle"> <string>Dialog</string> </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> <widget class="QTabWidget" name="tabWidget"> <property name="currentIndex"> <number>0</number> </property> <widget class="QWidget" name="tab"> <attribute name="title"> <string>WAD Paths</string> </attribute> <layout class="QVBoxLayout" name="verticalLayout_3"> <item> <layout class="QGridLayout" name="gridLayout"> <item row="2" column="1"> <widget class="QListWidget" name="wad_pathsList"> <property name="editTriggers"> <set>QAbstractItemView::DoubleClicked|QAbstractItemView::EditKeyPressed|QAbstractItemView::SelectedClicked</set> </property> <property name="dragEnabled"> <bool>true</bool> </property> <property name="dragDropMode"> <enum>QAbstractItemView::DragDrop</enum> </property> <property name="defaultDropAction"> <enum>Qt::MoveAction</enum> </property> <property name="selectionMode"> <enum>QAbstractItemView::ExtendedSelection</enum> </property> <property name="layoutMode"> <enum>QListView::SinglePass</enum> </property> <property name="uniformItemSizes"> <bool>true</bool> </property> </widget> </item> <item row="2" column="2"> <layout class="QVBoxLayout" name="verticalLayout_2"> <item> <widget class="QPushButton" name="wad_del"> <property name="text"> <string>Delete</string> </property> </widget> </item> <item> <widget class="QPushButton" name="wad_clear"> <property name="text"> <string>Clear</string> </property> </widget> </item> <item> <spacer name="verticalSpacer"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>40</height> </size> </property> </spacer> </item> </layout> </item> <item row="1" column="1"> <layout class="QHBoxLayout" name="horizontalLayout"> <item> <widget class="QLineEdit" name="wad_pathEntry"/> </item> <item> <widget class="QPushButton" name="wad_findPath"> <property name="text"> <string>...</string> </property> </widget> </item> </layout> </item> <item row="1" column="2"> <widget class="QPushButton" name="wad_add"> <property name="text"> <string>Add</string> </property> </widget> </item> </layout> </item> </layout> </widget> <widget class="QWidget" name="tab_2"> <attribute name="title"> <string>Release Binaries</string> </attribute> <layout class="QVBoxLayout" name="verticalLayout_4"> <item> <widget class="QScrollArea" name="scrollArea"> <property name="frameShape"> <enum>QFrame::NoFrame</enum> </property> <property name="widgetResizable"> <bool>true</bool> </property> <widget class="QWidget" name="scrollAreaWidgetContents"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>516</width> <height>213</height> </rect> </property> <layout class="QVBoxLayout" name="verticalLayout_5"> <item> <widget class="QWidget" name="zandronumVersions" native="true"/> </item> </layout> </widget> </widget> </item> </layout> </widget> <widget class="QWidget" name="tab_4"> <attribute name="title"> <string>Testing Binaries</string> </attribute> <layout class="QVBoxLayout" name="verticalLayout_7"> <item> <widget class="QScrollArea" name="scrollArea_2"> <property name="frameShape"> <enum>QFrame::NoFrame</enum> </property> <property name="widgetResizable"> <bool>true</bool> </property> <widget class="QWidget" name="scrollAreaWidgetContents_2"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>516</width> <height>213</height> </rect> </property> <layout class="QVBoxLayout" name="verticalLayout_8"> <item> <widget class="QWidget" name="betaVersions" native="true"/> </item> </layout> </widget> </widget> </item> </layout> </widget> <widget class="QWidget" name="tab_3"> <attribute name="title"> <string>Misc</string> </attribute> <layout class="QVBoxLayout" name="verticalLayout_6"> <item> <widget class="QCheckBox" name="noDemoPrompt"> <property name="whatsThis"> <string>If this is not set, a prompt showing demo info is displayed first.</string> </property> <property name="text"> <string>Launch without prompt</string> </property> </widget> </item> <item> <spacer name="verticalSpacer_2"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>40</height> </size> </property> </spacer> </item> </layout> </widget> </widget> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout_2"> <item> <widget class="QWidget" name="widget" native="true"> <layout class="QHBoxLayout" name="horizontalLayout_3"> <item> <widget class="QLabel" name="updateLabel"> <property name="text"> <string>Checking for updates... </string> </property> </widget> </item> <item> <widget class="QProgressBar" name="updateProgress"> <property name="enabled"> <bool>true</bool> </property> <property name="maximumSize"> <size> <width>16777215</width> <height>16</height> </size> </property> <property name="maximum"> <number>0</number> </property> <property name="value"> <number>-1</number> </property> <property name="textVisible"> <bool>true</bool> </property> </widget> </item> </layout> </widget> </item> <item> <spacer name="horizontalSpacer"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item> <widget class="QDialogButtonBox" name="buttonBox"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="standardButtons"> <set>QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> </property> </widget> </item> </layout> </item> </layout> </widget> <resources/> <connections> <connection> <sender>wad_clear</sender> <signal>clicked(bool)</signal> <receiver>wad_pathsList</receiver> <slot>clear()</slot> <hints> <hint type="sourcelabel"> <x>463</x> <y>129</y> </hint> <hint type="destinationlabel"> <x>219</x> <y>189</y> </hint> </hints> </connection> </connections> </ui>