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:
parent
10cd34cd0a
commit
ddab801262
10
README.md
10
README.md
|
@ -85,15 +85,7 @@ To do this, search for the INCLUDES line and add the following to the end;
|
||||||
|
|
||||||
Save the Makefile.
|
Save the Makefile.
|
||||||
|
|
||||||
<h4>Final Steps</h4>
|
<h5>Final Steps</h5>
|
||||||
|
|
||||||
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.
|
|
||||||
|
|
||||||
The final step is to run
|
The final step is to run
|
||||||
```bash
|
```bash
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#include "filetransfertwidget.h"
|
#include "filetransfertwidget.h"
|
||||||
#include "widget.h"
|
#include "widget.h"
|
||||||
#include "core.h"
|
#include "core.h"
|
||||||
|
#include "math.h"
|
||||||
#include <QFileDialog>
|
#include <QFileDialog>
|
||||||
#include <QPixmap>
|
#include <QPixmap>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user