--- qtemu/wizard.cpp.fix-compile-qt4.1 2007-03-19 08:56:21.000000000 -0400 +++ qtemu/wizard.cpp 2007-03-28 10:12:09.000000000 -0400 @@ -55,7 +55,9 @@ Wizard::Wizard(QWidget *parent) QHBoxLayout *headerLayout = new QHBoxLayout; headerLabel = new QLabel; +#if QT_VERSION >= 0x040200 headerLabel->setStyleSheet("QLabel { font-weight: bold; }"); +#endif headerLayout->addWidget(headerLabel); headerIcon = new QLabel; --- qtemu/machinetab.cpp.fix-compile-qt4.1 2007-03-19 08:56:21.000000000 -0400 +++ qtemu/machinetab.cpp 2007-03-28 10:12:09.000000000 -0400 @@ -56,10 +60,10 @@ MachineTab::MachineTab(QTabWidget *paren "border: 1px solid %1;}") .arg(machineNameEdit->palette().color(QPalette::Highlight).name()); #endif - +#if QT_VERSION >= 0x040200 machineNameEdit->setStyleSheet(QString(flatStyle).replace("TYPE", "QLineEdit") +"QLineEdit { font: bold 16px; }"); - +#endif QPushButton *closeButton = new QPushButton(QIcon(":/images/close.png"), QString(), this); closeButton->setFlat(true); closeButton->setToolTip(tr("Close this machine")); @@ -91,8 +95,9 @@ MachineTab::MachineTab(QTabWidget *paren notesTextEdit = new QTextEdit(this); notesTextEdit->setFixedHeight(notesTextEdit->minimumSizeHint().height()); +#if QT_VERSION >= 0x040200 notesTextEdit->setStyleSheet(QString(flatStyle).replace("TYPE", "QTextEdit")); - +#endif QLabel *deveicesLabel = new QLabel(tr("<strong>Devices</strong>"), this); QVBoxLayout *devicesLayout = new QVBoxLayout; --- qtemu/CMakeLists.txt.fix-compile-qt4.1 2007-03-19 08:56:21.000000000 -0400 +++ qtemu/CMakeLists.txt 2007-03-28 10:22:05.000000000 -0400 @@ -67,8 +67,8 @@ ENDIF(MINGW) # verbose - on # SET(CMAKE_VERBOSE_MAKEFILE ON) -# requires minimal Qt 4.2 -SET(QT_MIN_VERSION "4.2.0") +# requires minimal Qt 4.1 +SET(QT_MIN_VERSION "4.1.0") FIND_PACKAGE(Qt4 REQUIRED) INCLUDE(${QT_USE_FILE})