Unable to compile with Monkey Studio

Bug #722763 reported by Roland Hughes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
monkeystudio (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: monkeystudio

Very first project using Monkey Studio. Been doing Qt for quite some time. Most frustrating not having even the slightest bit of a user manual. When I attempt to build my very simple project I receive the following:

========================
#include <stdlib.h>
#include <iostream>

using namespace std;

#include <QtGui>
#include <QtSql>
#include <QtDebug>

#include "ImportExportClass.h"

int main( int argc, char** argv )
{
    int i_x=0;
    cout << "XPNS tracker SQLite import tool" << endl;

    QApplication app(argc, argv);
    {

            QString driverName = "SQLITE2";

            //
            // Set up information for driver and see if driver is available
            //
            if (!QSqlDatabase::isDriverAvailable( driverName)) {
            QMessageBox::critical( 0, "Missing SQLITE2 Driver",
                "The Qt driver for SQLite "
                + driverName
                + " is not compiled into this program",
                QMessageBox::Ok);
            app.exit(0);
        }

            ImportExportClass *ie = new ImportExportClass(0, driverName);
            ie->show();
            i_x = app.exec();

            delete ie;
        } // end scope of logon dialog

    return i_x;

    return 0;
}

========================

*** State changed to Starting
*** State changed to Running
/usr/bin/make -f Makefile.Debug
make[1]: Entering directory `/home/roland/Monkey Studio/Projects/xpnsSQLi'
g++ -c -m64 -pipe -g -Wall -W -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/X11R6/include -Ibuild/debug/.ui -o build/debug/.obj/unix/main.o src/main.cpp
src/main.cpp:6: fatal error: QtGui: No such file or directory
compilation terminated.
make[1]: *** [build/debug/.obj/unix/main.o] Error 1
make[1]: Leaving directory `/home/roland/Monkey Studio/Projects/xpnsSQLi'
make: *** [debug] Error 2
*** State changed to Not Running

find can find what I'm looking for:

./usr/lib/pymodules/python2.6/PyQt4/QtGui.so
./usr/lib/pyshared/python2.6/PyQt4/QtGui.so
./usr/include/qt4/Qt/QtGui
./usr/include/qt4/QtGui
./usr/include/qt4/QtGui/QtGui

I can build with QtCreator just fine. I can also build with KDevelop. Obviously the package being shipped with Ubuntu needs to have something setup to find include files. What is it?

roland@roland-Generic-Desktop1:~$ lsb_release -rd
Description: Ubuntu 10.10
Release: 10.10

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: monkeystudio 1.8.4.0-1ubuntu1.1
ProcVersionSignature: Ubuntu 2.6.35-25.44-generic 2.6.35.10
Uname: Linux 2.6.35-25-generic x86_64
Architecture: amd64
Date: Mon Feb 21 13:09:28 2011
InstallationMedia: Kubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: monkeystudio

Revision history for this message
Roland Hughes (original-seasoned-geek) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.