我最近在 Lubuntu 中安装了 Qt,但出现以下错误
该函数由文件中包含的 QtMath 库提供。
这里有什么建议吗?我在 Windows 中有相同的项目,但我没有这样的问题。谢谢你的时间。此致
彼得
PS我附上了.pro文件,问题的相关代码已经在图像中。我正在使用 Qt 5.2.1 (GCC 4.8.2, 32bit)
#-------------------------------------------------
#
# Project created by QtCreator 2016-04-26T18:35:07
#
#-------------------------------------------------
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport
QMAKE_CXXFLAGS += -std=c++0x
TARGET = WaveMod
TEMPLATE = app
SOURCES +=\
mainwindow.cpp \
trace_ex.cpp \
trace_group_ex.cpp \
qcustomplot.cpp \
main.cpp \
fft_complx.cpp \
geom_ex.cpp
HEADERS += mainwindow.h \
trace_ex.h \
trace_group_ex.h \
qcustomplot.h \
fft_complx.h \
geom_ex.h \
FORMS += mainwindow.ui \
trace_ex.ui \
trace_group_ex.ui \
geom_ex.ui
DISTFILES += \
geom_map.qml