mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-02-01 09:09:58 +01:00
Build with qt6 and cmake
First build with qt6 and cmake. QET compil, but a lot of things don't work. Build tested on debian sid and ubuntu 25.04. Dependency needed under debian and ubuntu : qtcreator cmake qt6-tools-dev qt6-svg-dev libsqlite3-dev libkf6coreaddons-dev extra-cmake-modules libkf6widgetsaddons-dev
This commit is contained in:
@@ -70,25 +70,6 @@ void QGIManager::release(QGraphicsItem *qgi) {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
Demande au QGIManager de gerer plusieurs QGI
|
||||
@param qgis QGraphicsItems a gerer
|
||||
*/
|
||||
void QGIManager::manage(const QList<QGraphicsItem *> &qgis) {
|
||||
foreach(QGraphicsItem *qgi, qgis) manage(qgi);
|
||||
}
|
||||
|
||||
/**
|
||||
Indique au QGIManager que pour chaque QGI fourni, une reference vers celui-ci
|
||||
a ete detruite.
|
||||
S'il n'y a plus de references vers un QGI et que celui-ci n'est pas present
|
||||
sur la scene de ce QGIManager, alors il sera detruit.
|
||||
@param qgis QGraphicsItems a ne plus gerer
|
||||
*/
|
||||
void QGIManager::release(const QList<QGraphicsItem *> &qgis) {
|
||||
foreach(QGraphicsItem *qgi, qgis) release(qgi);
|
||||
}
|
||||
|
||||
void QGIManager::manage(const QVector<QGraphicsItem *> &items) {
|
||||
for (const auto &qgi : items) {
|
||||
manage(qgi);
|
||||
|
||||
Reference in New Issue
Block a user