Commit ea574b61 authored by Jasem Mutlaq's avatar Jasem Mutlaq
Browse files

Make it compile on Android

parent 194102ea
......@@ -27,8 +27,6 @@ if(CMAKE_SYSTEM_NAME STREQUAL Android)
set(ANDROID TRUE)
endif()
add_definitions(-DQT_QML_DEBUG)
find_package(ECM 1.7.0 REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules" ${CMAKE_MODULE_PATH})
......
......@@ -194,7 +194,7 @@ bool FITSData::loadFITS (const QString &inFilename, bool silent)
break;
case -32:
data_type = TFLOAT;
stats.bytesPerPixel = sizeof(float_t);
stats.bytesPerPixel = sizeof(float);
break;
case 64:
data_type = TLONGLONG;
......@@ -202,7 +202,7 @@ bool FITSData::loadFITS (const QString &inFilename, bool silent)
break;
case -64:
data_type = TDOUBLE;
stats.bytesPerPixel = sizeof(double_t);
stats.bytesPerPixel = sizeof(double);
default:
errMessage = i18n("Bit depth %1 is not supported.", stats.bitpix);
#ifndef KSTARS_LITE
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment