Discussion:
QGLWidget: No such file or directory
Kotelnikov Alexander
2011-06-16 10:26:40 UTC
Permalink
Hey, I am trying to build a third party project with meego-sdk and get a compile error message:

***@czc7240qkp:~/work/heliummobilebrowser/mobilebrowser-1.0$ make
cd src/ && make -f Makefile
make[1]: Entering directory `/home/kotelal/work/heliummobilebrowser/mobilebrowser-1.0/src'
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_FATAL_WARNINGS -DENABLE_LOG -DQT_NO_DEBUG -DQT_DECLARATIVE_LIB -DQT_WEBKIT_LIB -DQT_SQL_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/meego/meego-sdk-qt/share/qt4/mkspecs/linux-g++-64 -I. -I/opt/meego/meego-sdk-qt/include/qt4/QtCore -I/opt/meego/meego-sdk-qt/include/qt4/QtNetwork -I/opt/meego/meego-sdk-qt/include/qt4/QtGui -I/opt/meego/meego-sdk-qt/include/qt4/QtOpenGL -I/opt/meego/meego-sdk-qt/include/qt4/QtSql -I/opt/meego/meego-sdk-qt/include/qt4/QtWebKit -I/opt/meego/meego-sdk-qt/include/qt4/QtDeclarative -I/opt/meego/meego-sdk-qt/include/qt4 -Iutility -Imodels -Isymbian -Imaemo5 -I/usr/X11R6/include -I. -o MainView.o MainView.cpp
MainView.cpp:5: fatal error: QGLWidget: No such file or directory
compilation terminated.
make[1]: *** [MainView.o] Error 1
make[1]: Leaving directory `/home/kotelal/work/heliummobilebrowser/mobilebrowser-1.0/src'
make: *** [sub-src-make_default] Error 2

Apparently, such header file does not exist in /opt/meego-sdk-qt, but I have it in /opt/meego/simulator-qt
***@czc7240qkp:~/work/heliummobilebrowser/mobilebrowser-1.0$ find /opt/meego/ -name QGLWidget
/opt/meego/simulator-qt/include/qt4/QtOpenGL/QGLWidget

Is it a meego sdk installation problem or my project configuration?

Thanks,
Alexander
Wichmann, Mats D
2011-06-16 13:32:05 UTC
Permalink
On Thu, Jun 16, 2011 at 4:26 AM, Kotelnikov Alexander <
alexander.kotelnikov-itTBYcvDSwjQT0dZR+***@public.gmane.org> wrote:

> Hey, I am trying to build a third party project with meego-sdk and get a
> compile error message:
>
> ***@czc7240qkp:~/work/heliummobilebrowser/mobilebrowser-1.0$ make
> cd src/ && make -f Makefile
> make[1]: Entering directory
> `/home/kotelal/work/heliummobilebrowser/mobilebrowser-1.0/src'
> g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_FATAL_WARNINGS
> -DENABLE_LOG -DQT_NO_DEBUG -DQT_DECLARATIVE_LIB -DQT_WEBKIT_LIB -DQT_SQL_LIB
> -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
> -I/opt/meego/meego-sdk-qt/share/qt4/mkspecs/linux-g++-64 -I.
> -I/opt/meego/meego-sdk-qt/include/qt4/QtCore
> -I/opt/meego/meego-sdk-qt/include/qt4/QtNetwork
> -I/opt/meego/meego-sdk-qt/include/qt4/QtGui
> -I/opt/meego/meego-sdk-qt/include/qt4/QtOpenGL
> -I/opt/meego/meego-sdk-qt/include/qt4/QtSql
> -I/opt/meego/meego-sdk-qt/include/qt4/QtWebKit
> -I/opt/meego/meego-sdk-qt/include/qt4/QtDeclarative
> -I/opt/meego/meego-sdk-qt/include/qt4 -Iutility -Imodels -Isymbian -Imaemo5
> -I/usr/X11R6/include -I. -o MainView.o MainView.cpp
> MainView.cpp:5: fatal error: QGLWidget: No such file or directory
> compilation terminated.
> make[1]: *** [MainView.o] Error 1
> make[1]: Leaving directory
> `/home/kotelal/work/heliummobilebrowser/mobilebrowser-1.0/src'
> make: *** [sub-src-make_default] Error 2
>
> Apparently, such header file does not exist in /opt/meego-sdk-qt, but I
> have it in /opt/meego/simulator-qt
> ***@czc7240qkp:~/work/heliummobilebrowser/mobilebrowser-1.0$ find
> /opt/meego/ -name QGLWidget
> /opt/meego/simulator-qt/include/qt4/QtOpenGL/QGLWidget
>
> Is it a meego sdk installation problem or my project configuration?


you have meego-sdk-libqtopengl-devel installed?
Kotelnikov Alexander
2011-06-17 11:19:37 UTC
Permalink
There is no such (or similar) package for ubuntu...

________________________________
From: Wichmann, Mats D [mats.d.wichmann-***@public.gmane.org]
Sent: Thursday, June 16, 2011 4:32 PM
To: Kotelnikov Alexander
Cc: meego-sdk-***@public.gmane.org
Subject: Re: [MeeGo-SDK] QGLWidget: No such file or directory



