This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
university:tools:m2k:scopy:build-linux [22 Jul 2020 13:56] Adrian Suciu |
university:tools:m2k:scopy:build-linux [24 Jul 2020 10:54] Adrian Suciu Updated Linux build guide |
||
---|---|---|---|
Line 13: | Line 13: | ||
This will fetch the latest sources from GitHub to a "scopy" directory. | This will fetch the latest sources from GitHub to a "scopy" directory. | ||
- | In order to install the dependencies run the following script: | + | This following command will use system Qt version |
- | <note important>Replace QMAKE=... from scopy/CI/appveyor/install_ubuntu_deps.sh with the <Qt installed location>/version/gcc_64/bin/qmake</note> | + | |
<xterm> | <xterm> | ||
**scopy/CI/appveyor/install_ubuntu_deps.sh** | **scopy/CI/appveyor/install_ubuntu_deps.sh** | ||
</xterm> | </xterm> | ||
+ | or if you want to use a custom version of Qt (the one you just installed) - scopy/CI/appveyor/install_ubuntu_deps.sh <path_to_qt_> for example: | ||
+ | <xterm> | ||
+ | **scopy/CI/appveyor/install_ubuntu_deps.sh /home/Adi/Qt/5.15.0/gcc_64** | ||
+ | | ||
+ | </xterm> | ||
+ | |||
This should install all of the dependencies required to build Scopy. | This should install all of the dependencies required to build Scopy. | ||
===== Building Scopy ===== | ===== Building Scopy ===== | ||
- | + | If you are using a custom Qt version set -DCMAKE_PREFIX_PATH to the <Qt installation folder>/lib/cmake. If you are using the system version don't set the -DCMAKE_PREFIX_PATH. | |
<xterm> | <xterm> | ||
**cd scopy | **cd scopy | ||
Line 30: | Line 33: | ||
cmake -DCMAKE_PREFIX_PATH=/home/adi/Qt/5.15.0/gcc_64/lib/cmake ../** | cmake -DCMAKE_PREFIX_PATH=/home/adi/Qt/5.15.0/gcc_64/lib/cmake ../** | ||
</xterm> | </xterm> | ||
- | Where -DCMAKE_PREFIX_PATH=path to the installed Qt version | ||
If everything goes well, the output should be "Configuring done" and "Generating done". | If everything goes well, the output should be "Configuring done" and "Generating done". | ||