Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Compiling "picking and selection mode" example in Qt 4.7
Forum Update on Monday, May 27th 2025

Compiling "picking and selection mode" example in Qt 4.7

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 944 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • - Offline
    - Offline
    -Qt-
    wrote on 4 Sept 2013, 14:34 last edited by
    #1

    Hi!

    I have just started using Qt Creator + OpenGl and I have to implement my code with a function using picking to get a link to my object and change some properties, for example. I would like to try to compile first some examples in order to understand well how this function works. I have found here->http://www.et.byu.edu/~merk/me570/qtRedExamples.html the example: "QT translation of picksquare" but its only one file and I don't know how can I compile it, I tried to create the project file but it's not working (undefined reference to `vtable for MainWindow' ) if anyone can help me with this or tell me where can I find an example just ready to be compiled I would be really thankful for it!

    Thanks a lot!!

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 4 Sept 2013, 15:21 last edited by
      #2

      Hi and welcome to devnet,

      You seem to have an unrelated error.

      You should put the cpp in a folder and run qmake -project then open that project with QtCreator

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      1/2

      4 Sept 2013, 14:34

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved