Results 1 to 6 of 6

Thread: qt opengl tree

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2015
    Posts
    4
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default qt opengl tree

    I am working on the qt opengl application for drawing a tree and getting the following error.
    Any idea would be appreciated.
    :-1: error: No rule to make target 'debugwidgetbase.ui', needed by 'ui_debugwidgetbase.h'. Stop.

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,332
    Qt products
    Qt5
    Platforms
    Windows
    Thanks
    317
    Thanked 871 Times in 858 Posts

    Default Re: qt opengl tree

    This is the result of a missing make / nmake rule for invoking the Qt moc compiler, which converts a .ui file into the .h and .cpp files needed to create the UI at runtime.

    Are you using Visual Studio? If so, then you should download and install the Qt plugin for Visual Studio, which adds the appropriate rules to the Visual Studio tool chain.

    If you are using Qt Creator, then this should be built in already.

    If you are simply running make / nmake from the command line or are using some other IDE, then you need to define the make conversion rule yourself. It's been so long since I've had to tinker with make at that level that I don't remember how to do it. Google will, though.

Similar Threads

  1. Replies: 2
    Last Post: 5th July 2017, 13:28
  2. Conversion from opengl to opengl es2 (Shapefile rendering)?
    By swapan_gh in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 5th December 2013, 06:59
  3. Adding a small tree to an existing tree in QTreeview.
    By salcin in forum Qt Programming
    Replies: 0
    Last Post: 25th September 2013, 17:27
  4. converting GLUT/OpenGL to Qt/OpenGL - displaying issue
    By yoti13 in forum Qt Programming
    Replies: 1
    Last Post: 25th November 2012, 00:45
  5. Qt with OpenGL ES for ARM9 - All OpenGL ES tests have failed!
    By vinpa in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 3rd December 2009, 10:10

Tags for this Thread

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.