Results 1 to 8 of 8

Thread: Need help with a code please help :D

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2017
    Posts
    37
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default Re: Need help with a code please help :D

    Are you using cmake or qmake? If cmake, you have a file CMakeLists.txt with a line like this:
    Qt Code:
    1. add_executable(game main.cpp player.cpp game.cpp)
    To copy to clipboard, switch view to plain text mode 
    Add "spaceship.cpp" to the list of cpp files and your problem should go away.

  2. #2
    Join Date
    Sep 2017
    Posts
    15
    Thanks
    1
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Need help with a code please help :D

    Guys first of all thanks you both for your help
    PierreA ur answer actually helped i went to "build" and clicked "build qMake" and it actually fixed my problem.. without adding anything

Similar Threads

  1. Replies: 7
    Last Post: 6th September 2012, 07:07
  2. GUI Code
    By waynew in forum Newbie
    Replies: 2
    Last Post: 12th October 2009, 12:12
  3. SSH through Qt code
    By lrrcaldas in forum Qt Programming
    Replies: 2
    Last Post: 28th August 2007, 15:45
  4. Pasting code from code tag in emacs
    By Gopala Krishna in forum General Discussion
    Replies: 0
    Last Post: 16th February 2007, 05:47
  5. use of VC++ code in Qt
    By shailesh in forum Qt Programming
    Replies: 4
    Last Post: 28th April 2006, 11:11

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.