Browse Source

Release Version Compiled in MSVC2019

AGP
poocka 7 years ago
parent
commit
e25fb0843f
  1. 70
      .gitignore
  2. 7
      Projects/QT-Gui-App/Win32-QT-gui-application_2019.vcxproj
  3. 4
      Projects/QT-Gui-App/Win32-QT-gui-application_2019.vcxproj.user
  4. 2
      lib/gui/controls/FSVideoWidget.cpp
  5. 1104
      lib/gui/controls/LrfSensorWidget.cpp
  6. 32
      lib/gui/controls/RangeMapWidget.cpp
  7. 95
      lib/gui/gui.h

70
.gitignore

@ -7,4 +7,72 @@
*.pdb
*.opensdf
*.suo
*~
*~
/Projects/QT-Gui-App/swscale-4.dll
/Projects/QT-Gui-App/swresample-2.dll
/Projects/QT-Gui-App/ssleay32.dll
/Projects/QT-Gui-App/smpeg2.dll
/Projects/QT-Gui-App/Qt5Widgetsd.dll
/Projects/QT-Gui-App/Qt5Widgets.dll
/Projects/QT-Gui-App/Qt5Networkd.dll
/Projects/QT-Gui-App/Qt5Network.dll
/Projects/QT-Gui-App/Qt5Guid.dll
/Projects/QT-Gui-App/Qt5Gui.dll
/Projects/QT-Gui-App/Qt5Cored.dll
/Projects/QT-Gui-App/Qt5Core.dll
/Projects/QT-Gui-App/pthreadVC2.dll
/Projects/QT-Gui-App/postproc-54.dll
/Projects/QT-Gui-App/opencv_videostab249d.dll
/Projects/QT-Gui-App/opencv_video249d.dll
/Projects/QT-Gui-App/opencv_video249.dll
/Projects/QT-Gui-App/opencv_superres249d.dll
/Projects/QT-Gui-App/opencv_stitching249d.dll
/Projects/QT-Gui-App/opencv_stitching249.dll
/Projects/QT-Gui-App/opencv_photo249d.dll
/Projects/QT-Gui-App/opencv_ocl249d.dll
/Projects/QT-Gui-App/opencv_ocl249.dll
/Projects/QT-Gui-App/opencv_objdetect249d.dll
/Projects/QT-Gui-App/opencv_objdetect249.dll
/Projects/QT-Gui-App/opencv_nonfree249d.dll
/Projects/QT-Gui-App/opencv_nonfree249.dll
/Projects/QT-Gui-App/opencv_ml249d.dll
/Projects/QT-Gui-App/opencv_ml249.dll
/Projects/QT-Gui-App/opencv_legacy249d.dll
/Projects/QT-Gui-App/opencv_imgproc249d.dll
/Projects/QT-Gui-App/opencv_imgproc249.dll
/Projects/QT-Gui-App/opencv_highgui249d.dll
/Projects/QT-Gui-App/opencv_highgui249.dll
/Projects/QT-Gui-App/opencv_gpu249d.dll
/Projects/QT-Gui-App/opencv_gpu249.dll
/Projects/QT-Gui-App/opencv_flann249d.dll
/Projects/QT-Gui-App/opencv_flann249.dll
/Projects/QT-Gui-App/opencv_features2d249d.dll
/Projects/QT-Gui-App/opencv_features2d249.dll
/Projects/QT-Gui-App/opencv_core249d.dll
/Projects/QT-Gui-App/opencv_core249.dll
/Projects/QT-Gui-App/opencv_contrib249d.dll
/Projects/QT-Gui-App/opencv_calib3d249d.dll
/Projects/QT-Gui-App/opencv_calib3d249.dll
/Projects/QT-Gui-App/onvif_responce_1.txt
/Projects/QT-Gui-App/onvif_responce_0.txt
/Projects/QT-Gui-App/msvcr120d.dll
/Projects/QT-Gui-App/msvcr120.dll
/Projects/QT-Gui-App/msvcp120d.dll
/Projects/QT-Gui-App/msvcp120.dll
/Projects/QT-Gui-App/libeay32.dll
/Projects/QT-Gui-App/libcurld.dll
/Projects/QT-Gui-App/libcurl.dll
/Projects/QT-Gui-App/libconfig_d.dll
/Projects/QT-Gui-App/libconfig.dll
/Projects/QT-Gui-App/default.conf
/Projects/QT-Gui-App/avutil-55.dll
/Projects/QT-Gui-App/avformat-57.dll
/Projects/QT-Gui-App/avfilter-6.dll
/Projects/QT-Gui-App/avdevice-57.dll
/Projects/QT-Gui-App/avcodec-57.dll
/Projects/QT-Gui-App/platforms
/Projects/QT-Gui-App/Release
/Projects/QT-Gui-App/Debug
/Projects/QT-Gui-App/data/storage/2019/07/28
/Projects/QT-Gui-App/.vs/Win32-QT-gui-application/v16
/.vs

