créer un textArea avec QsciScintilla
Rebonjour à la communauté,
j'essaye dans mon petit projet de faire un textarea avec QsciScintilla, mais je me chope eds erreurs :
Citation:
mainWindow.o: In function `mainWindow::buildZoneCentral()':
mainWindow.cpp:(.text+0xc38): undefined reference to `QsciScintilla::QsciScintilla(QWidget*)'
collect2: ld a retourné 1 code d'état d'exécution
make: *** [editeur] Erreur 1
voilà ce que je fait :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
| #include <Qsci/qsciscintilla.h>
//...
void mainWindow::buildZoneCentral()
{
QMdiArea *zoneCentrale = new mdiArea;
setCentralWidget(zoneCentrale);
//QTextEdit *zoneTexte1 = new QTextEdit;
QsciScintilla* zoneTexte1 = new QsciScintilla;
QTextEdit *zoneTexte2 = new QTextEdit;
QMdiSubWindow *sousFenetre1 = zoneCentrale->addSubWindow(zoneTexte1);
QMdiSubWindow *sousFenetre2 = zoneCentrale->addSubWindow(zoneTexte2);
Actions = new PhpWriterActions;
buildMenuBar();
buildToolBar();
buildDock();
}
//... |
Apparement il doit me manqué une référence à Qscintilla. mais quoi ?
ps: je tient a précisé que j'ai bien installé Qscintilla. car j'ai trouvé un petit éditeur de text (Juffex) qui l'utilise et j'arrive bien à la compilé.