On Thu, Jun 16, 2011 at 4:26 AM, Kotelnikov Alexander <***@ixonos.com<mailto:alexander.kotelnikov-itTBYcvDSwjQT0dZR+***@public.gmane.org>> wrote:
Hey, I am trying to build a third party project with meego-sdk and get a compile error message:

***@czc7240qkp:~/work/heliummobilebrowser/mobilebrowser-1.0$ make
cd src/ && make -f Makefile
make[1]: Entering directory `/home/kotelal/work/heliummobilebrowser/mobilebrowser-1.0/src'
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_FATAL_WARNINGS -DENABLE_LOG -DQT_NO_DEBUG -DQT_DECLARATIVE_LIB -DQT_WEBKIT_LIB -DQT_SQL_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/meego/meego-sdk-qt/share/qt4/mkspecs/linux-g++-64 -I. -I/opt/meego/meego-sdk-qt/include/qt4/QtCore -I/opt/meego/meego-sdk-qt/include/qt4/QtNetwork -I/opt/meego/meego-sdk-qt/include/qt4/QtGui -I/opt/meego/meego-sdk-qt/include/qt4/QtOpenGL -I/opt/meego/meego-sdk-qt/include/qt4/QtSql -I/opt/meego/meego-sdk-qt/include/qt4/QtWebKit -I/opt/meego/meego-sdk-qt/include/qt4/QtDeclarative -I/opt/meego/meego-sdk-qt/include/qt4 -Iutility -Imodels -Isymbian -Imaemo5 -I/usr/X11R6/include -I. -o MainView.o MainView.cpp
MainView.cpp:5: fatal error: QGLWidget: No such file or directory
compilation terminated.
make[1]: *** [MainView.o] Error 1
make[1]: Leaving directory `/home/kotelal/work/heliummobilebrowser/mobilebrowser-1.0/src'
make: *** [sub-src-make_default] Error 2

Apparently, such header file does not exist in /opt/meego-sdk-qt, but I have it in /opt/meego/simulator-qt
***@czc7240qkp:~/work/heliummobilebrowser/mobilebrowser-1.0$ find /opt/meego/ -name QGLWidget
/opt/meego/simulator-qt/include/qt4/QtOpenGL/QGLWidget

Is it a meego sdk installation problem or my project configuration?

you have meego-sdk-libqtopengl-devel installed?
Edmondas Girkantas
2011-06-17 11:39:33 UTC
Permalink
On 06/17/2011 02:19 PM, ext Kotelnikov Alexander wrote:
> There is no such (or similar) package for ubuntu...

I think that's the correct package name that has this OpenGL header
file: meego-sdk-libqt4-opengl-dev

--
Edmondas Girkantas
Cornelius Hald
2011-06-16 14:30:16 UTC
Permalink
Hi,

On Thu, 2011-06-16 at 10:26 +0000, Kotelnikov Alexander wrote:
> Is it a meego sdk installation problem or my project configuration?

do you have "Qt += opengl" in your .pro file?

Cheers,
Conny
Kotelnikov Alexander
2011-06-17 11:22:49 UTC
Permalink
I do
________________________________________
From: Cornelius Hald [hald-EBCXfUJalAmzQB+***@public.gmane.org]
Sent: Thursday, June 16, 2011 5:30 PM
To: Kotelnikov Alexander
Cc: meego-sdk-***@public.gmane.org
Subject: Re: [MeeGo-SDK] QGLWidget: No such file or directory

Hi,

On Thu, 2011-06-16 at 10:26 +0000, Kotelnikov Alexander wrote:
> Is it a meego sdk installation problem or my project configuration?

do you have "Qt += opengl" in your .pro file?

Cheers,
Conny
Chen, Zhang Z
2011-06-16 14:51:21 UTC
Permalink
>Hey, I am trying to build a third party project with meego-sdk and get a compile
>error message:
>
>***@czc7240qkp:~/work/heliummobilebrowser/mobilebrowser-1.0$ make
>cd src/ && make -f Makefile

How did you get your Makefile? Generated by .pro file in Qt Creator or shipped with your code?

