Dec 12, 2009

qt4-qtruby を Windows で : Qt 4.6でもOK

…という組み合わせでも問題なくビルドできました。qtrubyのcmakeに渡すオプションに変更が必要でした。
cmake -G "Visual Studio 9 2008" -DCMAKE_INSTALL_PREFIX=d:\ruby19  -DRUBY_EXECUTABLE=d:\ruby19\bin\ruby  -DRUBY_LIBRARY=d:\ruby19\lib\msvcr90-ruby191.lib  -DRUBY_INCLUDE_PATH=d:\ruby19\include\ruby-1.9.1  -DQT_QMAKE_EXECUTABLE=d:\Qt\2009.05\qt\bin\qmake  -Wno-dev  -DENABLE_SMOKE=on  -DENABLE_QTRUBY=on  -DENABLE_QTWEBKIT_SMOKE=off -DENABLE_QTSCRIPT_SMOKE=off  -DENABLE_QTUITOOLS_SMOKE=off  -DENABLE_QTTEST_SMOKE=off  -DENABLE_PHONON_SMOKE=off  -DENABLE_QSCI_SMOKE=off-DENABLE_QWT_SMOKE=off  -DENABLE_KDE_SMOKE=off  -DENABLE_KDECORE_SMOKE=off  -DENABLE_KDEUI_SMOKE=off  -DENABLE_KIO_SMOKE=off  -DENABLE_KPARTS_SMOKE=off  -DENABLE_KFILE_SMOKE=off  -DENABLE_KNEWSTUFF2_SMOKE=off  -DENABLE_KNEWSTUFF3_SMOKE=off  -DENABLE_KUTILS_SMOKE=off  -DENABLE_KDEVPLATFORM_SMOKE=off  -DENABLE_KHTML_SMOKE=off  -DENABLE_KTEXTEDITOR_SMOKE=off  -DENABLE_SOLID_SMOKE=off  -DENABLE_PLASMA_SMOKE=off  -DENABLE_QTWEBKIT_RUBY=off  -DENABLE_QTUITOOLS_RUBY=off  -DENABLE_QTSCRIPT=off  -DENABLE_QTTEST=off  -DENABLE_PHONON_RUBY=off  -DENABLE_QSCINTILLA_RUBY=off  -DENABLE_QWT_RUBY=off  -DENABLE_SOPRANO_RUBY=off  -DENABLE_KDEVPLATFORM_RUBY=off  -DENABLE_KORUNDUM_RUBY=off  -DENABLE_KHTML_RUBY=off-DENABLE_KTEXTEDITOR_RUBY=off  -DENABLE_SOLID_RUBY=off  -DENABLE_KROSSRUBY=off -DENABLE_PLASMA_RUBY=off  -DENABLE_QIMAGEBLITZ_SMOKE=off -DENABLE_QTDBUS_SMOKE=off -DQT_QTDBUS_LIBRARY:FILEPATH= .
ENABLE_KDECORE_SMOKEなどの新しいシンボルを無効化するように指定しています。この点のみ読み替えることで、以下の記事は引き続き利用可能です:

No comments:

Post a Comment