Results 1 to 6 of 6

Thread: qx11embed_x11.h: "XEvent" has not been declared

  1. #1
    Join Date
    Sep 2008
    Posts
    9
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default qx11embed_x11.h: "XEvent" has not been declared

    Hi,

    When I am running "make" to my Qtopia program, I am getting the below error:

    qx11embed_x11.h: "XEvent" has not beed declared

    Below are the steps what I did:

    1) Installed "Qtopia" 4.3.2 successfully
    2) I have taken one third party package, which is developed in "Qt" and successfully installed in "Qtopia" platform using "qmake" of "Qtopiacore"
    3) I am able to run my simple program using "qmake"
    4) Now, I modified my simple program for "Qtopia" platform
    5) When I try to run "make", it is giving the below error:

    qx11embed_x11.h: "XEvent" has not beed declared

    Can anybody tell me the solution please.

    Thanks in advance.

    Regards
    Chandra

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: qx11embed_x11.h: "XEvent" has not been declared

    Are you sure you run correct qmake?
    J-P Nurmi

  3. #3
    Join Date
    Sep 2008
    Posts
    9
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: qx11embed_x11.h: "XEvent" has not been declared

    Hi,

    Thank you for your response. I used correct qmake only. Below is the complete problem description:

    1) I first installed "Qtopia". So, it created "/build/qtopiacore/host" and "build/qtopiacore/target" folders along with other build files in the build directory of "Qtopia".
    2) I have given "build/qtopiacore/host" as my QTDIR path (qmake) and successfully installed my third party package which is developed in Qt.
    3) After completion of installation, "qmake" created shared library (.so) of my third party package and I copied that into "/build/image/lib", "build/qtopiacore/host/lib" and "build/qtopiacore/target/lib" folders.
    4) I am able to run my simple Qt program using "qmake".
    4) Now, I modified my simple Qt program for "Qtopia" platform
    5) When I try to run "make", it is giving the below error:

    qx11embed_x11.h: "XEvent" has not beed declared

    This is the complete description of my problem.

    Thanks in advance.

    Regards
    Chandra

  4. #4
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: qx11embed_x11.h: "XEvent" has not been declared

    What is the complete error message? Which file includes qx11embed_x11.h?
    J-P Nurmi

  5. #5
    Join Date
    Sep 2008
    Posts
    9
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: qx11embed_x11.h: "XEvent" has not been declared

    Hi,

    Thank you for your response. Below is the complete error message:

    /build/qtopia/build/qtopiacore/target/include/QtGui/../../../../../qtopia-4.3.2/qtopiacore/qt/src/gui/kernel/qx11embed_x11.h:77: error: 'XEvent' has not been declared
    /build/qtopia/build/qtopiacore/target/include/QtGui/../../../../../qtopia-4.3.2/qtopiacore/qt/src/gui/kernel/qx11embed_x11.h:115: error: 'XEvent' has not been declared
    make[1]: *** [.obj/release-shared/mainwindow.o] Error 1
    make[1]: Leaving directory `/build/qtopia/build/src/applications/WebKit/WebKit/qt/browser
    make: *** [all] Error 2


    By the way, here my third party software is: "QtWebKit". I am trying to port "QtWebKit" on "Qtopia 4.3.2" platform.

    I look forward to your response. Thanks in advance.

    Regards
    Chandra

  6. #6
    Join Date
    Sep 2008
    Posts
    9
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: qx11embed_x11.h: "XEvent" has not been declared

    Hi JPN,

    Any suggestion please...

    Thanks
    Chandra

Similar Threads

  1. Installation on Fedora Core 4
    By jcr in forum Installation and Deployment
    Replies: 3
    Last Post: 29th January 2009, 01:34
  2. nmake error during .pro compiling
    By mattia in forum Installation and Deployment
    Replies: 5
    Last Post: 18th June 2008, 10:15
  3. Just for fun game
    By vermarajeev in forum Qt-based Software
    Replies: 6
    Last Post: 13th December 2007, 21:52
  4. Error compiling psql plugin
    By vieraci in forum Installation and Deployment
    Replies: 4
    Last Post: 7th October 2007, 02:49
  5. qt 4.2.2 install on aix
    By try to remember in forum Installation and Deployment
    Replies: 2
    Last Post: 28th March 2007, 12:19

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.