I work on a new XHTML Wysiwyg + Source editor

inside i use qscintilla http://www.riverbankcomputing.co.uk/...illa/index.php

on Window i can build & run, on mac (Tiger) no why?
i not use WaitMouseMoved maybe libs?




c++ -headerpad_max_install_names -o xx.app/Contents/MacOS/xx build/.obj/main.o build/.obj/html_edit_scite.o build/.obj/interface.o build/.obj/href_gui.o build/.obj/qvimedit.o build/.obj/table_setting.o build/.obj/moc_html_edit_scite.o build/.obj/moc_html_loader.o build/.obj/moc_interface.o build/.obj/moc_qvimedit.o build/.obj/moc_href_gui.o build/.obj/moc_table_setting.o build/.obj/qrc_attach.o -L/usr/local/Trolltech/Qt-4.4.0-snapshot-20070608/lib -lqscintilla2 -lQtSql -L/usr/local/mysql2arch/lib/mysql -L/Developer/qt/lib -liodbc -lQtXml -lQtGui -framework Carbon -framework AppKit -lQtNetwork -lssl -lcrypto -lQtCore -lmysqlclient_r -lz -lm -liconv -framework ApplicationServices
/usr/bin/ld: Undefined symbols:
Platform::WaitMouseMoved(Point)
collect2: ld returned 1 exit status
make: *** [xx.app/Contents/MacOS/xx] Error 1



Qt Code:
  1. QViScintilla::QViScintilla( QWidget* parent )
  2. : QsciScintilla(parent)
  3. {
  4. fontsize = 12;
  5. numerobase = 0;
  6. QFont font;
  7. font.setFamily(QString::fromUtf8("Arial"));
  8. font.setPointSize(fontsize);
  9. setFont(font);
  10. setPaper(QColor("#fbffcb"));
  11. setIndentationGuidesBackgroundColor(QColor("#e6e6de"));
  12. setAutoCompletionThreshold(2);
  13. setFolding(QsciScintilla::BoxedFoldStyle);;
  14. setMarginLineNumbers(1,true);
  15. setAutoCompletionFillupsEnabled(true);
  16. setAutoCompletionSource(QsciScintilla::AcsAll);
  17. setCaretWidth(10);
  18. setCaretLineBackgroundColor(QColor("#e6fff0"));
  19. setCaretLineVisible(true);
  20. ensureLineVisible(1);
  21. setUtf8(true);
  22. setWhitespaceVisibility(QsciScintilla::WsVisible);
  23. QsciLexerHTML *htmllex = new QsciLexerHTML(this);
  24. setLexer(htmllex);
  25. shortcut1 = new QShortcut(QKeySequence("Ctrl+S"),this);
  26. model = PAGER_LOADING_FUNCTIONS; /* start on tmp mode typedef set after connect run */
  27. connect(shortcut1, SIGNAL(activated()),this, SLOT(SaveCurrentDoc()));
  28. /////////connect(this, SIGNAL(textChanged()),this, SLOT(UpdateParent()));
  29. shortcut7 = new QShortcut(QKeySequence::ZoomOut,this); /* CTRL- */
  30. shortcut8 = new QShortcut(QKeySequence::ZoomIn,this); /* CTRL+ */
  31. connect(shortcut7, SIGNAL(activated()),this, SLOT(Decreasefont()));
  32. connect(shortcut8, SIGNAL(activated()),this, SLOT(Increasefont()));
  33. }
To copy to clipboard, switch view to plain text mode