Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# qmake / build artifacts
source/Makefile*
source/.qmake.stash
source/*.o
source/moc_*.cpp
source/moc_*.o
source/moc_predefs.h
source/ui_*.h
source/object_script.*
*.app/
3ddose_tools
3ddose_tools.exe
*.pro.user
.DS_Store
42 changes: 25 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,39 @@
# Compiling information for those with Qt5 dev tools installed:
# 3ddose_tools

To compile, go to the source directory and invoke the following 2 commands:
3ddose file analysis tool (CLRP). Requires **Qt 6**.

## Build

With Qt 6 development tools installed:

```
3ddose_tools/source> qmake
3ddose_tools/source> make
cd 3ddose_tools/source
qmake6 # or: qmake (if it points at Qt 6)
make
```

and an executable should appear in the parent directory.

# How to install from scratch
The executable appears in the parent directory as `3ddose_tools`.

If you don't have Qt5 installed, then you will need to do it manually, or through a package manager (like apt-get in Ubuntu). Here's an Ubuntu example:
### macOS (Homebrew)

```
sudo apt-get install qtbase5-dev qt5-qmake qtbase5-dev-tools
brew install qt
cd 3ddose_tools/source
/opt/homebrew/opt/qt/bin/qmake
make
```

Navigate to the directory you intend to install in, and invoke the following commands:
### Ubuntu / Debian

```
> git clone https://github.com/MartinMartinov/3ddose_tools
> cd 3ddose_tools/source/
3ddose_tools/source> qmake
3ddose_tools/source> make
3ddose_tools/source> cd ..
3ddose_tools> ./3ddose_tools
sudo apt-get install qt6-base-dev qt6-base-dev-tools
cd 3ddose_tools/source
qmake6
make
```

and you should launch 3ddose_tools.
## Clone

```
git clone https://github.com/clrp-code/3ddose_tools
```
Loading