-
Notifications
You must be signed in to change notification settings - Fork 251
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to Qt 5.12.12, Visual Studio 2017 Build Tools, simplify and cm…
…ake (#239) Signed-off-by: Alexander Wenzel <[email protected]>
- Loading branch information
Showing
11 changed files
with
393 additions
and
167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,17 @@ | ||
DLT Viewer - Installation | ||
========================= | ||
# DLT Viewer - Installation | ||
|
||
Alexander Wenzel <[email protected]> | ||
|
||
Instructions for installing DLT Viewer (GUI) | ||
-------------------------------------------- | ||
## Instructions for installing DLT Viewer (GUI) | ||
|
||
* Install Qt5 SDK including Qt Creator and MSVC 2015 for 64bit Windows builds | ||
* Tested with QT 5.12.4 (Windows) and Qt 5.9.5 (Ubuntu Linux) | ||
* Install Qt5 SDK including Qt Creator and Microsoft Visual Studio Build Tools 2017 | ||
* Tested with QT 5.12.12 (Windows) and Qt 5.9.5 (Ubuntu Linux) | ||
* Open project BuildDltViewer.pro in Qt Creator. | ||
* Ensure that build options point to correct QT and MSVC. | ||
* Build Release in Qt Creator or via CMake (see last). | ||
* Optional Linux: set the library path in Qt Creator: Add variable to Projects/Build Settings/Build Environment: LD_LIBRARY_PATH = . | ||
|
||
Instructions for installing DLT Viewer (Linux command line) | ||
---------------------------------------------------------- | ||
## Instructions for installing DLT Viewer (Linux command line) | ||
|
||
* sudo apt install build-essential | ||
* sudo apt install qtcreator | ||
|
@@ -27,45 +25,31 @@ Instructions for installing DLT Viewer (Linux command line) | |
* sudo ldconfig | ||
* Optional: set the library path: LD_LIBRARY_PATH = . | ||
|
||
Create SDK (Windows) | ||
-------------------- | ||
## Build DLT Viewer in Windows | ||
|
||
Microsoft Visual C++ 2015 (64bit): | ||
* Install Qt5 SDK and MSVC 2015 (you can use the free "Community" version). | ||
* If your Qt installation does not match "C:\Qt\Qt5.12.4\5.12.4\msvc2015_64" (for 64 bit), | ||
you can set the correct path as environment variable "QTDIR" in your system properties. | ||
* Adjust and run build_sdk_windows_qt5_MSVC.bat with optional parameter (the current system's architecture is used by default). | ||
* Install Qt5 SDK and Microsoft Visual Studio Build Tools 2017 | ||
* If needed adapt you configuration in build_sdk_windows_qt5_MSVC.bat | ||
* Run build_sdk_windows_qt5_MSVC.bat | ||
|
||
The SDK will be installed to C:\Users\%USERNAME%\DltViewerSDK\ | ||
The DLT Viewer will be installed by default in C:\DltViewerSDK | ||
|
||
Optional: Prepare Installation Qwt (Windows) | ||
-------------------------------------------- | ||
## Optional: Prepare Installation Qwt (Windows) | ||
|
||
Some DLT Viewer plugins will use the Qwt library for displaying graphs. | ||
The Qwt library must be compiled and installed before it can be used. | ||
|
||
(Tested with Qwt 6.1.4) | ||
(Tested with Qwt 6.2.0) | ||
|
||
Microsoft Visual C++ 2015 (64bit): | ||
* Install Qt5 SDK for Visual C++ 2015 (you can use the free "Community" version) | ||
* Extract Qwt Zip package | ||
* If you like, you can adjust the installation path by changing the variable "QWT_INSTALL_PREFIX" in qwtconfig.pri | ||
* Start Qt commandline from Start->Qt_5.x.x | ||
* Change into Qwt directory | ||
* Execute "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86_amd64 | ||
for 64bit. | ||
* Execute qmake qwt.pro | ||
* Execute "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\nmake.exe" | ||
* Execute "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\nmake.exe" install | ||
* Install Qt5 SDK and Microsoft Visual Studio Build Tools 2017 | ||
* Copy Qwt zip package qwt-6.2.0.zip to DLT Viewer folder | ||
* Run build_qwt_windows_qt5_MSVC.bat | ||
|
||
Create SDK (Linux) | ||
------------------ | ||
## Create SDK (Linux) | ||
|
||
* Compile DLT Viewer as described in "Build DLT-viewer Linux" | ||
* Call "sudo make install" to install dlt-viewer including libraries and headers for SDK | ||
|
||
Create SDK Documentation (Windows) | ||
---------------------------------- | ||
## Create SDK Documentation (Windows) | ||
|
||
* Install doxygen and graphviz | ||
* Change into project directory | ||
|
@@ -74,8 +58,7 @@ Create SDK Documentation (Windows) | |
* (Optional) doxygen sdk\doxygen_dlt_viewer_qdlt.cfg | ||
* You will find the documentation in the doc directory | ||
|
||
Create SDK Documentation (Linux) | ||
-------------------------------- | ||
## Create SDK Documentation (Linux) | ||
|
||
* Install doxygen and graphviz | ||
* Change into project directory | ||
|
@@ -84,8 +67,7 @@ Create SDK Documentation (Linux) | |
* (Optional) doxygen sdk/doxygen_dlt_viewer_qdlt.cfg | ||
* You will find the documentation in the doc directory | ||
|
||
Create manuals documentation | ||
---------------------------- | ||
## Create manuals documentation | ||
|
||
The plugins programming manual is generated with asciidoc. | ||
Call | ||
|
@@ -103,10 +85,8 @@ sudo apt-get install texlive texlive-latex-extra | |
To create a pdf format output use: | ||
pdflatex dlt-viewer_user_manual.tex | ||
|
||
## Instructions for building DLT Viewer with CMake (Linux and MacOS command line) | ||
|
||
|
||
Instructions for building DLT Viewer with CMake (Linux and MacOS command line) | ||
---------------------------------------------------------- | ||
CMake is a "meta" make system. This means CMake creates a make system | ||
for various make solutions including command line build tools like | ||
"Unix Makefiles", or IDE tools like "Visual Studio". | ||
|
@@ -143,8 +123,8 @@ Then give the Qt directory to CMake and build: | |
The application is built in "bin/DLT Viewer.app", it can be launched from Finder or the command line: | ||
open -a $DLT_BUILD_DIR/bin/DLT\ Viewer.app | ||
|
||
Building DLT Viewer release version with Qmake on MacOs | ||
-------------------------------------------------------- | ||
## Building DLT Viewer release version with Qmake on MacOs | ||
|
||
Sometimes building with Cmake or in Qt Creator leads to Plugins not working in DLT Viewer. | ||
Building with qmake in release version gets rid of this problem. | ||
Steps to follow: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.