>make[1]: Entering directory
>`/home/kotelal/work/heliummobilebrowser/mobilebrowser-1.0/src'
>g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_FATAL_WARNINGS
>-DENABLE_LOG -DQT_NO_DEBUG -DQT_DECLARATIVE_LIB -DQT_WEBKIT_LIB
>-DQT_SQL_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB
>-DQT_CORE_LIB -DQT_SHARED
>-I/opt/meego/meego-sdk-qt/share/qt4/mkspecs/linux-g++-64 -I.
>-I/opt/meego/meego-sdk-qt/include/qt4/QtCore
>-I/opt/meego/meego-sdk-qt/include/qt4/QtNetwork
>-I/opt/meego/meego-sdk-qt/include/qt4/QtGui
>-I/opt/meego/meego-sdk-qt/include/qt4/QtOpenGL

Do you have the directory /opt/meego/meego-sdk-qt/include/qt4/QtOpenGL on your system?

>-I/opt/meego/meego-sdk-qt/include/qt4/QtSql
>-I/opt/meego/meego-sdk-qt/include/qt4/QtWebKit
>-I/opt/meego/meego-sdk-qt/include/qt4/QtDeclarative
>-I/opt/meego/meego-sdk-qt/include/qt4 -Iutility -Imodels -Isymbian -Imaemo5
>-I/usr/X11R6/include -I. -o MainView.o MainView.cpp
>MainView.cpp:5: fatal error: QGLWidget: No such file or directory
>compilation terminated.
>make[1]: *** [MainView.o] Error 1
>make[1]: Leaving directory
>`/home/kotelal/work/heliummobilebrowser/mobilebrowser-1.0/src'
>make: *** [sub-src-make_default] Error 2
>
>Apparently, such header file does not exist in /opt/meego-sdk-qt, but I have it in
>/opt/meego/simulator-qt
>***@czc7240qkp:~/work/heliummobilebrowser/mobilebrowser-1.0$ find
>/opt/meego/ -name QGLWidget
>/opt/meego/simulator-qt/include/qt4/QtOpenGL/QGLWidget

Which target(QtVersion) did you choose for this project when you open it in QtCreator?

>
>Is it a meego sdk installation problem or my project configuration?
>
>Thanks,
>Alexander
>_______________________________________________
>MeeGo-sdk mailing list
>MeeGo-sdk-***@public.gmane.org
>http://lists.meego.com/listinfo/meego-sdk
>http://wiki.meego.com/Mailing_list_guidelines
>http://meego.com/developers
Kotelnikov Alexander
2011-06-17 11:25:36 UTC
Permalink
I called qmake on .pro to get a Makefile.

There is no /opt/meego/meego-sdk-qt/include/qt4/QtOpenGL on my machine.

What I tried was to get a native build without QtCreator at all. I am able to build for simulator with creator though.

Alexander
________________________________________
From: Chen, Zhang Z [zhang.z.chen-***@public.gmane.org]
Sent: Thursday, June 16, 2011 5:51 PM
To: Kotelnikov Alexander; meego-sdk-***@public.gmane.org
Subject: RE: QGLWidget: No such file or directory

>Hey, I am trying to build a third party project with meego-sdk and get a compile
>error message:
>
>***@czc7240qkp:~/work/heliummobilebrowser/mobilebrowser-1.0$ make
>cd src/ && make -f Makefile

How did you get your Makefile? Generated by .pro file in Qt Creator or shipped with your code?

>make[1]: Entering directory
>`/home/kotelal/work/heliummobilebrowser/mobilebrowser-1.0/src'
>g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_FATAL_WARNINGS
>-DENABLE_LOG -DQT_NO_DEBUG -DQT_DECLARATIVE_LIB -DQT_WEBKIT_LIB
>-DQT_SQL_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB
>-DQT_CORE_LIB -DQT_SHARED
>-I/opt/meego/meego-sdk-qt/share/qt4/mkspecs/linux-g++-64 -I.
>-I/opt/meego/meego-sdk-qt/include/qt4/QtCore
>-I/opt/meego/meego-sdk-qt/include/qt4/QtNetwork
>-I/opt/meego/meego-sdk-qt/include/qt4/QtGui
>-I/opt/meego/meego-sdk-qt/include/qt4/QtOpenGL

Do you have the directory /opt/meego/meego-sdk-qt/include/qt4/QtOpenGL on your system?

>-I/opt/meego/meego-sdk-qt/include/qt4/QtSql
>-I/opt/meego/meego-sdk-qt/include/qt4/QtWebKit
>-I/opt/meego/meego-sdk-qt/include/qt4/QtDeclarative
>-I/opt/meego/meego-sdk-qt/include/qt4 -Iutility -Imodels -Isymbian -Imaemo5
>-I/usr/X11R6/include -I. -o MainView.o MainView.cpp
>MainView.cpp:5: fatal error: QGLWidget: No such file or directory
>compilation terminated.
>make[1]: *** [MainView.o] Error 1
>make[1]: Leaving directory
>`/home/kotelal/work/heliummobilebrowser/mobilebrowser-1.0/src'
>make: *** [sub-src-make_default] Error 2
>
>Apparently, such header file does not exist in /opt/meego-sdk-qt, but I have it in
>/opt/meego/simulator-qt
>***@czc7240qkp:~/work/heliummobilebrowser/mobilebrowser-1.0$ find
>/opt/meego/ -name QGLWidget
>/opt/meego/simulator-qt/include/qt4/QtOpenGL/QGLWidget

Which target(QtVersion) did you choose for this project when you open it in QtCreator?

>
>Is it a meego sdk installation problem or my project configuration?
>
>Thanks,
>Alexander
>_______________________________________________
>MeeGo-sdk mailing list
>MeeGo-sdk-***@public.gmane.org
>http://lists.meego.com/listinfo/meego-sdk
>http://wiki.meego.com/Mailing_list_guidelines
>http://meego.com/developers
Loading...