Results 1 to 6 of 6

Thread: strange QT error out of nowhere

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Aug 2008
    Posts
    3
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: strange QT error out of nowhere

    Well I can open Ogre.h by right clicking on #include <Ogre.h>. Besides I have not made a change to that ever since I wrote it.

    I do not know any way of checking if the file was included until actually I have a window running of some sort. My program does not even compile now.

  2. #2
    Join Date
    May 2008
    Location
    Kyiv, Ukraine
    Posts
    418
    Thanks
    1
    Thanked 29 Times in 27 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: strange QT error out of nowhere

    Show your .pro file. Do you modify include path?
    I'm a rebel in the S.D.G.

  3. The following user says thank you to lyuts for this useful post:

    Penut (14th August 2008)

  4. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,372
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: strange QT error out of nowhere

    Quote Originally Posted by Penut View Post
    Well I can open Ogre.h by right clicking on #include <Ogre.h>.
    It only means your Visual Studio can find the file, not that it is actually included in the build.

    I do not know any way of checking if the file was included until actually I have a window running of some sort.
    That's not very good You can enable some verbosity options for your compiler or something.

  5. The following user says thank you to wysota for this useful post:

    Penut (14th August 2008)

  6. #4
    Join Date
    Aug 2008
    Posts
    3
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: strange QT error out of nowhere

    turns out it was related to windows. a simple reboot solved it!

    But I've learned something from all this....#1 always reboot when there occurs a problem even after you didnt change anything since the last successful build.....and #2...the more important one is how to turn on the compiler feature to access debug variables without outputting them to a window

    thank you everyone for your replies

Similar Threads

  1. Very strange behavior of QWidget in Qt Designer
    By THRESHE in forum Qt Programming
    Replies: 10
    Last Post: 13th August 2008, 16:19
  2. Strange behavior with Drag and Drop (not always drops)
    By Mona Shokrof in forum Qt Programming
    Replies: 1
    Last Post: 27th May 2007, 18:00
  3. Strange shortcut problem
    By blukske in forum Qt Programming
    Replies: 0
    Last Post: 13th March 2007, 10:26
  4. very strange behaviour
    By regix in forum Qt Programming
    Replies: 23
    Last Post: 20th July 2006, 17:38
  5. QComboBox +SUSE10.0 +qt4.1 strange behavior
    By antonio.r.tome in forum Qt Programming
    Replies: 6
    Last Post: 20th March 2006, 17:49

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
  •  
Qt is a trademark of The Qt Company.