Skip to content
Snippets Groups Projects
Commit 09d9a6d3 authored by Felix de las Pozas Alvarez's avatar Felix de las Pozas Alvarez
Browse files

Fix: include zeroeq types header.

parent c0726133
No related branches found
No related tags found
No related merge requests found
......@@ -20,15 +20,23 @@
*
*/
#include <QApplication>
// Qt
#include "MainWindow.h"
#include <QApplication>
#include <QDebug>
#include <QOpenGLWidget>
#include <QDir>
// Project
#include <stackviz/version.h>
#include <sumrice/sumrice.h>
#ifdef VISIMPL_USE_ZEROEQ
// zeroeq
#include <ZeroEQ/types.h>
#endif
void usageMessage( char* progName );
void dumpVersion( void );
......@@ -194,6 +202,14 @@ int main( int argc, char** argv )
mainWindow.showFullScreen( );
mainWindow.show( );
#ifdef VISIMPL_USE_ZEROEQ
if(zeqUri.empty())
{
zeqUri = zeroeq::DEFAULT_SESSION;
}
#endif
mainWindow.init( zeqUri );
if( !networkFile.empty( ))
......
......@@ -35,6 +35,11 @@
#include "MainWindow.h"
#include <visimpl/version.h>
#ifdef VISIMPL_USE_ZEROEQ
// zeroeq
#include <ZeroEQ/types.h>
#endif
void setFormat( void );
void usageMessage( char* progName );
void dumpVersion( void );
......@@ -230,10 +235,12 @@ int main( int argc, char** argv )
mainWindow.show( );
#ifdef VISIMPL_USE_ZEROEQ
if(zeqUri.empty())
{
zeqUri = zeroeq::DEFAULT_SESSION;
}
#endif
mainWindow.init( zeqUri );
......
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