QAccel is not found in my Qt Library
Unsolved
General and Desktop
-
I am usingn QAccel class in one of my Sample Qt project.
#include "dialog.h" #include "ui_dialog.h" #include <qaccel.h> Dialog::Dialog(QWidget *parent) : QDialog(parent), ui(new Ui::Dialog) { ui->setupUi(this); QAccel *f2 = new QAccel(this); f2->connectItem(f2->insertItem(Key_F2), this, SLOT(popupCalendar())); connect(startButton, SIGNAL(clicked()), this, SLOT(popupStartCalendar())); connect(endButton, SIGNAL(clicked()), this, SLOT(popupEndCalendar())); }
but the compiler indicated file not found on accel..h
how to include this? -
@dan1973 said in QAccel is not found in my Qt Library:
how to include this?
'QAccel' is not available since Qt3 - please upgrade your books / references where you get your code from.
See QKeySequence. -
@Christian-Ehrlicher Thank you Christian