7
Projects/QT-Gui-App/Win32-QT-gui-application_2019.vcxproj

@ -38,7 +38,10 @@
<IncludePath>D:\W32LIBS\include;C:\FruchtSystems\W32LIBS\include;C:\Qt\Qt5.5.1\5.5\msvc2013\include;C:\LIBS\pthreads\include;C:\LIBS\Qt\5.12.2\msvc2017\include;$(IncludePath)</IncludePath>
<LibraryPath>C:\FruchtSystems\W32LIBS\lib;C:\MDXSDK\Lib\x86;C:\Qt\Qt5.5.1\5.5\msvc2013\lib;C:\LIBS\pthreads\lib\x86;D:\C\MS_LIBS\DXSDK\Lib\x86;D:\W32LIBS\lib;C:\LIBS\Qt\5.12.2\msvc2017\lib;$(LibraryPath)</LibraryPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<IncludePath>D:\W32LIBS\include;C:\FruchtSystems\W32LIBS\include;C:\Qt\Qt5.5.1\5.5\msvc2013\include;C:\LIBS\pthreads\include;C:\LIBS\Qt\5.12.2\msvc2017\include;$(IncludePath)</IncludePath>
<LibraryPath>C:\FruchtSystems\W32LIBS\lib;C:\MDXSDK\Lib\x86;C:\Qt\Qt5.5.1\5.5\msvc2013\lib;C:\LIBS\pthreads\lib\x86;D:\C\MS_LIBS\DXSDK\Lib\x86;D:\W32LIBS\lib;C:\LIBS\Qt\5.12.2\msvc2017\lib;$(LibraryPath)</LibraryPath>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PreprocessorDefinitions>_CLIENT_APPLICATION_;WITH_OPENSSL;WIN_XP;__STDC_FORMAT_MACROS;_DEBUG;DEBUG;HAVE_STRUCT_TIMESPEC;__STDC_LIMIT_MACROS;__STDC_CONSTANT_MACROS;_WINSOCKAPI_;WIN32;_CRT_SECURE_NO_WARNINGS;CURL_STATICLIB;OPENCV;__SSE2__;VL_DISABLE_AVX;VL_EMBED_INCODE;WITH_PURE_VIRTUAL</PreprocessorDefinitions>
@ -63,7 +66,7 @@
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<PreprocessorDefinitions>_CLIENT_APPLICATION_;WITH_OPENSSL;WIN_XP;__STDC_FORMAT_MACROS;_WINSOCKAPI_;WIN32;_CRT_SECURE_NO_WARNINGS;__STDC_CONSTANT_MACROS;CURL_STATICLIB;OPENCV;__SSE2__;VL_DISABLE_AVX;VL_EMBED_INCODE;WITH_PURE_VIRTUAL</PreprocessorDefinitions>
<PreprocessorDefinitions>_CLIENT_APPLICATION_;WITH_OPENSSL;WIN_XP;__STDC_FORMAT_MACROS;HAVE_STRUCT_TIMESPEC;__STDC_LIMIT_MACROS;__STDC_CONSTANT_MACROS;_WINSOCKAPI_;WIN32;_CRT_SECURE_NO_WARNINGS;CURL_STATICLIB;OPENCV;__SSE2__;VL_DISABLE_AVX;VL_EMBED_INCODE;WITH_PURE_VIRTUAL</PreprocessorDefinitions>
<SDLCheck>false</SDLCheck>
<AdditionalIncludeDirectories>C:\Qt\Qt5.5.1\5.5\msvc2010\include;D:\W32LIBS\include;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include;C:\vlfeat-0.9.20;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<EnableParallelCodeGeneration>true</EnableParallelCodeGeneration>

4
Projects/QT-Gui-App/Win32-QT-gui-application_2019.vcxproj.user

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup />
</Project>

2
lib/gui/controls/FSVideoWidget.cpp

@ -11,7 +11,7 @@ FSVideoWidget::FSVideoWidget(QWidget *parent) :
m_bDirectDrawing = true;
m_bUpdateIsPending = false;
setFixedSize( 640, 480 );
//setFixedSize( 640, 480 );
setMouseTracking( true );
//grabKeyboard();

