forked from pk8vl2gnp/llj_gitpractice
Compare commits
25 Commits
| Author | SHA1 | Date |
|---|---|---|
|
|
f814538f7e | 4 months ago |
|
|
5092662933 | 4 months ago |
|
|
9ca9dcc60b | 4 months ago |
|
|
6ff415df21 | 4 months ago |
|
|
2e7dbab205 | 4 months ago |
|
|
243e655d22 | 4 months ago |
|
|
24d950d322 | 4 months ago |
|
|
a8592863a7 | 4 months ago |
|
|
af56be4995 | 4 months ago |
|
|
99a95f8095 | 4 months ago |
|
|
0d3c09673d | 4 months ago |
|
|
067e96b709 | 4 months ago |
|
|
1516595ac4 | 4 months ago |
|
|
1ff7ab226a | 4 months ago |
|
|
b1d67ec2a1 | 4 months ago |
|
|
048dc7be46 | 4 months ago |
|
|
67cca06c63 | 4 months ago |
|
|
771fc2509f | 4 months ago |
|
|
0eb6f6dcba | 4 months ago |
|
|
d539df1f6d | 4 months ago |
|
|
b71441c0ca | 4 months ago |
|
|
9d4720eb4e | 4 months ago |
|
|
6c38f27b5f | 4 months ago |
|
|
f35f2b61e3 | 4 months ago |
|
|
9c9a627ac0 | 4 months ago |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,21 @@
|
||||
QMAKE_CXX.QT_COMPILER_STDCXX = 201402L
|
||||
QMAKE_CXX.QMAKE_GCC_MAJOR_VERSION = 7
|
||||
QMAKE_CXX.QMAKE_GCC_MINOR_VERSION = 3
|
||||
QMAKE_CXX.QMAKE_GCC_PATCH_VERSION = 0
|
||||
QMAKE_CXX.COMPILER_MACROS = \
|
||||
QT_COMPILER_STDCXX \
|
||||
QMAKE_GCC_MAJOR_VERSION \
|
||||
QMAKE_GCC_MINOR_VERSION \
|
||||
QMAKE_GCC_PATCH_VERSION
|
||||
QMAKE_CXX.INCDIRS = \
|
||||
C:/Qt/Qt5.12.3/Tools/mingw730_64/lib/gcc/x86_64-w64-mingw32/7.3.0/include/c++ \
|
||||
C:/Qt/Qt5.12.3/Tools/mingw730_64/lib/gcc/x86_64-w64-mingw32/7.3.0/include/c++/x86_64-w64-mingw32 \
|
||||
C:/Qt/Qt5.12.3/Tools/mingw730_64/lib/gcc/x86_64-w64-mingw32/7.3.0/include/c++/backward \
|
||||
C:/Qt/Qt5.12.3/Tools/mingw730_64/lib/gcc/x86_64-w64-mingw32/7.3.0/include \
|
||||
C:/Qt/Qt5.12.3/Tools/mingw730_64/lib/gcc/x86_64-w64-mingw32/7.3.0/include-fixed \
|
||||
C:/Qt/Qt5.12.3/Tools/mingw730_64/x86_64-w64-mingw32/include
|
||||
QMAKE_CXX.LIBDIRS = \
|
||||
C:/Qt/Qt5.12.3/Tools/mingw730_64/lib/gcc/x86_64-w64-mingw32/7.3.0 \
|
||||
C:/Qt/Qt5.12.3/Tools/mingw730_64/lib/gcc \
|
||||
C:/Qt/Qt5.12.3/Tools/mingw730_64/x86_64-w64-mingw32/lib \
|
||||
C:/Qt/Qt5.12.3/Tools/mingw730_64/lib
|
||||
@ -0,0 +1,475 @@
|
||||
#############################################################################
|
||||
# Makefile for building: car
|
||||
# Generated by qmake (3.1) (Qt 5.12.3)
|
||||
# Project: ..\car\car.pro
|
||||
# Template: app
|
||||
# Command: C:\Qt\Qt5.12.3\5.12.3\mingw73_64\bin\qmake.exe -o Makefile ..\car\car.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
|
||||
#############################################################################
|
||||
|
||||
MAKEFILE = Makefile
|
||||
|
||||
EQ = =
|
||||
|
||||
first: debug
|
||||
install: debug-install
|
||||
uninstall: debug-uninstall
|
||||
QMAKE = C:\Qt\Qt5.12.3\5.12.3\mingw73_64\bin\qmake.exe
|
||||
DEL_FILE = del
|
||||
CHK_DIR_EXISTS= if not exist
|
||||
MKDIR = mkdir
|
||||
COPY = copy /y
|
||||
COPY_FILE = copy /y
|
||||
COPY_DIR = xcopy /s /q /y /i
|
||||
INSTALL_FILE = copy /y
|
||||
INSTALL_PROGRAM = copy /y
|
||||
INSTALL_DIR = xcopy /s /q /y /i
|
||||
QINSTALL = C:\Qt\Qt5.12.3\5.12.3\mingw73_64\bin\qmake.exe -install qinstall
|
||||
QINSTALL_PROGRAM = C:\Qt\Qt5.12.3\5.12.3\mingw73_64\bin\qmake.exe -install qinstall -exe
|
||||
DEL_FILE = del
|
||||
SYMLINK = $(QMAKE) -install ln -f -s
|
||||
DEL_DIR = rmdir
|
||||
MOVE = move
|
||||
SUBTARGETS = \
|
||||
debug \
|
||||
release
|
||||
|
||||
|
||||
debug: FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Debug
|
||||
debug-make_first: FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Debug
|
||||
debug-all: FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Debug all
|
||||
debug-clean: FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Debug clean
|
||||
debug-distclean: FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Debug distclean
|
||||
debug-install: FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Debug install
|
||||
debug-uninstall: FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Debug uninstall
|
||||
release: FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Release
|
||||
release-make_first: FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Release
|
||||
release-all: FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Release all
|
||||
release-clean: FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Release clean
|
||||
release-distclean: FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Release distclean
|
||||
release-install: FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Release install
|
||||
release-uninstall: FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Release uninstall
|
||||
|
||||
Makefile: ../car/car.pro C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/win32-g++/qmake.conf C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/spec_pre.prf \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/qdevice.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/device_config.prf \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/common/sanitize.conf \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/common/gcc-base.conf \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/common/g++-base.conf \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/common/angle.conf \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/common/windows-vulkan.conf \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/common/g++-win32.conf \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/qconfig.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3danimation.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3danimation_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3dcore.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3dcore_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3dextras.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3dextras_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3dinput.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3dinput_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3dlogic.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3dlogic_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3dquick.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3dquick_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3dquickanimation.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3dquickanimation_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3dquickextras.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3dquickextras_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3dquickinput.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3dquickinput_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3dquickrender.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3dquickrender_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3dquickscene2d.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3dquickscene2d_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3drender.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3drender_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_accessibility_support_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_axbase.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_axbase_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_axcontainer.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_axcontainer_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_axserver.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_axserver_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_bluetooth.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_bluetooth_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_bootstrap_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_charts.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_charts_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_concurrent.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_concurrent_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_core.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_core_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_datavisualization.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_datavisualization_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_dbus.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_dbus_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_designer.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_designer_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_designercomponents_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_devicediscovery_support_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_edid_support_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_egl_support_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_eventdispatcher_support_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_fb_support_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_fontdatabase_support_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_gamepad.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_gamepad_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_gui.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_gui_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_help.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_help_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_location.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_location_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_multimedia.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_multimedia_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_multimediawidgets.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_multimediawidgets_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_network.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_network_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_networkauth.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_networkauth_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_nfc.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_nfc_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_opengl.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_opengl_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_openglextensions.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_openglextensions_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_packetprotocol_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_platformcompositor_support_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_positioning.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_positioning_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_positioningquick.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_positioningquick_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_printsupport.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_printsupport_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_purchasing.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_purchasing_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_qml.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_qml_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_qmldebug_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_qmldevtools_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_qmltest.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_qmltest_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_qtmultimediaquicktools_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_quick.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_quick_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_quickcontrols2.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_quickcontrols2_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_quickparticles_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_quickshapes_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_quicktemplates2.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_quicktemplates2_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_quickwidgets.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_quickwidgets_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_remoteobjects.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_remoteobjects_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_repparser.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_repparser_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_script.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_script_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_scripttools.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_scripttools_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_scxml.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_scxml_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_sensors.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_sensors_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_serialbus.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_serialbus_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_serialport.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_serialport_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_sql.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_sql_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_svg.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_svg_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_testlib.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_testlib_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_texttospeech.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_texttospeech_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_theme_support_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_uiplugin.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_uitools.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_uitools_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_virtualkeyboard.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_virtualkeyboard_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_vulkan_support_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_webchannel.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_webchannel_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_websockets.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_websockets_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_widgets.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_widgets_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_windowsuiautomation_support_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_winextras.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_winextras_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_xml.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_xml_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_xmlpatterns.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_xmlpatterns_private.pri \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/qt_functions.prf \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/qt_config.prf \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/win32-g++/qmake.conf \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/spec_post.prf \
|
||||
.qmake.stash \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/exclusive_builds.prf \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/toolchain.prf \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/default_pre.prf \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/win32/default_pre.prf \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/resolve_config.prf \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/exclusive_builds_post.prf \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/default_post.prf \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/qml_debug.prf \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/precompile_header.prf \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/warn_on.prf \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/qt.prf \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/resources.prf \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/moc.prf \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/win32/opengl.prf \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/uic.prf \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/qmake_use.prf \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/file_copies.prf \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/win32/windows.prf \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/testcase_targets.prf \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/exceptions.prf \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/yacc.prf \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/lex.prf \
|
||||
../car/car.pro \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/lib/Qt5Widgets.prl \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/lib/Qt5Gui.prl \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/lib/Qt5Sql.prl \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/lib/Qt5Core.prl \
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/lib/qtmaind.prl
|
||||
$(QMAKE) -o Makefile ..\car\car.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/spec_pre.prf:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/qdevice.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/device_config.prf:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/common/sanitize.conf:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/common/gcc-base.conf:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/common/g++-base.conf:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/common/angle.conf:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/common/windows-vulkan.conf:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/common/g++-win32.conf:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/qconfig.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3danimation.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3danimation_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3dcore.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3dcore_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3dextras.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3dextras_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3dinput.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3dinput_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3dlogic.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3dlogic_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3dquick.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3dquick_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3dquickanimation.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3dquickanimation_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3dquickextras.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3dquickextras_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3dquickinput.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3dquickinput_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3dquickrender.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3dquickrender_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3dquickscene2d.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3dquickscene2d_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3drender.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_3drender_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_accessibility_support_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_axbase.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_axbase_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_axcontainer.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_axcontainer_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_axserver.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_axserver_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_bluetooth.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_bluetooth_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_bootstrap_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_charts.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_charts_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_concurrent.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_concurrent_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_core.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_core_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_datavisualization.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_datavisualization_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_dbus.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_dbus_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_designer.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_designer_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_designercomponents_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_devicediscovery_support_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_edid_support_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_egl_support_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_eventdispatcher_support_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_fb_support_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_fontdatabase_support_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_gamepad.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_gamepad_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_gui.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_gui_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_help.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_help_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_location.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_location_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_multimedia.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_multimedia_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_multimediawidgets.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_multimediawidgets_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_network.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_network_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_networkauth.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_networkauth_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_nfc.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_nfc_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_opengl.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_opengl_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_openglextensions.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_openglextensions_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_packetprotocol_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_platformcompositor_support_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_positioning.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_positioning_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_positioningquick.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_positioningquick_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_printsupport.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_printsupport_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_purchasing.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_purchasing_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_qml.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_qml_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_qmldebug_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_qmldevtools_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_qmltest.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_qmltest_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_qtmultimediaquicktools_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_quick.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_quick_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_quickcontrols2.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_quickcontrols2_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_quickparticles_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_quickshapes_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_quicktemplates2.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_quicktemplates2_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_quickwidgets.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_quickwidgets_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_remoteobjects.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_remoteobjects_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_repparser.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_repparser_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_script.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_script_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_scripttools.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_scripttools_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_scxml.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_scxml_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_sensors.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_sensors_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_serialbus.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_serialbus_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_serialport.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_serialport_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_sql.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_sql_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_svg.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_svg_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_testlib.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_testlib_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_texttospeech.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_texttospeech_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_theme_support_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_uiplugin.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_uitools.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_uitools_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_virtualkeyboard.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_virtualkeyboard_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_vulkan_support_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_webchannel.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_webchannel_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_websockets.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_websockets_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_widgets.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_widgets_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_windowsuiautomation_support_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_winextras.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_winextras_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_xml.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_xml_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_xmlpatterns.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/modules/qt_lib_xmlpatterns_private.pri:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/qt_functions.prf:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/qt_config.prf:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/win32-g++/qmake.conf:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/spec_post.prf:
|
||||
.qmake.stash:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/exclusive_builds.prf:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/toolchain.prf:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/default_pre.prf:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/win32/default_pre.prf:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/resolve_config.prf:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/exclusive_builds_post.prf:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/default_post.prf:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/qml_debug.prf:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/precompile_header.prf:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/warn_on.prf:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/qt.prf:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/resources.prf:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/moc.prf:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/win32/opengl.prf:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/uic.prf:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/qmake_use.prf:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/file_copies.prf:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/win32/windows.prf:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/testcase_targets.prf:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/exceptions.prf:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/yacc.prf:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/mkspecs/features/lex.prf:
|
||||
../car/car.pro:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/lib/Qt5Widgets.prl:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/lib/Qt5Gui.prl:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/lib/Qt5Sql.prl:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/lib/Qt5Core.prl:
|
||||
C:/Qt/Qt5.12.3/5.12.3/mingw73_64/lib/qtmaind.prl:
|
||||
qmake: FORCE
|
||||
@$(QMAKE) -o Makefile ..\car\car.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
|
||||
|
||||
qmake_all: FORCE
|
||||
|
||||
make_first: debug-make_first release-make_first FORCE
|
||||
all: debug-all release-all FORCE
|
||||
clean: debug-clean release-clean FORCE
|
||||
distclean: debug-distclean release-distclean FORCE
|
||||
-$(DEL_FILE) Makefile
|
||||
-$(DEL_FILE) .qmake.stash
|
||||
|
||||
debug-mocclean:
|
||||
$(MAKE) -f $(MAKEFILE).Debug mocclean
|
||||
release-mocclean:
|
||||
$(MAKE) -f $(MAKEFILE).Release mocclean
|
||||
mocclean: debug-mocclean release-mocclean
|
||||
|
||||
debug-mocables:
|
||||
$(MAKE) -f $(MAKEFILE).Debug mocables
|
||||
release-mocables:
|
||||
$(MAKE) -f $(MAKEFILE).Release mocables
|
||||
mocables: debug-mocables release-mocables
|
||||
|
||||
check: first
|
||||
|
||||
benchmark: first
|
||||
FORCE:
|
||||
|
||||
$(MAKEFILE).Debug: Makefile
|
||||
$(MAKEFILE).Release: Makefile
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,94 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'first.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.3)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "../../car/first.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'first.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.12.3. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_first_t {
|
||||
QByteArrayData data[1];
|
||||
char stringdata0[6];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_first_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_first_t qt_meta_stringdata_first = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 5) // "first"
|
||||
|
||||
},
|
||||
"first"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_first[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
0, 0, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void first::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
Q_UNUSED(_o);
|
||||
Q_UNUSED(_id);
|
||||
Q_UNUSED(_c);
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject first::staticMetaObject = { {
|
||||
&QMainWindow::staticMetaObject,
|
||||
qt_meta_stringdata_first.data,
|
||||
qt_meta_data_first,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *first::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *first::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_first.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QMainWindow::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int first::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QMainWindow::qt_metacall(_c, _id, _a);
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
Binary file not shown.
@ -0,0 +1,127 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'function.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.3)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "../../car/function.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'function.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.12.3. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_function_t {
|
||||
QByteArrayData data[5];
|
||||
char stringdata0[80];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_function_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_function_t qt_meta_stringdata_function = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 8), // "function"
|
||||
QT_MOC_LITERAL(1, 9, 23), // "on_pushButton_2_clicked"
|
||||
QT_MOC_LITERAL(2, 33, 0), // ""
|
||||
QT_MOC_LITERAL(3, 34, 21), // "on_pushButton_clicked"
|
||||
QT_MOC_LITERAL(4, 56, 23) // "on_pushButton_3_clicked"
|
||||
|
||||
},
|
||||
"function\0on_pushButton_2_clicked\0\0"
|
||||
"on_pushButton_clicked\0on_pushButton_3_clicked"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_function[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
3, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
1, 0, 29, 2, 0x08 /* Private */,
|
||||
3, 0, 30, 2, 0x08 /* Private */,
|
||||
4, 0, 31, 2, 0x08 /* Private */,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void function::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<function *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->on_pushButton_2_clicked(); break;
|
||||
case 1: _t->on_pushButton_clicked(); break;
|
||||
case 2: _t->on_pushButton_3_clicked(); break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject function::staticMetaObject = { {
|
||||
&QMainWindow::staticMetaObject,
|
||||
qt_meta_stringdata_function.data,
|
||||
qt_meta_data_function,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *function::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *function::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_function.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QMainWindow::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int function::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QMainWindow::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 3)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 3;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 3)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 3;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
Binary file not shown.
@ -0,0 +1,123 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'login.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.3)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "../../car/login.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'login.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.12.3. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_MainWindow_t {
|
||||
QByteArrayData data[4];
|
||||
char stringdata0[58];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_MainWindow_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_MainWindow_t qt_meta_stringdata_MainWindow = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 10), // "MainWindow"
|
||||
QT_MOC_LITERAL(1, 11, 21), // "on_pushButton_clicked"
|
||||
QT_MOC_LITERAL(2, 33, 0), // ""
|
||||
QT_MOC_LITERAL(3, 34, 23) // "on_pushButton_2_clicked"
|
||||
|
||||
},
|
||||
"MainWindow\0on_pushButton_clicked\0\0"
|
||||
"on_pushButton_2_clicked"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_MainWindow[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
2, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
1, 0, 24, 2, 0x08 /* Private */,
|
||||
3, 0, 25, 2, 0x08 /* Private */,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<MainWindow *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->on_pushButton_clicked(); break;
|
||||
case 1: _t->on_pushButton_2_clicked(); break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject MainWindow::staticMetaObject = { {
|
||||
&QMainWindow::staticMetaObject,
|
||||
qt_meta_stringdata_MainWindow.data,
|
||||
qt_meta_data_MainWindow,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *MainWindow::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *MainWindow::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_MainWindow.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QMainWindow::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QMainWindow::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 2)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 2;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 2)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 2;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
Binary file not shown.
@ -0,0 +1,94 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'mainwindow.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.3)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "../../car/mainwindow.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'mainwindow.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.12.3. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_MainWindow_t {
|
||||
QByteArrayData data[1];
|
||||
char stringdata0[11];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_MainWindow_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_MainWindow_t qt_meta_stringdata_MainWindow = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 10) // "MainWindow"
|
||||
|
||||
},
|
||||
"MainWindow"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_MainWindow[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
0, 0, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
Q_UNUSED(_o);
|
||||
Q_UNUSED(_id);
|
||||
Q_UNUSED(_c);
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject MainWindow::staticMetaObject = { {
|
||||
&QMainWindow::staticMetaObject,
|
||||
qt_meta_stringdata_MainWindow.data,
|
||||
qt_meta_data_MainWindow,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *MainWindow::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *MainWindow::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_MainWindow.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QMainWindow::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QMainWindow::qt_metacall(_c, _id, _a);
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
Binary file not shown.
@ -0,0 +1,394 @@
|
||||
#define __DBL_MIN_EXP__ (-1021)
|
||||
#define __FLT32X_MAX_EXP__ 1024
|
||||
#define __cpp_attributes 200809
|
||||
#define __UINT_LEAST16_MAX__ 0xffff
|
||||
#define __ATOMIC_ACQUIRE 2
|
||||
#define __FLT128_MAX_10_EXP__ 4932
|
||||
#define __FLT_MIN__ 1.17549435082228750796873653722224568e-38F
|
||||
#define __GCC_IEC_559_COMPLEX 2
|
||||
#define __UINT_LEAST8_TYPE__ unsigned char
|
||||
#define __SIZEOF_FLOAT80__ 16
|
||||
#define _WIN32 1
|
||||
#define __INTMAX_C(c) c ## LL
|
||||
#define __CHAR_BIT__ 8
|
||||
#define __UINT8_MAX__ 0xff
|
||||
#define _WIN64 1
|
||||
#define __WINT_MAX__ 0xffff
|
||||
#define __FLT32_MIN_EXP__ (-125)
|
||||
#define __cpp_static_assert 200410
|
||||
#define __ORDER_LITTLE_ENDIAN__ 1234
|
||||
#define __SIZE_MAX__ 0xffffffffffffffffULL
|
||||
#define __WCHAR_MAX__ 0xffff
|
||||
#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 1
|
||||
#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 1
|
||||
#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 1
|
||||
#define __DBL_DENORM_MIN__ double(4.94065645841246544176568792868221372e-324L)
|
||||
#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 1
|
||||
#define __GCC_ATOMIC_CHAR_LOCK_FREE 2
|
||||
#define __GCC_IEC_559 2
|
||||
#define __FLT32X_DECIMAL_DIG__ 17
|
||||
#define __FLT_EVAL_METHOD__ 0
|
||||
#define __cpp_binary_literals 201304
|
||||
#define __FLT64_DECIMAL_DIG__ 17
|
||||
#define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2
|
||||
#define __x86_64 1
|
||||
#define __cpp_variadic_templates 200704
|
||||
#define __UINT_FAST64_MAX__ 0xffffffffffffffffULL
|
||||
#define __SIG_ATOMIC_TYPE__ int
|
||||
#define __DBL_MIN_10_EXP__ (-307)
|
||||
#define __FINITE_MATH_ONLY__ 0
|
||||
#define __GNUC_PATCHLEVEL__ 0
|
||||
#define __FLT32_HAS_DENORM__ 1
|
||||
#define __UINT_FAST8_MAX__ 0xff
|
||||
#define __has_include(STR) __has_include__(STR)
|
||||
#define _stdcall __attribute__((__stdcall__))
|
||||
#define __DEC64_MAX_EXP__ 385
|
||||
#define __INT8_C(c) c
|
||||
#define __INT_LEAST8_WIDTH__ 8
|
||||
#define __UINT_LEAST64_MAX__ 0xffffffffffffffffULL
|
||||
#define __SHRT_MAX__ 0x7fff
|
||||
#define __LDBL_MAX__ 1.18973149535723176502126385303097021e+4932L
|
||||
#define __FLT64X_MAX_10_EXP__ 4932
|
||||
#define __UINT_LEAST8_MAX__ 0xff
|
||||
#define __GCC_ATOMIC_BOOL_LOCK_FREE 2
|
||||
#define __FLT128_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966F128
|
||||
#define __UINTMAX_TYPE__ long long unsigned int
|
||||
#define __DEC32_EPSILON__ 1E-6DF
|
||||
#define __FLT_EVAL_METHOD_TS_18661_3__ 0
|
||||
#define __UINT32_MAX__ 0xffffffffU
|
||||
#define __GXX_EXPERIMENTAL_CXX0X__ 1
|
||||
#define __LDBL_MAX_EXP__ 16384
|
||||
#define __FLT128_MIN_EXP__ (-16381)
|
||||
#define __WINT_MIN__ 0
|
||||
#define __FLT128_MIN_10_EXP__ (-4931)
|
||||
#define __INT_LEAST16_WIDTH__ 16
|
||||
#define __SCHAR_MAX__ 0x7f
|
||||
#define __FLT128_MANT_DIG__ 113
|
||||
#define __WCHAR_MIN__ 0
|
||||
#define __INT64_C(c) c ## LL
|
||||
#define __DBL_DIG__ 15
|
||||
#define __GCC_ATOMIC_POINTER_LOCK_FREE 2
|
||||
#define __FLT64X_MANT_DIG__ 64
|
||||
#define __SIZEOF_INT__ 4
|
||||
#define __SIZEOF_POINTER__ 8
|
||||
#define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 2
|
||||
#define __USER_LABEL_PREFIX__
|
||||
#define __FLT64X_EPSILON__ 1.08420217248550443400745280086994171e-19F64x
|
||||
#define __STDC_HOSTED__ 1
|
||||
#define __WIN32 1
|
||||
#define __LDBL_HAS_INFINITY__ 1
|
||||
#define __WIN64 1
|
||||
#define __FLT32_DIG__ 6
|
||||
#define __FLT_EPSILON__ 1.19209289550781250000000000000000000e-7F
|
||||
#define __GXX_WEAK__ 1
|
||||
#define __SHRT_WIDTH__ 16
|
||||
#define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L
|
||||
#define __DEC32_MAX__ 9.999999E96DF
|
||||
#define __cpp_threadsafe_static_init 200806
|
||||
#define __FLT64X_DENORM_MIN__ 3.64519953188247460252840593361941982e-4951F64x
|
||||
#define __MINGW32__ 1
|
||||
#define __FLT32X_HAS_INFINITY__ 1
|
||||
#define __INT32_MAX__ 0x7fffffff
|
||||
#define __INT_WIDTH__ 32
|
||||
#define __SIZEOF_LONG__ 4
|
||||
#define __UINT16_C(c) c
|
||||
#define __PTRDIFF_WIDTH__ 64
|
||||
#define __DECIMAL_DIG__ 21
|
||||
#define __FLT64_EPSILON__ 2.22044604925031308084726333618164062e-16F64
|
||||
#define __INTMAX_WIDTH__ 64
|
||||
#define __FLT64_MIN_EXP__ (-1021)
|
||||
#define __has_include_next(STR) __has_include_next__(STR)
|
||||
#define __FLT64X_MIN_10_EXP__ (-4931)
|
||||
#define __LDBL_HAS_QUIET_NAN__ 1
|
||||
#define __FLT64_MANT_DIG__ 53
|
||||
#define _REENTRANT 1
|
||||
#define __GNUC__ 7
|
||||
#define _cdecl __attribute__((__cdecl__))
|
||||
#define __GXX_RTTI 1
|
||||
#define __MMX__ 1
|
||||
#define __cpp_delegating_constructors 200604
|
||||
#define __FLT_HAS_DENORM__ 1
|
||||
#define __SIZEOF_LONG_DOUBLE__ 16
|
||||
#define __BIGGEST_ALIGNMENT__ 16
|
||||
#define __STDC_UTF_16__ 1
|
||||
#define __FLT64_MAX_10_EXP__ 308
|
||||
#define __FLT32_HAS_INFINITY__ 1
|
||||
#define __DBL_MAX__ double(1.79769313486231570814527423731704357e+308L)
|
||||
#define _thiscall __attribute__((__thiscall__))
|
||||
#define __cpp_raw_strings 200710
|
||||
#define __INT_FAST32_MAX__ 0x7fffffff
|
||||
#define __WINNT 1
|
||||
#define __DBL_HAS_INFINITY__ 1
|
||||
#define __INT64_MAX__ 0x7fffffffffffffffLL
|
||||
#define __WINNT__ 1
|
||||
#define __DEC32_MIN_EXP__ (-94)
|
||||
#define __INTPTR_WIDTH__ 64
|
||||
#define __FLT32X_HAS_DENORM__ 1
|
||||
#define __INT_FAST16_TYPE__ short int
|
||||
#define _fastcall __attribute__((__fastcall__))
|
||||
#define __LDBL_HAS_DENORM__ 1
|
||||
#define __cplusplus 201103L
|
||||
#define __cpp_ref_qualifiers 200710
|
||||
#define __DEC128_MAX__ 9.999999999999999999999999999999999E6144DL
|
||||
#define __INT_LEAST32_MAX__ 0x7fffffff
|
||||
#define __DEC32_MIN__ 1E-95DF
|
||||
#define __DEPRECATED 1
|
||||
#define __cpp_rvalue_references 200610
|
||||
#define __DBL_MAX_EXP__ 1024
|
||||
#define __WCHAR_WIDTH__ 16
|
||||
#define __FLT32_MAX__ 3.40282346638528859811704183484516925e+38F32
|
||||
#define __DEC128_EPSILON__ 1E-33DL
|
||||
#define __SSE2_MATH__ 1
|
||||
#define __ATOMIC_HLE_RELEASE 131072
|
||||
#define __WIN32__ 1
|
||||
#define __PTRDIFF_MAX__ 0x7fffffffffffffffLL
|
||||
#define __amd64 1
|
||||
#define __tune_core2__ 1
|
||||
#define __ATOMIC_HLE_ACQUIRE 65536
|
||||
#define __FLT32_HAS_QUIET_NAN__ 1
|
||||
#define __GNUG__ 7
|
||||
#define __LONG_LONG_MAX__ 0x7fffffffffffffffLL
|
||||
#define __SIZEOF_SIZE_T__ 8
|
||||
#define __cpp_rvalue_reference 200610
|
||||
#define __cpp_nsdmi 200809
|
||||
#define __FLT64X_MIN_EXP__ (-16381)
|
||||
#define __SIZEOF_WINT_T__ 2
|
||||
#define __LONG_LONG_WIDTH__ 64
|
||||
#define __cpp_initializer_lists 200806
|
||||
#define __FLT32_MAX_EXP__ 128
|
||||
#define __cpp_hex_float 201603
|
||||
#define __GCC_HAVE_DWARF2_CFI_ASM 1
|
||||
#define __GXX_ABI_VERSION 1011
|
||||
#define __FLT128_HAS_INFINITY__ 1
|
||||
#define __FLT_MIN_EXP__ (-125)
|
||||
#define __cpp_lambdas 200907
|
||||
#define __FLT64X_HAS_QUIET_NAN__ 1
|
||||
#define __INT_FAST64_TYPE__ long long int
|
||||
#define __FLT64_DENORM_MIN__ 4.94065645841246544176568792868221372e-324F64
|
||||
#define __DBL_MIN__ double(2.22507385850720138309023271733240406e-308L)
|
||||
#define __FLT32X_EPSILON__ 2.22044604925031308084726333618164062e-16F32x
|
||||
#define __DECIMAL_BID_FORMAT__ 1
|
||||
#define __GXX_TYPEINFO_EQUALITY_INLINE 0
|
||||
#define __FLT64_MIN_10_EXP__ (-307)
|
||||
#define __FLT64X_DECIMAL_DIG__ 21
|
||||
#define __DEC128_MIN__ 1E-6143DL
|
||||
#define __REGISTER_PREFIX__
|
||||
#define __UINT16_MAX__ 0xffff
|
||||
#define __DBL_HAS_DENORM__ 1
|
||||
#define __cdecl __attribute__((__cdecl__))
|
||||
#define __FLT32_MIN__ 1.17549435082228750796873653722224568e-38F32
|
||||
#define __UINT8_TYPE__ unsigned char
|
||||
#define __NO_INLINE__ 1
|
||||
#define __FLT_MANT_DIG__ 24
|
||||
#define __LDBL_DECIMAL_DIG__ 21
|
||||
#define __VERSION__ "7.3.0"
|
||||
#define __UINT64_C(c) c ## ULL
|
||||
#define __cpp_unicode_characters 200704
|
||||
#define __GCC_ATOMIC_INT_LOCK_FREE 2
|
||||
#define __FLT128_MAX_EXP__ 16384
|
||||
#define __FLT32_MANT_DIG__ 24
|
||||
#define __FLOAT_WORD_ORDER__ __ORDER_LITTLE_ENDIAN__
|
||||
#define __FLT128_HAS_DENORM__ 1
|
||||
#define __FLT128_DIG__ 33
|
||||
#define __SCHAR_WIDTH__ 8
|
||||
#define __INT32_C(c) c
|
||||
#define __DEC64_EPSILON__ 1E-15DD
|
||||
#define __ORDER_PDP_ENDIAN__ 3412
|
||||
#define __DEC128_MIN_EXP__ (-6142)
|
||||
#define __FLT32_MAX_10_EXP__ 38
|
||||
#define __INT_FAST32_TYPE__ int
|
||||
#define __UINT_LEAST16_TYPE__ short unsigned int
|
||||
#define __FLT64X_HAS_INFINITY__ 1
|
||||
#define __INT16_MAX__ 0x7fff
|
||||
#define __cpp_rtti 199711
|
||||
#define __SIZE_TYPE__ long long unsigned int
|
||||
#define __UINT64_MAX__ 0xffffffffffffffffULL
|
||||
#define __FLT64X_DIG__ 18
|
||||
#define __INT8_TYPE__ signed char
|
||||
#define __GCC_ASM_FLAG_OUTPUTS__ 1
|
||||
#define __FLT_RADIX__ 2
|
||||
#define __INT_LEAST16_TYPE__ short int
|
||||
#define __LDBL_EPSILON__ 1.08420217248550443400745280086994171e-19L
|
||||
#define __UINTMAX_C(c) c ## ULL
|
||||
#define __GLIBCXX_BITSIZE_INT_N_0 128
|
||||
#define __SEH__ 1
|
||||
#define __SIG_ATOMIC_MAX__ 0x7fffffff
|
||||
#define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2
|
||||
#define __SIZEOF_PTRDIFF_T__ 8
|
||||
#define __FLT32X_MANT_DIG__ 53
|
||||
#define __x86_64__ 1
|
||||
#define __FLT32X_MIN_EXP__ (-1021)
|
||||
#define __DEC32_SUBNORMAL_MIN__ 0.000001E-95DF
|
||||
#define __MSVCRT__ 1
|
||||
#define __INT_FAST16_MAX__ 0x7fff
|
||||
#define __FLT64_DIG__ 15
|
||||
#define __UINT_FAST32_MAX__ 0xffffffffU
|
||||
#define __UINT_LEAST64_TYPE__ long long unsigned int
|
||||
#define __FLT_HAS_QUIET_NAN__ 1
|
||||
#define __FLT_MAX_10_EXP__ 38
|
||||
#define __LONG_MAX__ 0x7fffffffL
|
||||
#define __FLT64X_HAS_DENORM__ 1
|
||||
#define __DEC128_SUBNORMAL_MIN__ 0.000000000000000000000000000000001E-6143DL
|
||||
#define __FLT_HAS_INFINITY__ 1
|
||||
#define __cpp_unicode_literals 200710
|
||||
#define __UINT_FAST16_TYPE__ short unsigned int
|
||||
#define __DEC64_MAX__ 9.999999999999999E384DD
|
||||
#define __INT_FAST32_WIDTH__ 32
|
||||
#define __CHAR16_TYPE__ short unsigned int
|
||||
#define __PRAGMA_REDEFINE_EXTNAME 1
|
||||
#define __SIZE_WIDTH__ 64
|
||||
#define __SEG_FS 1
|
||||
#define __INT_LEAST16_MAX__ 0x7fff
|
||||
#define __DEC64_MANT_DIG__ 16
|
||||
#define __UINT_LEAST32_MAX__ 0xffffffffU
|
||||
#define __SEG_GS 1
|
||||
#define __FLT32_DENORM_MIN__ 1.40129846432481707092372958328991613e-45F32
|
||||
#define __GCC_ATOMIC_LONG_LOCK_FREE 2
|
||||
#define __SIG_ATOMIC_WIDTH__ 32
|
||||
#define __INT_LEAST64_TYPE__ long long int
|
||||
#define __INT16_TYPE__ short int
|
||||
#define __INT_LEAST8_TYPE__ signed char
|
||||
#define __DEC32_MAX_EXP__ 97
|
||||
#define __INT_FAST8_MAX__ 0x7f
|
||||
#define __FLT128_MAX__ 1.18973149535723176508575932662800702e+4932F128
|
||||
#define __INTPTR_MAX__ 0x7fffffffffffffffLL
|
||||
#define __GXX_MERGED_TYPEINFO_NAMES 0
|
||||
#define __cpp_range_based_for 200907
|
||||
#define __FLT64_HAS_QUIET_NAN__ 1
|
||||
#define __stdcall __attribute__((__stdcall__))
|
||||
#define __FLT32_MIN_10_EXP__ (-37)
|
||||
#define __SSE2__ 1
|
||||
#define __EXCEPTIONS 1
|
||||
#define __LDBL_MANT_DIG__ 64
|
||||
#define __DBL_HAS_QUIET_NAN__ 1
|
||||
#define __FLT64_HAS_INFINITY__ 1
|
||||
#define __FLT64X_MAX__ 1.18973149535723176502126385303097021e+4932F64x
|
||||
#define __SIG_ATOMIC_MIN__ (-__SIG_ATOMIC_MAX__ - 1)
|
||||
#define __INTPTR_TYPE__ long long int
|
||||
#define __UINT16_TYPE__ short unsigned int
|
||||
#define __WCHAR_TYPE__ short unsigned int
|
||||
#define __SIZEOF_FLOAT__ 4
|
||||
#define __pic__ 1
|
||||
#define __UINTPTR_MAX__ 0xffffffffffffffffULL
|
||||
#define __INT_FAST64_WIDTH__ 64
|
||||
#define __DEC64_MIN_EXP__ (-382)
|
||||
#define __cpp_decltype 200707
|
||||
#define __FLT32_DECIMAL_DIG__ 9
|
||||
#define __INT_FAST64_MAX__ 0x7fffffffffffffffLL
|
||||
#define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1
|
||||
#define __FLT_DIG__ 6
|
||||
#define __FLT64X_MAX_EXP__ 16384
|
||||
#define __UINT_FAST64_TYPE__ long long unsigned int
|
||||
#define __INT_MAX__ 0x7fffffff
|
||||
#define __amd64__ 1
|
||||
#define WIN32 1
|
||||
#define __nocona 1
|
||||
#define __code_model_medium__ 1
|
||||
#define __INT64_TYPE__ long long int
|
||||
#define __FLT_MAX_EXP__ 128
|
||||
#define WIN64 1
|
||||
#define __ORDER_BIG_ENDIAN__ 4321
|
||||
#define __DBL_MANT_DIG__ 53
|
||||
#define __cpp_inheriting_constructors 201511
|
||||
#define __SIZEOF_FLOAT128__ 16
|
||||
#define __INT_LEAST64_MAX__ 0x7fffffffffffffffLL
|
||||
#define __DEC64_MIN__ 1E-383DD
|
||||
#define __WINT_TYPE__ short unsigned int
|
||||
#define __UINT_LEAST32_TYPE__ unsigned int
|
||||
#define __SIZEOF_SHORT__ 2
|
||||
#define __SSE__ 1
|
||||
#define __LDBL_MIN_EXP__ (-16381)
|
||||
#define __FLT64_MAX__ 1.79769313486231570814527423731704357e+308F64
|
||||
#define __WINT_WIDTH__ 16
|
||||
#define __INT_LEAST8_MAX__ 0x7f
|
||||
#define __FLT32X_MAX_10_EXP__ 308
|
||||
#define __SIZEOF_INT128__ 16
|
||||
#define __WCHAR_UNSIGNED__ 1
|
||||
#define __LDBL_MAX_10_EXP__ 4932
|
||||
#define __ATOMIC_RELAXED 0
|
||||
#define __DBL_EPSILON__ double(2.22044604925031308084726333618164062e-16L)
|
||||
#define __thiscall __attribute__((__thiscall__))
|
||||
#define __FLT128_MIN__ 3.36210314311209350626267781732175260e-4932F128
|
||||
#define __UINT8_C(c) c
|
||||
#define __FLT64_MAX_EXP__ 1024
|
||||
#define __INT_LEAST32_TYPE__ int
|
||||
#define __SIZEOF_WCHAR_T__ 2
|
||||
#define __FLT128_HAS_QUIET_NAN__ 1
|
||||
#define __INT_FAST8_TYPE__ signed char
|
||||
#define __fastcall __attribute__((__fastcall__))
|
||||
#define __FLT64X_MIN__ 3.36210314311209350626267781732175260e-4932F64x
|
||||
#define __GNUC_STDC_INLINE__ 1
|
||||
#define __FLT64_HAS_DENORM__ 1
|
||||
#define __FLT32_EPSILON__ 1.19209289550781250000000000000000000e-7F32
|
||||
#define __DBL_DECIMAL_DIG__ 17
|
||||
#define __STDC_UTF_32__ 1
|
||||
#define __INT_FAST8_WIDTH__ 8
|
||||
#define __FXSR__ 1
|
||||
#define __DEC_EVAL_METHOD__ 2
|
||||
#define __FLT32X_MAX__ 1.79769313486231570814527423731704357e+308F32x
|
||||
#define __MINGW64__ 1
|
||||
#define __cpp_runtime_arrays 198712
|
||||
#define __UINT64_TYPE__ long long unsigned int
|
||||
#define __UINT32_C(c) c ## U
|
||||
#define __INTMAX_MAX__ 0x7fffffffffffffffLL
|
||||
#define __cpp_alias_templates 200704
|
||||
#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
|
||||
#define WINNT 1
|
||||
#define __FLT_DENORM_MIN__ 1.40129846432481707092372958328991613e-45F
|
||||
#define __INT8_MAX__ 0x7f
|
||||
#define __LONG_WIDTH__ 32
|
||||
#define __PIC__ 1
|
||||
#define __UINT_FAST32_TYPE__ unsigned int
|
||||
#define __CHAR32_TYPE__ unsigned int
|
||||
#define __FLT_MAX__ 3.40282346638528859811704183484516925e+38F
|
||||
#define __cpp_constexpr 200704
|
||||
#define __INT32_TYPE__ int
|
||||
#define __SIZEOF_DOUBLE__ 8
|
||||
#define __cpp_exceptions 199711
|
||||
#define __FLT_MIN_10_EXP__ (-37)
|
||||
#define __FLT64_MIN__ 2.22507385850720138309023271733240406e-308F64
|
||||
#define __INT_LEAST32_WIDTH__ 32
|
||||
#define __INTMAX_TYPE__ long long int
|
||||
#define _INTEGRAL_MAX_BITS 64
|
||||
#define __DEC128_MAX_EXP__ 6145
|
||||
#define __FLT32X_HAS_QUIET_NAN__ 1
|
||||
#define __ATOMIC_CONSUME 1
|
||||
#define __nocona__ 1
|
||||
#define __GNUC_MINOR__ 3
|
||||
#define __GLIBCXX_TYPE_INT_N_0 __int128
|
||||
#define __INT_FAST16_WIDTH__ 16
|
||||
#define __UINTMAX_MAX__ 0xffffffffffffffffULL
|
||||
#define __DEC32_MANT_DIG__ 7
|
||||
#define __FLT32X_DENORM_MIN__ 4.94065645841246544176568792868221372e-324F32x
|
||||
#define __DBL_MAX_10_EXP__ 308
|
||||
#define __LDBL_DENORM_MIN__ 3.64519953188247460252840593361941982e-4951L
|
||||
#define __INT16_C(c) c
|
||||
#define __STDC__ 1
|
||||
#define __FLT32X_DIG__ 15
|
||||
#define __PTRDIFF_TYPE__ long long int
|
||||
#define __ATOMIC_SEQ_CST 5
|
||||
#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16 1
|
||||
#define __UINT32_TYPE__ unsigned int
|
||||
#define __FLT32X_MIN_10_EXP__ (-307)
|
||||
#define __UINTPTR_TYPE__ long long unsigned int
|
||||
#define __DEC64_SUBNORMAL_MIN__ 0.000000000000001E-383DD
|
||||
#define __DEC128_MANT_DIG__ 34
|
||||
#define __LDBL_MIN_10_EXP__ (-4931)
|
||||
#define __FLT128_EPSILON__ 1.92592994438723585305597794258492732e-34F128
|
||||
#define __SSE_MATH__ 1
|
||||
#define __SIZEOF_LONG_LONG__ 8
|
||||
#define __cpp_user_defined_literals 200809
|
||||
#define __FLT128_DECIMAL_DIG__ 36
|
||||
#define __GCC_ATOMIC_LLONG_LOCK_FREE 2
|
||||
#define __FLT32X_MIN__ 2.22507385850720138309023271733240406e-308F32x
|
||||
#define __LDBL_DIG__ 18
|
||||
#define __FLT_DECIMAL_DIG__ 9
|
||||
#define __UINT_FAST16_MAX__ 0xffff
|
||||
#define __GCC_ATOMIC_SHORT_LOCK_FREE 2
|
||||
#define __INT_LEAST64_WIDTH__ 64
|
||||
#define __SSE3__ 1
|
||||
#define __UINT_FAST8_TYPE__ unsigned char
|
||||
#define __WIN64__ 1
|
||||
#define __ATOMIC_ACQ_REL 4
|
||||
#define __ATOMIC_RELEASE 3
|
||||
#define __declspec(x) __attribute__((x))
|
||||
@ -0,0 +1,132 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'userfunction.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.3)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "../../car/userfunction.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'userfunction.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.12.3. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_userfunction_t {
|
||||
QByteArrayData data[6];
|
||||
char stringdata0[108];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_userfunction_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_userfunction_t qt_meta_stringdata_userfunction = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 12), // "userfunction"
|
||||
QT_MOC_LITERAL(1, 13, 21), // "on_pushButton_clicked"
|
||||
QT_MOC_LITERAL(2, 35, 0), // ""
|
||||
QT_MOC_LITERAL(3, 36, 23), // "on_pushButton_2_clicked"
|
||||
QT_MOC_LITERAL(4, 60, 23), // "on_pushButton_3_clicked"
|
||||
QT_MOC_LITERAL(5, 84, 23) // "on_pushButton_4_clicked"
|
||||
|
||||
},
|
||||
"userfunction\0on_pushButton_clicked\0\0"
|
||||
"on_pushButton_2_clicked\0on_pushButton_3_clicked\0"
|
||||
"on_pushButton_4_clicked"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_userfunction[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
4, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
1, 0, 34, 2, 0x08 /* Private */,
|
||||
3, 0, 35, 2, 0x08 /* Private */,
|
||||
4, 0, 36, 2, 0x08 /* Private */,
|
||||
5, 0, 37, 2, 0x08 /* Private */,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void userfunction::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<userfunction *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->on_pushButton_clicked(); break;
|
||||
case 1: _t->on_pushButton_2_clicked(); break;
|
||||
case 2: _t->on_pushButton_3_clicked(); break;
|
||||
case 3: _t->on_pushButton_4_clicked(); break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject userfunction::staticMetaObject = { {
|
||||
&QMainWindow::staticMetaObject,
|
||||
qt_meta_stringdata_userfunction.data,
|
||||
qt_meta_data_userfunction,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *userfunction::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *userfunction::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_userfunction.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QMainWindow::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int userfunction::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QMainWindow::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 4)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 4;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 4)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 4;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
Binary file not shown.
Binary file not shown.
@ -0,0 +1,61 @@
|
||||
/********************************************************************************
|
||||
** Form generated from reading UI file 'first.ui'
|
||||
**
|
||||
** Created by: Qt User Interface Compiler version 5.12.3
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
||||
********************************************************************************/
|
||||
|
||||
#ifndef UI_FIRST_H
|
||||
#define UI_FIRST_H
|
||||
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QMainWindow>
|
||||
#include <QtWidgets/QMenuBar>
|
||||
#include <QtWidgets/QStatusBar>
|
||||
#include <QtWidgets/QWidget>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class Ui_first
|
||||
{
|
||||
public:
|
||||
QMenuBar *menubar;
|
||||
QWidget *centralwidget;
|
||||
QStatusBar *statusbar;
|
||||
|
||||
void setupUi(QMainWindow *first)
|
||||
{
|
||||
if (first->objectName().isEmpty())
|
||||
first->setObjectName(QString::fromUtf8("first"));
|
||||
first->resize(480, 640);
|
||||
menubar = new QMenuBar(first);
|
||||
menubar->setObjectName(QString::fromUtf8("menubar"));
|
||||
first->setMenuBar(menubar);
|
||||
centralwidget = new QWidget(first);
|
||||
centralwidget->setObjectName(QString::fromUtf8("centralwidget"));
|
||||
first->setCentralWidget(centralwidget);
|
||||
statusbar = new QStatusBar(first);
|
||||
statusbar->setObjectName(QString::fromUtf8("statusbar"));
|
||||
first->setStatusBar(statusbar);
|
||||
|
||||
retranslateUi(first);
|
||||
|
||||
QMetaObject::connectSlotsByName(first);
|
||||
} // setupUi
|
||||
|
||||
void retranslateUi(QMainWindow *first)
|
||||
{
|
||||
first->setWindowTitle(QApplication::translate("first", "MainWindow", nullptr));
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class first: public Ui_first {};
|
||||
} // namespace Ui
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // UI_FIRST_H
|
||||
@ -0,0 +1,125 @@
|
||||
/********************************************************************************
|
||||
** Form generated from reading UI file 'function.ui'
|
||||
**
|
||||
** Created by: Qt User Interface Compiler version 5.12.3
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
||||
********************************************************************************/
|
||||
|
||||
#ifndef UI_FUNCTION_H
|
||||
#define UI_FUNCTION_H
|
||||
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QLabel>
|
||||
#include <QtWidgets/QLineEdit>
|
||||
#include <QtWidgets/QMainWindow>
|
||||
#include <QtWidgets/QMenuBar>
|
||||
#include <QtWidgets/QPushButton>
|
||||
#include <QtWidgets/QStatusBar>
|
||||
#include <QtWidgets/QWidget>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class Ui_function
|
||||
{
|
||||
public:
|
||||
QWidget *centralwidget;
|
||||
QPushButton *pushButton;
|
||||
QLabel *label;
|
||||
QLineEdit *lineEdit;
|
||||
QLabel *label_2;
|
||||
QLabel *label_3;
|
||||
QLineEdit *lineEdit_2;
|
||||
QLineEdit *lineEdit_3;
|
||||
QLabel *label_4;
|
||||
QPushButton *pushButton_2;
|
||||
QLineEdit *lineEdit_4;
|
||||
QPushButton *pushButton_3;
|
||||
QMenuBar *menubar;
|
||||
QStatusBar *statusbar;
|
||||
|
||||
void setupUi(QMainWindow *function)
|
||||
{
|
||||
if (function->objectName().isEmpty())
|
||||
function->setObjectName(QString::fromUtf8("function"));
|
||||
function->resize(491, 392);
|
||||
centralwidget = new QWidget(function);
|
||||
centralwidget->setObjectName(QString::fromUtf8("centralwidget"));
|
||||
pushButton = new QPushButton(centralwidget);
|
||||
pushButton->setObjectName(QString::fromUtf8("pushButton"));
|
||||
pushButton->setGeometry(QRect(230, 160, 221, 41));
|
||||
pushButton->setStyleSheet(QString::fromUtf8("font: 11pt \"Agency FB\";"));
|
||||
label = new QLabel(centralwidget);
|
||||
label->setObjectName(QString::fromUtf8("label"));
|
||||
label->setGeometry(QRect(20, 160, 71, 41));
|
||||
label->setStyleSheet(QString::fromUtf8("\n"
|
||||
"font: 12pt \"Agency FB\";"));
|
||||
lineEdit = new QLineEdit(centralwidget);
|
||||
lineEdit->setObjectName(QString::fromUtf8("lineEdit"));
|
||||
lineEdit->setGeometry(QRect(100, 40, 101, 41));
|
||||
label_2 = new QLabel(centralwidget);
|
||||
label_2->setObjectName(QString::fromUtf8("label_2"));
|
||||
label_2->setGeometry(QRect(30, 40, 61, 41));
|
||||
label_2->setStyleSheet(QString::fromUtf8("font: 12pt \"Agency FB\";"));
|
||||
label_3 = new QLabel(centralwidget);
|
||||
label_3->setObjectName(QString::fromUtf8("label_3"));
|
||||
label_3->setGeometry(QRect(30, 100, 61, 41));
|
||||
label_3->setStyleSheet(QString::fromUtf8("font: 12pt \"Agency FB\";"));
|
||||
lineEdit_2 = new QLineEdit(centralwidget);
|
||||
lineEdit_2->setObjectName(QString::fromUtf8("lineEdit_2"));
|
||||
lineEdit_2->setGeometry(QRect(100, 100, 101, 41));
|
||||
lineEdit_3 = new QLineEdit(centralwidget);
|
||||
lineEdit_3->setObjectName(QString::fromUtf8("lineEdit_3"));
|
||||
lineEdit_3->setGeometry(QRect(100, 160, 101, 41));
|
||||
label_4 = new QLabel(centralwidget);
|
||||
label_4->setObjectName(QString::fromUtf8("label_4"));
|
||||
label_4->setGeometry(QRect(30, 220, 51, 41));
|
||||
label_4->setStyleSheet(QString::fromUtf8("\n"
|
||||
"font: 12pt \"Agency FB\";"));
|
||||
pushButton_2 = new QPushButton(centralwidget);
|
||||
pushButton_2->setObjectName(QString::fromUtf8("pushButton_2"));
|
||||
pushButton_2->setGeometry(QRect(230, 220, 221, 41));
|
||||
pushButton_2->setStyleSheet(QString::fromUtf8("font: 11pt \"Agency FB\";"));
|
||||
lineEdit_4 = new QLineEdit(centralwidget);
|
||||
lineEdit_4->setObjectName(QString::fromUtf8("lineEdit_4"));
|
||||
lineEdit_4->setGeometry(QRect(100, 220, 101, 41));
|
||||
pushButton_3 = new QPushButton(centralwidget);
|
||||
pushButton_3->setObjectName(QString::fromUtf8("pushButton_3"));
|
||||
pushButton_3->setGeometry(QRect(50, 280, 391, 51));
|
||||
pushButton_3->setStyleSheet(QString::fromUtf8("font: 11pt \"Agency FB\";"));
|
||||
function->setCentralWidget(centralwidget);
|
||||
menubar = new QMenuBar(function);
|
||||
menubar->setObjectName(QString::fromUtf8("menubar"));
|
||||
menubar->setGeometry(QRect(0, 0, 491, 17));
|
||||
function->setMenuBar(menubar);
|
||||
statusbar = new QStatusBar(function);
|
||||
statusbar->setObjectName(QString::fromUtf8("statusbar"));
|
||||
function->setStatusBar(statusbar);
|
||||
|
||||
retranslateUi(function);
|
||||
|
||||
QMetaObject::connectSlotsByName(function);
|
||||
} // setupUi
|
||||
|
||||
void retranslateUi(QMainWindow *function)
|
||||
{
|
||||
function->setWindowTitle(QApplication::translate("function", "MainWindow", nullptr));
|
||||
pushButton->setText(QApplication::translate("function", "\346\237\245\350\257\242\350\257\245\350\275\246\345\201\234\350\275\246\350\256\260\345\275\225", nullptr));
|
||||
label->setText(QApplication::translate("function", "\350\275\246\347\211\214\345\217\267", nullptr));
|
||||
label_2->setText(QApplication::translate("function", "\350\264\246\345\217\267", nullptr));
|
||||
label_3->setText(QApplication::translate("function", "\345\257\206\347\240\201", nullptr));
|
||||
label_4->setText(QApplication::translate("function", "\346\227\245\346\234\237", nullptr));
|
||||
pushButton_2->setText(QApplication::translate("function", "\346\237\245\350\257\242\350\257\245\346\227\245\346\234\237\345\201\234\350\275\246\350\256\260\345\275\225", nullptr));
|
||||
pushButton_3->setText(QApplication::translate("function", "\346\237\245\350\257\242\347\233\256\345\211\215\350\275\246\345\272\223\350\275\246\344\275\215\344\275\277\347\224\250\346\203\205\345\206\265", nullptr));
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class function: public Ui_function {};
|
||||
} // namespace Ui
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // UI_FUNCTION_H
|
||||
@ -0,0 +1,87 @@
|
||||
/********************************************************************************
|
||||
** Form generated from reading UI file 'login.ui'
|
||||
**
|
||||
** Created by: Qt User Interface Compiler version 5.12.3
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
||||
********************************************************************************/
|
||||
|
||||
#ifndef UI_LOGIN_H
|
||||
#define UI_LOGIN_H
|
||||
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QLabel>
|
||||
#include <QtWidgets/QMainWindow>
|
||||
#include <QtWidgets/QMenuBar>
|
||||
#include <QtWidgets/QPushButton>
|
||||
#include <QtWidgets/QStatusBar>
|
||||
#include <QtWidgets/QToolBar>
|
||||
#include <QtWidgets/QWidget>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class Ui_MainWindow
|
||||
{
|
||||
public:
|
||||
QWidget *centralWidget;
|
||||
QPushButton *pushButton;
|
||||
QLabel *label;
|
||||
QPushButton *pushButton_2;
|
||||
QMenuBar *menuBar;
|
||||
QToolBar *mainToolBar;
|
||||
QStatusBar *statusBar;
|
||||
|
||||
void setupUi(QMainWindow *MainWindow)
|
||||
{
|
||||
if (MainWindow->objectName().isEmpty())
|
||||
MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
|
||||
MainWindow->resize(386, 359);
|
||||
centralWidget = new QWidget(MainWindow);
|
||||
centralWidget->setObjectName(QString::fromUtf8("centralWidget"));
|
||||
pushButton = new QPushButton(centralWidget);
|
||||
pushButton->setObjectName(QString::fromUtf8("pushButton"));
|
||||
pushButton->setGeometry(QRect(120, 120, 121, 31));
|
||||
pushButton->setStyleSheet(QString::fromUtf8("font: 12pt \"Agency FB\";"));
|
||||
label = new QLabel(centralWidget);
|
||||
label->setObjectName(QString::fromUtf8("label"));
|
||||
label->setGeometry(QRect(120, 70, 211, 31));
|
||||
label->setStyleSheet(QString::fromUtf8("font: 12pt \"Agency FB\";"));
|
||||
pushButton_2 = new QPushButton(centralWidget);
|
||||
pushButton_2->setObjectName(QString::fromUtf8("pushButton_2"));
|
||||
pushButton_2->setGeometry(QRect(120, 180, 121, 31));
|
||||
pushButton_2->setStyleSheet(QString::fromUtf8("font: 12pt \"Agency FB\";"));
|
||||
MainWindow->setCentralWidget(centralWidget);
|
||||
menuBar = new QMenuBar(MainWindow);
|
||||
menuBar->setObjectName(QString::fromUtf8("menuBar"));
|
||||
menuBar->setGeometry(QRect(0, 0, 386, 17));
|
||||
MainWindow->setMenuBar(menuBar);
|
||||
mainToolBar = new QToolBar(MainWindow);
|
||||
mainToolBar->setObjectName(QString::fromUtf8("mainToolBar"));
|
||||
MainWindow->addToolBar(Qt::TopToolBarArea, mainToolBar);
|
||||
statusBar = new QStatusBar(MainWindow);
|
||||
statusBar->setObjectName(QString::fromUtf8("statusBar"));
|
||||
MainWindow->setStatusBar(statusBar);
|
||||
|
||||
retranslateUi(MainWindow);
|
||||
|
||||
QMetaObject::connectSlotsByName(MainWindow);
|
||||
} // setupUi
|
||||
|
||||
void retranslateUi(QMainWindow *MainWindow)
|
||||
{
|
||||
MainWindow->setWindowTitle(QApplication::translate("MainWindow", "MainWindow", nullptr));
|
||||
pushButton->setText(QApplication::translate("MainWindow", "\347\256\241\347\220\206\345\221\230", nullptr));
|
||||
label->setText(QApplication::translate("MainWindow", " \350\257\267\351\200\211\346\213\251\346\202\250\347\232\204\350\272\253\344\273\275", nullptr));
|
||||
pushButton_2->setText(QApplication::translate("MainWindow", "\347\224\250\346\210\267", nullptr));
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class MainWindow: public Ui_MainWindow {};
|
||||
} // namespace Ui
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // UI_LOGIN_H
|
||||
@ -0,0 +1,61 @@
|
||||
/********************************************************************************
|
||||
** Form generated from reading UI file 'mainwindow.ui'
|
||||
**
|
||||
** Created by: Qt User Interface Compiler version 5.12.3
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
||||
********************************************************************************/
|
||||
|
||||
#ifndef UI_MAINWINDOW_H
|
||||
#define UI_MAINWINDOW_H
|
||||
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QMainWindow>
|
||||
#include <QtWidgets/QMenuBar>
|
||||
#include <QtWidgets/QStatusBar>
|
||||
#include <QtWidgets/QWidget>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class Ui_MainWindow
|
||||
{
|
||||
public:
|
||||
QMenuBar *menubar;
|
||||
QWidget *centralwidget;
|
||||
QStatusBar *statusbar;
|
||||
|
||||
void setupUi(QMainWindow *MainWindow)
|
||||
{
|
||||
if (MainWindow->objectName().isEmpty())
|
||||
MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
|
||||
MainWindow->resize(480, 640);
|
||||
menubar = new QMenuBar(MainWindow);
|
||||
menubar->setObjectName(QString::fromUtf8("menubar"));
|
||||
MainWindow->setMenuBar(menubar);
|
||||
centralwidget = new QWidget(MainWindow);
|
||||
centralwidget->setObjectName(QString::fromUtf8("centralwidget"));
|
||||
MainWindow->setCentralWidget(centralwidget);
|
||||
statusbar = new QStatusBar(MainWindow);
|
||||
statusbar->setObjectName(QString::fromUtf8("statusbar"));
|
||||
MainWindow->setStatusBar(statusbar);
|
||||
|
||||
retranslateUi(MainWindow);
|
||||
|
||||
QMetaObject::connectSlotsByName(MainWindow);
|
||||
} // setupUi
|
||||
|
||||
void retranslateUi(QMainWindow *MainWindow)
|
||||
{
|
||||
MainWindow->setWindowTitle(QApplication::translate("MainWindow", "MainWindow", nullptr));
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class MainWindow: public Ui_MainWindow {};
|
||||
} // namespace Ui
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // UI_MAINWINDOW_H
|
||||
@ -0,0 +1,127 @@
|
||||
/********************************************************************************
|
||||
** Form generated from reading UI file 'userfunction.ui'
|
||||
**
|
||||
** Created by: Qt User Interface Compiler version 5.12.3
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
||||
********************************************************************************/
|
||||
|
||||
#ifndef UI_USERFUNCTION_H
|
||||
#define UI_USERFUNCTION_H
|
||||
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QLabel>
|
||||
#include <QtWidgets/QLineEdit>
|
||||
#include <QtWidgets/QMainWindow>
|
||||
#include <QtWidgets/QMenuBar>
|
||||
#include <QtWidgets/QPushButton>
|
||||
#include <QtWidgets/QStatusBar>
|
||||
#include <QtWidgets/QWidget>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class Ui_userfunction
|
||||
{
|
||||
public:
|
||||
QWidget *centralwidget;
|
||||
QPushButton *pushButton_3;
|
||||
QPushButton *pushButton_2;
|
||||
QPushButton *pushButton;
|
||||
QLabel *label;
|
||||
QLabel *label_2;
|
||||
QLabel *label_3;
|
||||
QLabel *label_4;
|
||||
QLineEdit *lineEdit;
|
||||
QPushButton *pushButton_4;
|
||||
QLabel *label_5;
|
||||
QLineEdit *lineEdit_2;
|
||||
QMenuBar *menubar;
|
||||
QStatusBar *statusbar;
|
||||
|
||||
void setupUi(QMainWindow *userfunction)
|
||||
{
|
||||
if (userfunction->objectName().isEmpty())
|
||||
userfunction->setObjectName(QString::fromUtf8("userfunction"));
|
||||
userfunction->resize(492, 373);
|
||||
centralwidget = new QWidget(userfunction);
|
||||
centralwidget->setObjectName(QString::fromUtf8("centralwidget"));
|
||||
pushButton_3 = new QPushButton(centralwidget);
|
||||
pushButton_3->setObjectName(QString::fromUtf8("pushButton_3"));
|
||||
pushButton_3->setGeometry(QRect(230, 270, 101, 31));
|
||||
pushButton_3->setStyleSheet(QString::fromUtf8("font: 10pt \"Agency FB\";"));
|
||||
pushButton_2 = new QPushButton(centralwidget);
|
||||
pushButton_2->setObjectName(QString::fromUtf8("pushButton_2"));
|
||||
pushButton_2->setGeometry(QRect(230, 220, 101, 31));
|
||||
pushButton_2->setStyleSheet(QString::fromUtf8("font: 10pt \"Agency FB\";"));
|
||||
pushButton = new QPushButton(centralwidget);
|
||||
pushButton->setObjectName(QString::fromUtf8("pushButton"));
|
||||
pushButton->setGeometry(QRect(70, 220, 131, 31));
|
||||
pushButton->setStyleSheet(QString::fromUtf8("font: 10pt \"Agency FB\";"));
|
||||
label = new QLabel(centralwidget);
|
||||
label->setObjectName(QString::fromUtf8("label"));
|
||||
label->setGeometry(QRect(70, 30, 121, 21));
|
||||
label->setStyleSheet(QString::fromUtf8("font: 10pt \"Agency FB\";"));
|
||||
label_2 = new QLabel(centralwidget);
|
||||
label_2->setObjectName(QString::fromUtf8("label_2"));
|
||||
label_2->setGeometry(QRect(70, 60, 201, 21));
|
||||
label_2->setStyleSheet(QString::fromUtf8("font: 10pt \"Agency FB\";"));
|
||||
label_3 = new QLabel(centralwidget);
|
||||
label_3->setObjectName(QString::fromUtf8("label_3"));
|
||||
label_3->setGeometry(QRect(70, 90, 361, 31));
|
||||
label_3->setStyleSheet(QString::fromUtf8("font: 10pt \"Agency FB\";"));
|
||||
label_4 = new QLabel(centralwidget);
|
||||
label_4->setObjectName(QString::fromUtf8("label_4"));
|
||||
label_4->setGeometry(QRect(70, 135, 81, 21));
|
||||
label_4->setStyleSheet(QString::fromUtf8("font: 10pt \"Agency FB\";"));
|
||||
lineEdit = new QLineEdit(centralwidget);
|
||||
lineEdit->setObjectName(QString::fromUtf8("lineEdit"));
|
||||
lineEdit->setGeometry(QRect(180, 130, 113, 31));
|
||||
pushButton_4 = new QPushButton(centralwidget);
|
||||
pushButton_4->setObjectName(QString::fromUtf8("pushButton_4"));
|
||||
pushButton_4->setGeometry(QRect(70, 270, 131, 31));
|
||||
pushButton_4->setStyleSheet(QString::fromUtf8("font: 10pt \"Agency FB\";"));
|
||||
label_5 = new QLabel(centralwidget);
|
||||
label_5->setObjectName(QString::fromUtf8("label_5"));
|
||||
label_5->setGeometry(QRect(70, 175, 81, 21));
|
||||
label_5->setStyleSheet(QString::fromUtf8("font: 10pt \"Agency FB\";"));
|
||||
lineEdit_2 = new QLineEdit(centralwidget);
|
||||
lineEdit_2->setObjectName(QString::fromUtf8("lineEdit_2"));
|
||||
lineEdit_2->setGeometry(QRect(180, 170, 113, 31));
|
||||
userfunction->setCentralWidget(centralwidget);
|
||||
menubar = new QMenuBar(userfunction);
|
||||
menubar->setObjectName(QString::fromUtf8("menubar"));
|
||||
menubar->setGeometry(QRect(0, 0, 492, 17));
|
||||
userfunction->setMenuBar(menubar);
|
||||
statusbar = new QStatusBar(userfunction);
|
||||
statusbar->setObjectName(QString::fromUtf8("statusbar"));
|
||||
userfunction->setStatusBar(statusbar);
|
||||
|
||||
retranslateUi(userfunction);
|
||||
|
||||
QMetaObject::connectSlotsByName(userfunction);
|
||||
} // setupUi
|
||||
|
||||
void retranslateUi(QMainWindow *userfunction)
|
||||
{
|
||||
userfunction->setWindowTitle(QApplication::translate("userfunction", "MainWindow", nullptr));
|
||||
pushButton_3->setText(QApplication::translate("userfunction", "\345\207\272\345\234\272\347\274\264\350\264\271", nullptr));
|
||||
pushButton_2->setText(QApplication::translate("userfunction", "\345\201\234\350\275\246\345\205\245\345\234\272", nullptr));
|
||||
pushButton->setText(QApplication::translate("userfunction", "\346\237\245\350\257\242\347\251\272\344\275\231\350\275\246\344\275\215", nullptr));
|
||||
label->setText(QApplication::translate("userfunction", "\347\274\264\350\264\271\350\247\204\345\210\231\357\274\232", nullptr));
|
||||
label_2->setText(QApplication::translate("userfunction", "1.\344\270\200\345\260\217\346\227\266\344\271\213\345\206\205\344\270\215\346\224\266\350\264\271", nullptr));
|
||||
label_3->setText(QApplication::translate("userfunction", "2.\350\266\205\350\277\207\344\270\200\345\260\217\346\227\266\345\220\216\346\257\217\345\260\217\346\227\2665\345\205\203\357\274\214\344\270\215\346\273\241\344\270\200\345\260\217\346\227\266\350\256\260\344\270\272\344\270\200\345\260\217\346\227\266", nullptr));
|
||||
label_4->setText(QApplication::translate("userfunction", "\346\202\250\347\232\204\350\275\246\347\211\214\345\217\267", nullptr));
|
||||
pushButton_4->setText(QApplication::translate("userfunction", "\347\224\237\346\210\220\347\224\265\345\255\220\345\260\217\347\245\250", nullptr));
|
||||
label_5->setText(QApplication::translate("userfunction", "\351\200\211\346\213\251\350\275\246\344\275\215", nullptr));
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class userfunction: public Ui_userfunction {};
|
||||
} // namespace Ui
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // UI_USERFUNCTION_H
|
||||
@ -0,0 +1,46 @@
|
||||
#-------------------------------------------------
|
||||
#
|
||||
# Project created by QtCreator 2025-02-09T23:05:25
|
||||
#
|
||||
#-------------------------------------------------
|
||||
|
||||
QT += core gui sql
|
||||
|
||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||
|
||||
TARGET = car
|
||||
TEMPLATE = app
|
||||
|
||||
# The following define makes your compiler emit warnings if you use
|
||||
# any feature of Qt which has been marked as deprecated (the exact warnings
|
||||
# depend on your compiler). Please consult the documentation of the
|
||||
# deprecated API in order to know how to port your code away from it.
|
||||
DEFINES += QT_DEPRECATED_WARNINGS
|
||||
|
||||
# You can also make your code fail to compile if you use deprecated APIs.
|
||||
# In order to do so, uncomment the following line.
|
||||
# You can also select to disable deprecated APIs only up to a certain version of Qt.
|
||||
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
||||
|
||||
CONFIG += c++11
|
||||
|
||||
SOURCES += \
|
||||
function.cpp \
|
||||
main.cpp \
|
||||
login.cpp \
|
||||
userfunction.cpp
|
||||
|
||||
HEADERS += \
|
||||
function.h \
|
||||
login.h \
|
||||
userfunction.h
|
||||
|
||||
FORMS += \
|
||||
function.ui \
|
||||
login.ui \
|
||||
userfunction.ui
|
||||
|
||||
# Default rules for deployment.
|
||||
qnx: target.path = /tmp/$${TARGET}/bin
|
||||
else: unix:!android: target.path = /opt/$${TARGET}/bin
|
||||
!isEmpty(target.path): INSTALLS += target
|
||||
@ -0,0 +1,337 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE QtCreatorProject>
|
||||
<!-- Written by QtCreator 4.9.0, 2025-09-11T12:51:18. -->
|
||||
<qtcreator>
|
||||
<data>
|
||||
<variable>EnvironmentId</variable>
|
||||
<value type="QByteArray">{8faed5cd-70e9-4715-b3d4-c715632476ff}</value>
|
||||
</data>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.ActiveTarget</variable>
|
||||
<value type="int">0</value>
|
||||
</data>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.EditorSettings</variable>
|
||||
<valuemap type="QVariantMap">
|
||||
<value type="bool" key="EditorConfiguration.AutoIndent">true</value>
|
||||
<value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value>
|
||||
<value type="bool" key="EditorConfiguration.CamelCaseNavigation">true</value>
|
||||
<valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0">
|
||||
<value type="QString" key="language">Cpp</value>
|
||||
<valuemap type="QVariantMap" key="value">
|
||||
<value type="QByteArray" key="CurrentPreferences">CppGlobal</value>
|
||||
</valuemap>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1">
|
||||
<value type="QString" key="language">QmlJS</value>
|
||||
<valuemap type="QVariantMap" key="value">
|
||||
<value type="QByteArray" key="CurrentPreferences">QmlJSGlobal</value>
|
||||
</valuemap>
|
||||
</valuemap>
|
||||
<value type="int" key="EditorConfiguration.CodeStyle.Count">2</value>
|
||||
<value type="QByteArray" key="EditorConfiguration.Codec">UTF-8</value>
|
||||
<value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value>
|
||||
<value type="int" key="EditorConfiguration.IndentSize">4</value>
|
||||
<value type="bool" key="EditorConfiguration.KeyboardTooltips">false</value>
|
||||
<value type="int" key="EditorConfiguration.MarginColumn">80</value>
|
||||
<value type="bool" key="EditorConfiguration.MouseHiding">true</value>
|
||||
<value type="bool" key="EditorConfiguration.MouseNavigation">true</value>
|
||||
<value type="int" key="EditorConfiguration.PaddingMode">1</value>
|
||||
<value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value>
|
||||
<value type="bool" key="EditorConfiguration.ShowMargin">false</value>
|
||||
<value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value>
|
||||
<value type="bool" key="EditorConfiguration.SmartSelectionChanging">true</value>
|
||||
<value type="bool" key="EditorConfiguration.SpacesForTabs">true</value>
|
||||
<value type="int" key="EditorConfiguration.TabKeyBehavior">0</value>
|
||||
<value type="int" key="EditorConfiguration.TabSize">8</value>
|
||||
<value type="bool" key="EditorConfiguration.UseGlobal">true</value>
|
||||
<value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value>
|
||||
<value type="bool" key="EditorConfiguration.addFinalNewLine">true</value>
|
||||
<value type="bool" key="EditorConfiguration.cleanIndentation">true</value>
|
||||
<value type="bool" key="EditorConfiguration.cleanWhitespace">true</value>
|
||||
<value type="bool" key="EditorConfiguration.inEntireDocument">false</value>
|
||||
</valuemap>
|
||||
</data>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.PluginSettings</variable>
|
||||
<valuemap type="QVariantMap">
|
||||
<valuelist type="QVariantList" key="ClangCodeModel.CustomCommandLineKey">
|
||||
<value type="QString">-fno-delayed-template-parsing</value>
|
||||
</valuelist>
|
||||
<value type="bool" key="ClangCodeModel.UseGlobalConfig">true</value>
|
||||
</valuemap>
|
||||
</data>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.Target.0</variable>
|
||||
<valuemap type="QVariantMap">
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop Qt 5.12.3 MinGW 64-bit</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop Qt 5.12.3 MinGW 64-bit</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">qt.qt5.5123.win64_mingw73_kit</value>
|
||||
<value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value>
|
||||
<value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
|
||||
<value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
|
||||
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">D:/Qt/build-car-Desktop_Qt_5_12_3_MinGW_64_bit-Debug</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">true</value>
|
||||
<value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.SeparateDebugInfo">false</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.UseQtQuickCompiler">false</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
|
||||
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
|
||||
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Debug</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Debug</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
|
||||
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
|
||||
<value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1">
|
||||
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">D:/Qt/build-car-Desktop_Qt_5_12_3_MinGW_64_bit-Release</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
|
||||
<value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.SeparateDebugInfo">false</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.UseQtQuickCompiler">true</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
|
||||
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
|
||||
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Release</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Release</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
|
||||
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
|
||||
<value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.2">
|
||||
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">D:/Qt/build-car-Desktop_Qt_5_12_3_MinGW_64_bit-Profile</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">true</value>
|
||||
<value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.SeparateDebugInfo">true</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.UseQtQuickCompiler">true</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
|
||||
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
|
||||
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Profile</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Profile</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
|
||||
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
|
||||
<value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">3</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">部署</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy Configuration</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
|
||||
<value type="QString" key="Analyzer.Perf.CallgraphMode">dwarf</value>
|
||||
<valuelist type="QVariantList" key="Analyzer.Perf.Events">
|
||||
<value type="QString">cpu-cycles</value>
|
||||
</valuelist>
|
||||
<valuelist type="QVariantList" key="Analyzer.Perf.ExtraArguments"/>
|
||||
<value type="int" key="Analyzer.Perf.Frequency">250</value>
|
||||
<value type="QString" key="Analyzer.Perf.SampleMode">-F</value>
|
||||
<value type="bool" key="Analyzer.Perf.Settings.UseGlobalSettings">true</value>
|
||||
<value type="int" key="Analyzer.Perf.StackSize">4096</value>
|
||||
<value type="bool" key="Analyzer.QmlProfiler.AggregateTraces">false</value>
|
||||
<value type="bool" key="Analyzer.QmlProfiler.FlushEnabled">false</value>
|
||||
<value type="uint" key="Analyzer.QmlProfiler.FlushInterval">1000</value>
|
||||
<value type="QString" key="Analyzer.QmlProfiler.LastTraceFile"></value>
|
||||
<value type="bool" key="Analyzer.QmlProfiler.Settings.UseGlobalSettings">true</value>
|
||||
<valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
|
||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
|
||||
<value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
|
||||
<value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
|
||||
<value type="QString" key="Analyzer.Valgrind.KCachegrindExecutable">kcachegrind</value>
|
||||
<value type="int" key="Analyzer.Valgrind.LeakCheckOnFinish">1</value>
|
||||
<value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
|
||||
<valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
|
||||
<value type="int" key="Analyzer.Valgrind.SelfModifyingCodeDetection">1</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.ShowReachable">false</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
|
||||
<value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
|
||||
<valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
|
||||
<value type="int">0</value>
|
||||
<value type="int">1</value>
|
||||
<value type="int">2</value>
|
||||
<value type="int">3</value>
|
||||
<value type="int">4</value>
|
||||
<value type="int">5</value>
|
||||
<value type="int">6</value>
|
||||
<value type="int">7</value>
|
||||
<value type="int">8</value>
|
||||
<value type="int">9</value>
|
||||
<value type="int">10</value>
|
||||
<value type="int">11</value>
|
||||
<value type="int">12</value>
|
||||
<value type="int">13</value>
|
||||
<value type="int">14</value>
|
||||
</valuelist>
|
||||
<value type="int" key="PE.EnvironmentAspect.Base">2</value>
|
||||
<valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">car</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration:D:/Qt/car/car.pro</value>
|
||||
<value type="QString" key="RunConfiguration.Arguments"></value>
|
||||
<value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
|
||||
<value type="bool" key="RunConfiguration.UseCppDebugger">false</value>
|
||||
<value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value>
|
||||
<value type="bool" key="RunConfiguration.UseLibrarySearchPath">true</value>
|
||||
<value type="bool" key="RunConfiguration.UseMultiProcess">false</value>
|
||||
<value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
|
||||
<value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
|
||||
<value type="QString" key="RunConfiguration.WorkingDirectory"></value>
|
||||
<value type="QString" key="RunConfiguration.WorkingDirectory.default">D:/Qt/build-car-Desktop_Qt_5_12_3_MinGW_64_bit-Debug</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
|
||||
</valuemap>
|
||||
</data>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.TargetCount</variable>
|
||||
<value type="int">1</value>
|
||||
</data>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.Updater.FileVersion</variable>
|
||||
<value type="int">21</value>
|
||||
</data>
|
||||
<data>
|
||||
<variable>Version</variable>
|
||||
<value type="int">21</value>
|
||||
</data>
|
||||
</qtcreator>
|
||||
@ -0,0 +1,14 @@
|
||||
#include "first.h"
|
||||
#include "ui_first.h"
|
||||
|
||||
first::first(QWidget *parent) :
|
||||
QMainWindow(parent),
|
||||
ui(new Ui::first)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
}
|
||||
|
||||
first::~first()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
@ -0,0 +1,22 @@
|
||||
#ifndef FIRST_H
|
||||
#define FIRST_H
|
||||
|
||||
#include <QMainWindow>
|
||||
|
||||
namespace Ui {
|
||||
class first;
|
||||
}
|
||||
|
||||
class first : public QMainWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit first(QWidget *parent = nullptr);
|
||||
~first();
|
||||
|
||||
private:
|
||||
Ui::first *ui;
|
||||
};
|
||||
|
||||
#endif // FIRST_H
|
||||
@ -0,0 +1,129 @@
|
||||
#include "function.h"
|
||||
#include "ui_function.h"
|
||||
#include <QDebug>
|
||||
#include <QMessageBox>
|
||||
#include <QSqlQuery>
|
||||
#include <QSqlRecord>
|
||||
#include <QDate>
|
||||
|
||||
function::function(QWidget *parent) :
|
||||
QMainWindow(parent),
|
||||
ui(new Ui::function)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
if (!QSqlDatabase::contains("qt_sql_default_connection")) {
|
||||
db = QSqlDatabase::addDatabase("QODBC");
|
||||
}
|
||||
else{
|
||||
// 如果存在,使用现有的连接
|
||||
db = QSqlDatabase::database("qt_sql_default_connection");
|
||||
}
|
||||
|
||||
QString dsn = QString::fromLocal8Bit("qtdsn"); //数据源名称
|
||||
db.setHostName("127.0.0.1"); //本地主机
|
||||
db.setDatabaseName(dsn); //设置数据源名称
|
||||
db.setUserName("sa"); //登录用户名
|
||||
db.setPassword("200557"); //设置密码
|
||||
if(!db.open()){
|
||||
qDebug() << "无法打开数据库:" ;
|
||||
}
|
||||
else{
|
||||
qDebug() << "成功打开数据库!";
|
||||
}
|
||||
}
|
||||
|
||||
function::~function()
|
||||
{
|
||||
delete ui;
|
||||
if (db.isOpen()) {
|
||||
db.close();
|
||||
}
|
||||
}
|
||||
|
||||
void function::on_pushButton_clicked()
|
||||
{
|
||||
static QString id=ui->lineEdit->text();
|
||||
static QString password=ui->lineEdit_2->text();
|
||||
static QString carnum=ui->lineEdit_3->text();
|
||||
if(id=="sheep"&&password=="200557"){
|
||||
QSqlQuery result(db);
|
||||
// 执行查询操作
|
||||
result.prepare("SELECT * FROM [car].[dbo].[car] WHERE carnum = :carnum");
|
||||
result.bindValue(":carnum",carnum);
|
||||
if (result.exec()){
|
||||
bool hasRecord = false; // 标记是否有匹配记录
|
||||
while (result.next()){
|
||||
hasRecord = true;
|
||||
for (int i = 0; i < result.record().count(); ++i) {
|
||||
qDebug() << result.record().fieldName(i) << ": " << result.value(i).toString();
|
||||
}
|
||||
qDebug() << "-------------------"; // 分隔不同车辆信息
|
||||
}
|
||||
}
|
||||
else{
|
||||
QMessageBox::warning(this, "查询失败", "输入日期错误,请重试");
|
||||
}
|
||||
}
|
||||
else{
|
||||
QMessageBox::warning(this, "查询失败", "用户名或密码错误,请重试");
|
||||
}
|
||||
}
|
||||
|
||||
void function::on_pushButton_2_clicked()
|
||||
{
|
||||
static QString id=ui->lineEdit->text();
|
||||
static QString password=ui->lineEdit_2->text();
|
||||
static QString parkingdate=ui->lineEdit_4->text();
|
||||
|
||||
|
||||
if(id=="sheep"&&password=="200557"){
|
||||
QSqlQuery result(db);
|
||||
// 执行查询操作
|
||||
result.prepare("SELECT * FROM [car].[dbo].[car] WHERE parkingdate = :parkingdate");
|
||||
result.bindValue(":parkingdate", parkingdate);
|
||||
if (result.exec()){
|
||||
bool hasRecord = false; // 标记是否有匹配记录
|
||||
while (result.next()){
|
||||
hasRecord = true;
|
||||
for (int i = 0; i < result.record().count(); ++i){
|
||||
qDebug() << result.record().fieldName(i) << ": " << result.value(i).toString();
|
||||
}
|
||||
qDebug() << "-------------------"; // 分隔不同车辆信息
|
||||
}
|
||||
}
|
||||
else{
|
||||
QMessageBox::warning(this, "查询失败", "输入日期错误,请重试");
|
||||
}
|
||||
}
|
||||
else{
|
||||
QMessageBox::warning(this, "查询失败", "用户名或密码错误,请重试");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
void function::on_pushButton_3_clicked()
|
||||
{
|
||||
QDate currentDate = QDate::currentDate();
|
||||
QString parkingdate = currentDate.toString("yyyy-MM-dd");
|
||||
|
||||
qDebug()<<"本车库车位A1-A100";
|
||||
|
||||
QSqlQuery result(db);
|
||||
result.prepare("SELECT * FROM [car].[dbo].[car] WHERE parkingdate = :parkingdate AND status = '被使用中'");
|
||||
result.bindValue(":parkingdate", parkingdate); // 绑定参数
|
||||
if (result.exec()){
|
||||
bool hasRecord = false; // 标记是否有匹配记录
|
||||
while (result.next()){
|
||||
hasRecord = true;
|
||||
qDebug() << "目前停车场车位"<< result.value(1).toString() << "正在被使用!";
|
||||
}
|
||||
if (!hasRecord) {
|
||||
qDebug() << "没有正在被使用的车位,所有车位都可使用";
|
||||
}
|
||||
}
|
||||
else {
|
||||
QMessageBox::warning(this, "查询失败", "查询过程中出现错误");
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,31 @@
|
||||
#ifndef FUNCTION_H
|
||||
#define FUNCTION_H
|
||||
|
||||
#include <QMainWindow>
|
||||
#include <QSqlDatabase>
|
||||
|
||||
namespace Ui {
|
||||
class function;
|
||||
}
|
||||
|
||||
class function : public QMainWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit function(QWidget *parent = nullptr);
|
||||
~function();
|
||||
|
||||
private slots:
|
||||
void on_pushButton_2_clicked();
|
||||
|
||||
void on_pushButton_clicked();
|
||||
|
||||
void on_pushButton_3_clicked();
|
||||
|
||||
private:
|
||||
Ui::function *ui;
|
||||
QSqlDatabase db = QSqlDatabase::addDatabase("QODBC");
|
||||
};
|
||||
|
||||
#endif // FUNCTION_H
|
||||
@ -0,0 +1,186 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>function</class>
|
||||
<widget class="QMainWindow" name="function">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>491</width>
|
||||
<height>392</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>MainWindow</string>
|
||||
</property>
|
||||
<widget class="QWidget" name="centralwidget">
|
||||
<widget class="QPushButton" name="pushButton">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>230</x>
|
||||
<y>160</y>
|
||||
<width>221</width>
|
||||
<height>41</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">font: 11pt "Agency FB";</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>查询该车停车记录</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>160</y>
|
||||
<width>71</width>
|
||||
<height>41</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">
|
||||
font: 12pt "Agency FB";</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>车牌号</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>100</x>
|
||||
<y>40</y>
|
||||
<width>101</width>
|
||||
<height>41</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>30</x>
|
||||
<y>40</y>
|
||||
<width>61</width>
|
||||
<height>41</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">font: 12pt "Agency FB";</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>账号</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label_3">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>30</x>
|
||||
<y>100</y>
|
||||
<width>61</width>
|
||||
<height>41</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">font: 12pt "Agency FB";</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>密码</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>100</x>
|
||||
<y>100</y>
|
||||
<width>101</width>
|
||||
<height>41</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_3">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>100</x>
|
||||
<y>160</y>
|
||||
<width>101</width>
|
||||
<height>41</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label_4">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>30</x>
|
||||
<y>220</y>
|
||||
<width>51</width>
|
||||
<height>41</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">
|
||||
font: 12pt "Agency FB";</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>日期</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>230</x>
|
||||
<y>220</y>
|
||||
<width>221</width>
|
||||
<height>41</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">font: 11pt "Agency FB";</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>查询该日期停车记录</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_4">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>100</x>
|
||||
<y>220</y>
|
||||
<width>101</width>
|
||||
<height>41</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_3">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>50</x>
|
||||
<y>280</y>
|
||||
<width>391</width>
|
||||
<height>51</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">font: 11pt "Agency FB";</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>查询目前车库车位使用情况</string>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<widget class="QMenuBar" name="menubar">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>491</width>
|
||||
<height>17</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QStatusBar" name="statusbar"/>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||
@ -0,0 +1,36 @@
|
||||
#include "login.h"
|
||||
#include "ui_login.h"
|
||||
#include "function.h"
|
||||
#include "userfunction.h"
|
||||
|
||||
MainWindow::MainWindow(QWidget *parent) :
|
||||
QMainWindow(parent),
|
||||
ui(new Ui::MainWindow)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
}
|
||||
|
||||
MainWindow::~MainWindow()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void MainWindow::on_pushButton_clicked()
|
||||
{
|
||||
static function *functionpage = nullptr;
|
||||
if (functionpage == nullptr) {
|
||||
functionpage = new function;
|
||||
this->hide();
|
||||
functionpage->show();
|
||||
}
|
||||
}
|
||||
|
||||
void MainWindow::on_pushButton_2_clicked()
|
||||
{
|
||||
static userfunction *functionpage = nullptr;
|
||||
if (functionpage == nullptr) {
|
||||
functionpage = new userfunction;
|
||||
this->hide();
|
||||
functionpage->show();
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,27 @@
|
||||
#ifndef LOGIN_H
|
||||
#define LOGIN_H
|
||||
|
||||
#include <QMainWindow>
|
||||
|
||||
namespace Ui {
|
||||
class MainWindow;
|
||||
}
|
||||
|
||||
class MainWindow : public QMainWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit MainWindow(QWidget *parent = nullptr);
|
||||
~MainWindow();
|
||||
|
||||
private slots:
|
||||
void on_pushButton_clicked();
|
||||
|
||||
void on_pushButton_2_clicked();
|
||||
|
||||
private:
|
||||
Ui::MainWindow *ui;
|
||||
};
|
||||
|
||||
#endif // LOGIN_H
|
||||
@ -0,0 +1,89 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>MainWindow</class>
|
||||
<widget class="QMainWindow" name="MainWindow">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>386</width>
|
||||
<height>359</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>MainWindow</string>
|
||||
</property>
|
||||
<widget class="QWidget" name="centralWidget">
|
||||
<widget class="QPushButton" name="pushButton">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>120</x>
|
||||
<y>120</y>
|
||||
<width>121</width>
|
||||
<height>31</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">font: 12pt "Agency FB";</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>管理员</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>120</x>
|
||||
<y>70</y>
|
||||
<width>211</width>
|
||||
<height>31</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">font: 12pt "Agency FB";</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string> 请选择您的身份</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>120</x>
|
||||
<y>180</y>
|
||||
<width>121</width>
|
||||
<height>31</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">font: 12pt "Agency FB";</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>用户</string>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<widget class="QMenuBar" name="menuBar">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>386</width>
|
||||
<height>17</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QToolBar" name="mainToolBar">
|
||||
<attribute name="toolBarArea">
|
||||
<enum>TopToolBarArea</enum>
|
||||
</attribute>
|
||||
<attribute name="toolBarBreak">
|
||||
<bool>false</bool>
|
||||
</attribute>
|
||||
</widget>
|
||||
<widget class="QStatusBar" name="statusBar"/>
|
||||
</widget>
|
||||
<layoutdefault spacing="6" margin="11"/>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||
@ -0,0 +1,11 @@
|
||||
#include "login.h"
|
||||
#include <QApplication>
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
QApplication a(argc, argv);
|
||||
MainWindow w;
|
||||
w.show();
|
||||
//111
|
||||
return a.exec();
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
#include "mainwindow.h"
|
||||
#include "ui_mainwindow.h"
|
||||
|
||||
MainWindow::MainWindow(QWidget *parent) :
|
||||
QMainWindow(parent),
|
||||
ui(new Ui::MainWindow)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
}
|
||||
//111
|
||||
MainWindow::~MainWindow()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
@ -0,0 +1,22 @@
|
||||
#ifndef MAINWINDOW_H
|
||||
#define MAINWINDOW_H
|
||||
|
||||
#include <QMainWindow>
|
||||
|
||||
namespace Ui {
|
||||
class MainWindow;
|
||||
}
|
||||
|
||||
class MainWindow : public QMainWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit MainWindow(QWidget *parent = nullptr);
|
||||
~MainWindow();
|
||||
|
||||
private:
|
||||
Ui::MainWindow *ui;
|
||||
};
|
||||
|
||||
#endif // MAINWINDOW_H
|
||||
@ -0,0 +1,209 @@
|
||||
#include "userfunction.h"
|
||||
#include "ui_userfunction.h"
|
||||
#include <QDebug>
|
||||
#include <QMessageBox>
|
||||
#include <QSqlQuery>
|
||||
#include <QSqlRecord>
|
||||
#include<QDateTime>
|
||||
|
||||
//完善功能
|
||||
userfunction::userfunction(QWidget *parent) :
|
||||
QMainWindow(parent),
|
||||
ui(new Ui::userfunction)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
if (!QSqlDatabase::contains("qt_sql_default_connection")) {
|
||||
db = QSqlDatabase::addDatabase("QODBC");
|
||||
}
|
||||
else{
|
||||
// 如果存在,使用现有的连接
|
||||
db = QSqlDatabase::database("qt_sql_default_connection");
|
||||
}
|
||||
|
||||
QString dsn = QString::fromLocal8Bit("qtdsn"); //数据源名称
|
||||
db.setHostName("127.0.0.1"); //本地主机
|
||||
db.setDatabaseName(dsn); //设置数据源名称
|
||||
db.setUserName("sa"); //登录用户
|
||||
db.setPassword("200557"); //密码
|
||||
if(!db.open()){
|
||||
qDebug() << "无法打开数据库:" ;
|
||||
}
|
||||
else{
|
||||
qDebug() << "成功打开数据库!";
|
||||
}
|
||||
}
|
||||
|
||||
userfunction::~userfunction()
|
||||
{
|
||||
delete ui;
|
||||
if (db.isOpen()) {
|
||||
db.close();
|
||||
}
|
||||
}
|
||||
|
||||
void userfunction::on_pushButton_clicked()
|
||||
{
|
||||
QDate currentDate = QDate::currentDate();
|
||||
QString parkingdate = currentDate.toString("yyyy-MM-dd");
|
||||
|
||||
qDebug()<<"本车库车位A1-A100";
|
||||
|
||||
QSqlQuery result(db);
|
||||
result.prepare("SELECT * FROM [car].[dbo].[car] WHERE parkingdate = :parkingdate AND status = '被使用中'");
|
||||
result.bindValue(":parkingdate", parkingdate); // 绑定参数
|
||||
if (result.exec()){
|
||||
bool hasRecord = false; // 标记是否有匹配记录
|
||||
while (result.next()){
|
||||
hasRecord = true;
|
||||
qDebug() << result.value(1).toString() << "车位正在被使用!";
|
||||
}
|
||||
if (!hasRecord) {
|
||||
qDebug() << "没有正在被使用的车位,所有车位都可使用";
|
||||
}
|
||||
else{
|
||||
qDebug() <<"其余车位都可使用";
|
||||
}
|
||||
}
|
||||
else {
|
||||
QMessageBox::warning(this, "查询失败", "查询过程中出现错误");
|
||||
}
|
||||
}
|
||||
|
||||
void userfunction::on_pushButton_2_clicked()
|
||||
{
|
||||
static QString carnum=ui->lineEdit->text();
|
||||
static QString parkingnum=ui->lineEdit_2->text();
|
||||
QDate currentDate = QDate::currentDate();
|
||||
QDateTime currentDateTime = QDateTime::currentDateTime();
|
||||
QString parkingdate = currentDate.toString("yyyy-MM-dd");
|
||||
QString intime= currentDateTime.toString("yyyy-MM-dd hh:mm:ss");
|
||||
|
||||
|
||||
QSqlQuery result(db);
|
||||
// 执行查询操作
|
||||
result.prepare("SELECT * FROM [car].[dbo].[car] WHERE parkingnum= :parkingnum AND status='被使用中'");
|
||||
result.bindValue(":parkingnum",parkingnum);
|
||||
if(carnum!=nullptr){
|
||||
if(result.exec()){
|
||||
QSqlQuery insertUser(db);
|
||||
insertUser.prepare("INSERT INTO [car].[dbo].[car] (parkingdate,parkingnum,carnum,status,intime) VALUES (:parkingdate,:parkingnum,:carnum,:status,:intime )");
|
||||
insertUser.bindValue(":parkingdate",parkingdate);
|
||||
insertUser.bindValue(":carnum", carnum);
|
||||
insertUser.bindValue(":parkingnum",parkingnum);
|
||||
insertUser.bindValue(":status","被使用中");
|
||||
insertUser.bindValue(":intime",intime);
|
||||
if (insertUser.exec()){
|
||||
qDebug() << "停车成功!";
|
||||
}
|
||||
else{
|
||||
qDebug() << "停车失败!";
|
||||
}
|
||||
|
||||
}
|
||||
else{
|
||||
QMessageBox::warning(this, "停车失败", "该车位正在使用中!");
|
||||
}
|
||||
}
|
||||
else{
|
||||
QMessageBox::warning(this, "选择失败", "请输入选择车位!");
|
||||
}
|
||||
}
|
||||
|
||||
void userfunction::on_pushButton_3_clicked()
|
||||
{
|
||||
QString carnum = ui->lineEdit->text();
|
||||
QString parkingnum = ui->lineEdit_2->text();
|
||||
QDate currentDate = QDate::currentDate();
|
||||
QDateTime currentDateTime = QDateTime::currentDateTime();
|
||||
QString parkingdate = currentDate.toString("yyyy-MM-dd");
|
||||
QString outtime = currentDateTime.toString("yyyy-MM-dd hh:mm:ss");
|
||||
|
||||
QSqlQuery result(db);
|
||||
// 执行查询操作
|
||||
result.prepare("SELECT * FROM [car].[dbo].[car] WHERE parkingdate = :parkingdate AND parkingnum = :parkingnum AND carnum = :carnum");
|
||||
result.bindValue(":parkingdate", parkingdate);
|
||||
result.bindValue(":parkingnum", parkingnum);
|
||||
result.bindValue(":carnum", carnum);
|
||||
|
||||
if (result.exec()) {
|
||||
while (result.next()) {
|
||||
QString valueStr = result.value(4).toString().trimmed(); // 去除首尾空格
|
||||
if (valueStr.isEmpty()) {
|
||||
qDebug() << "时间字段为空: " << valueStr;
|
||||
continue; // 跳过本次循环
|
||||
}
|
||||
qDebug() << valueStr;
|
||||
QDateTime intime;
|
||||
QStringList formats = {
|
||||
"yyyy-MM-dd hh:mm:ss",
|
||||
"yyyy/MM/dd hh:mm:ss",
|
||||
"yyyy-MM-dd hh:mm:ss.zzz",
|
||||
"yyyy-MM-dd HH:mm:ss" // 添加更多可能的格式
|
||||
};
|
||||
for (const QString& format : formats) {
|
||||
intime = QDateTime::fromString(valueStr, format);
|
||||
if (intime.isValid()) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (!intime.isValid()) {
|
||||
qDebug() << "无效的时间字符串: " << valueStr;
|
||||
continue; // 跳过本次循环
|
||||
}
|
||||
|
||||
// 检查 intime 是否在当前时间之前
|
||||
if (intime > currentDateTime) {
|
||||
qDebug() << "入库时间晚于当前时间,可能数据异常: " << valueStr;
|
||||
continue;
|
||||
}
|
||||
|
||||
qint64 secondsDifference = intime.secsTo(currentDateTime);
|
||||
qDebug() << "时间差(秒):" << secondsDifference;
|
||||
|
||||
int cost = secondsDifference*2;
|
||||
|
||||
QSqlQuery query;
|
||||
query.prepare("UPDATE [car].[dbo].[car] SET status = :status, outtime = :outtime, cost = :cost WHERE parkingdate = :parkingdate AND parkingnum = :parkingnum AND carnum = :carnum");
|
||||
query.bindValue(":status", "未使用");
|
||||
query.bindValue(":outtime", outtime);
|
||||
query.bindValue(":cost", cost);
|
||||
query.bindValue(":parkingdate", parkingdate);
|
||||
query.bindValue(":parkingnum", parkingnum);
|
||||
query.bindValue(":carnum", carnum);
|
||||
|
||||
if (!query.exec()) {
|
||||
qDebug() << "更新数据失败: ";
|
||||
}else {
|
||||
qDebug() << "出库成功!";
|
||||
}
|
||||
}
|
||||
} else {
|
||||
qDebug() << "出库失败!";
|
||||
}
|
||||
}
|
||||
|
||||
void userfunction::on_pushButton_4_clicked()
|
||||
{
|
||||
static QString carnum=ui->lineEdit->text();
|
||||
static QString parkingnum=ui->lineEdit_2->text();
|
||||
|
||||
QSqlQuery result(db);
|
||||
result.prepare("SELECT * FROM [car].[dbo].[car] WHERE parkingnum=:parkingnum AND carnum = :carnum" );
|
||||
result.bindValue(":parkingnum",parkingnum);
|
||||
result.bindValue(":carnum",carnum);
|
||||
if (result.exec()) {
|
||||
if (result.next()) { // 将指针移动到第一条记录
|
||||
qDebug()<<"------电子小票------";
|
||||
qDebug() << "入库时间:" << result.value(4).toString();
|
||||
qDebug() << "出库时间:" << result.value(5).toString();
|
||||
qDebug() << "花费:" << result.value(6).toString();
|
||||
}
|
||||
else{
|
||||
qDebug() << "未找到符合条件的记录";
|
||||
}
|
||||
}
|
||||
else{
|
||||
qDebug() << "查询执行失败: ";
|
||||
}
|
||||
}
|
||||
Loading…
Reference in new issue