1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Include math.h for log() (fix for OSX)

This commit is contained in:
Tux3 / Mlkj / !Lev.uXFMLA 2014-07-04 17:47:38 +02:00
parent 10cd34cd0a
commit ddab801262
2 changed files with 2 additions and 9 deletions

View File

@ -85,15 +85,7 @@ To do this, search for the INCLUDES line and add the following to the end;
Save the Makefile.
<h4>Final Steps</h4>
Open up TextEdit/TextWrangler/etc and open up the widget/filetransfertwidget.cpp file and add the following include;
```bash
#include <math.h>
```
This will stop toxgui failing to make under OSX.
<h5>Final Steps</h5>
The final step is to run
```bash

View File

@ -1,6 +1,7 @@
#include "filetransfertwidget.h"
#include "widget.h"
#include "core.h"
#include "math.h"
#include <QFileDialog>
#include <QPixmap>