use qt5.14.2
This commit is contained in:
@@ -9,6 +9,9 @@ QT += serialport
|
|||||||
QT += quickwidgets
|
QT += quickwidgets
|
||||||
QT += quick
|
QT += quick
|
||||||
QT += qml
|
QT += qml
|
||||||
|
QT += opengl
|
||||||
|
QT += sql
|
||||||
|
QT += svg
|
||||||
|
|
||||||
|
|
||||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||||
|
|||||||
+3
-2
@@ -15,8 +15,6 @@ MainWindow::MainWindow(QWidget *parent)
|
|||||||
qmlDir->mkdir("./qml");//如果文件夹不存在就新建
|
qmlDir->mkdir("./qml");//如果文件夹不存在就新建
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
setFocusPolicy(Qt::StrongFocus);
|
setFocusPolicy(Qt::StrongFocus);
|
||||||
|
|
||||||
//ui initial
|
//ui initial
|
||||||
@@ -212,6 +210,9 @@ void MainWindow::mousePressEvent(QMouseEvent* event)
|
|||||||
LatLng.SetLat(map->currentMousePosition().Lat());
|
LatLng.SetLat(map->currentMousePosition().Lat());
|
||||||
LatLng.SetLng(map->currentMousePosition().Lng());
|
LatLng.SetLng(map->currentMousePosition().Lng());
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//qDebug() << LatLng.Lat() << LatLng.Lng();
|
//qDebug() << LatLng.Lat() << LatLng.Lng();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user