1104
lib/gui/controls/LrfSensorWidget.cpp
File diff suppressed because it is too large
View File

32
lib/gui/controls/RangeMapWidget.cpp

@ -325,21 +325,23 @@ bool RangeMapWidget::eventFilter(QObject* ZZ/*obj*/, QEvent* evt ){
float tVal;
int idx;
idx = makeIdx( m_nCursorX, m_nCursorY );
if( idx > 0 && idx < ( m_nRangesCount -1 ) ) {
tVal = m_fMaxRange * ((float) m_pRanges[idx].values.min )/ 4096.f;
sprintf( tBuff, "%.2f m.", tVal );
//m_pStMiRaVal->setText(tBuff);
sprintf( tBuff, "%d dig.", m_pRanges[idx].values.min );
//m_pStMiSaVal->setText(tBuff);
tVal = m_fMaxRange * ((float) m_pRanges[idx].values.max )/ 4096.f;
sprintf( tBuff, "%.2f m.", tVal );
//m_pStMaRaVal->setText(tBuff);
sprintf( tBuff, "%d dig.", m_pRanges[idx].values.max );
//m_pStMaSaVal->setText(tBuff);
//m_oPixmap = QPixmap::fromImage(m_oImage);
//drawCords();
if (m_nRangesCount) {
if (idx > 0 && idx < (m_nRangesCount - 1)) {
tVal = m_fMaxRange * ((float)m_pRanges[idx].values.min) / 4096.f;
sprintf(tBuff, "%.2f m.", tVal);
//m_pStMiRaVal->setText(tBuff);
sprintf(tBuff, "%d dig.", m_pRanges[idx].values.min);
//m_pStMiSaVal->setText(tBuff);
tVal = m_fMaxRange * ((float)m_pRanges[idx].values.max) / 4096.f;
sprintf(tBuff, "%.2f m.", tVal);
//m_pStMaRaVal->setText(tBuff);
sprintf(tBuff, "%d dig.", m_pRanges[idx].values.max);
//m_pStMaSaVal->setText(tBuff);
//m_oPixmap = QPixmap::fromImage(m_oImage);
//drawCords();
};
};
//m_pImageLabel->setPixmap(m_oPixmap);

95
lib/gui/gui.h

@ -185,17 +185,104 @@
#pragma comment(lib, "qtlibpngd.lib")
#pragma comment(lib, "qtmaind.lib")
#else
// #pragma comment(lib, "Qt5Core.lib")
//#pragma comment(lib, "Qt5Gui.lib")
//#pragma comment(lib, "Qt5Widgets.lib")
//#pragma comment(lib, "Qt5Multimedia.lib")
//#pragma comment(lib, "Qt5MultimediaWidgets.lib")
//#pragma comment(lib, "Qt5Network.lib")
//#pragma comment(lib, "libEGL.lib")
//#pragma comment(lib, "libGLESv2.lib")
//#pragma comment(lib, "Qt5PlatformSupport.lib")
//#pragma comment(lib, "Qt5OpenGL.lib")
//#pragma comment(lib, "Qt5OpenGLExtensions.lib")
#pragma comment(lib, "libEGL.lib")
#pragma comment(lib, "libGLESv2.lib")
#pragma comment(lib, "Qt53DAnimation.lib")
#pragma comment(lib, "Qt53DCore.lib")
#pragma comment(lib, "Qt53DExtras.lib")
#pragma comment(lib, "Qt53DInput.lib")
#pragma comment(lib, "Qt53DLogic.lib")
#pragma comment(lib, "Qt53DQuickAnimation.lib")
#pragma comment(lib, "Qt53DQuick.lib")
#pragma comment(lib, "Qt53DQuickExtras.lib")
#pragma comment(lib, "Qt53DQuickInput.lib")
#pragma comment(lib, "Qt53DQuickRender.lib")
#pragma comment(lib, "Qt53DQuickScene2D.lib")
#pragma comment(lib, "Qt53DRender.lib")
#pragma comment(lib, "Qt5AccessibilitySupport.lib")
#pragma comment(lib, "Qt5AxBase.lib")
#pragma comment(lib, "Qt5AxContainer.lib")
#pragma comment(lib, "Qt5AxServer.lib")
#pragma comment(lib, "Qt5Bluetooth.lib")
#pragma comment(lib, "Qt5Charts.lib")
#pragma comment(lib, "Qt5Concurrent.lib")
#pragma comment(lib, "Qt5Core.lib")
#pragma comment(lib, "Qt5DataVisualization.lib")
#pragma comment(lib, "Qt5DBus.lib")
#pragma comment(lib, "Qt5DesignerComponents.lib")
#pragma comment(lib, "Qt5Designer.lib")
#pragma comment(lib, "Qt5DeviceDiscoverySupport.lib")
#pragma comment(lib, "Qt5EdidSupport.lib")
#pragma comment(lib, "Qt5EglSupport.lib")
#pragma comment(lib, "Qt5EventDispatcherSupport.lib")
#pragma comment(lib, "Qt5FbSupport.lib")
#pragma comment(lib, "Qt5FontDatabaseSupport.lib")
#pragma comment(lib, "Qt5Gamepad.lib")
#pragma comment(lib, "Qt5Gui.lib")
#pragma comment(lib, "Qt5Widgets.lib")
#pragma comment(lib, "Qt5Help.lib")
#pragma comment(lib, "Qt5Location.lib")
#pragma comment(lib, "Qt5Multimedia.lib")
#pragma comment(lib, "Qt5MultimediaQuick.lib")
#pragma comment(lib, "Qt5MultimediaWidgets.lib")
#pragma comment(lib, "Qt5NetworkAuth.lib")
#pragma comment(lib, "Qt5Network.lib")
#pragma comment(lib, "libEGL.lib")
#pragma comment(lib, "libGLESv2.lib")
#pragma comment(lib, "Qt5PlatformSupport.lib")
#pragma comment(lib, "Qt5Nfc.lib")
#pragma comment(lib, "Qt5OpenGL.lib")
#pragma comment(lib, "Qt5OpenGLExtensions.lib")
#pragma comment(lib, "Qt5PacketProtocol.lib")
#pragma comment(lib, "Qt5PlatformCompositorSupport.lib")
#pragma comment(lib, "Qt5Positioning.lib")
#pragma comment(lib, "Qt5PositioningQuick.lib")
#pragma comment(lib, "Qt5PrintSupport.lib")
#pragma comment(lib, "Qt5Qml.lib")
#pragma comment(lib, "Qt5QmlDebug.lib")
#pragma comment(lib, "Qt5QuickControls2.lib")
#pragma comment(lib, "Qt5Quick.lib")
#pragma comment(lib, "Qt5QuickParticles.lib")
#pragma comment(lib, "Qt5QuickShapes.lib")
#pragma comment(lib, "Qt5QuickTemplates2.lib")
#pragma comment(lib, "Qt5QuickTest.lib")
#pragma comment(lib, "Qt5QuickWidgets.lib")
#pragma comment(lib, "Qt5RemoteObjects.lib")
#pragma comment(lib, "Qt5Script.lib")
#pragma comment(lib, "Qt5ScriptTools.lib")
#pragma comment(lib, "Qt5Scxml.lib")
#pragma comment(lib, "Qt5Sensors.lib")
#pragma comment(lib, "Qt5SerialBus.lib")
#pragma comment(lib, "Qt5SerialPort.lib")
#pragma comment(lib, "Qt5Sql.lib")
#pragma comment(lib, "Qt5Svg.lib")
#pragma comment(lib, "Qt5Test.lib")
#pragma comment(lib, "Qt5TextToSpeech.lib")
#pragma comment(lib, "Qt5ThemeSupport.lib")
#pragma comment(lib, "Qt5UiTools.lib")
#pragma comment(lib, "Qt5VirtualKeyboard.lib")
#pragma comment(lib, "Qt5VulkanSupport.lib")
#pragma comment(lib, "Qt5WebChannel.lib")
#pragma comment(lib, "Qt5WebEngineCore.lib")
#pragma comment(lib, "Qt5WebEngine.lib")
#pragma comment(lib, "Qt5WebEngineWidgets.lib")
#pragma comment(lib, "Qt5WebSockets.lib")
#pragma comment(lib, "Qt5WebView.lib")
#pragma comment(lib, "Qt5Widgets.lib")
#pragma comment(lib, "Qt5WindowsUIAutomationSupport.lib")
#pragma comment(lib, "Qt5WinExtras.lib")
#pragma comment(lib, "Qt5Xml.lib")
#pragma comment(lib, "Qt5XmlPatterns.lib")
#pragma comment(lib, "qtfreetype.lib")
#pragma comment(lib, "qtlibpng.lib")
#pragma comment(lib, "qtmain.lib")
#endif
#endif
#include <QtOpenGL/QtOpenGL>

Loading…
Cancel
Save