Slicer/qMidasAPI — Issue #1: Failed to compile on Ubuntu - QVariantMap not declated
Author: jcfr
Created: 2012-01-06 09:18:58+00:00
State: open

On ubuntu 10.04, qt 4.7.0, g++ (Ubuntu 4.4.3-4ubuntu5) 4.4.3, the following error occurs:

```
In file included from /home/jchris/Projects/Slicer4-Superbuild-Debug/qMidasAPI/qMidasAPI.cpp:30:
/home/jchris/Projects/Slicer4-Superbuild-Debug/qMidasAPI/qMidasAPI.h:74: error: ‘QVariantMap’ was not declared in this scope
/home/jchris/Projects/Slicer4-Superbuild-Debug/qMidasAPI/qMidasAPI.h:74: error: template argument 1 is invalid
/home/jchris/Projects/Slicer4-Superbuild-Debug/qMidasAPI/qMidasAPI.h:81: error: ‘QVariantMap’ was not declared in this scope
/home/jchris/Projects/Slicer4-Superbuild-Debug/qMidasAPI/qMidasAPI.h:81: error: template argument 1 is invalid
/home/jchris/Projects/Slicer4-Superbuild-Debug/qMidasAPI/qMidasAPI.h:86: error: ‘QVariantMap’ was not declared in this scope
/home/jchris/Projects/Slicer4-Superbuild-Debug/qMidasAPI/qMidasAPI.h:86: error: template argument 1 is invalid
/home/jchris/Projects/Slicer4-Superbuild-Debug/qMidasAPI/qMidasAPI.cpp: In member function ‘void qMidasAPIPrivate::processReply(QNetworkReply*)’:
[...]
```