Results 1 to 14 of 14

Thread: how to make a button resets a slider to 0?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2009
    Location
    Poland
    Posts
    6
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: how to make a button resets a slider to 0?

    i believe it will work but:

    |7|QObject: No such file or directory|
    ||=== Build finished: 1 errors, 0 warnings ===|

    looks like its gonna be more complicated than WinApi
    do u know what mistake does show this error?

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Wiki edits
    5

    Default Re: how to make a button resets a slider to 0?

    Quote Originally Posted by lunar View Post
    |7|QObject: No such file or directory|
    ||=== Build finished: 1 errors, 0 warnings ===|
    May you have to explicit add a #include <QObject> in the header file or more likely clean your directory before you build the new files.

  3. #3
    Join Date
    Sep 2008
    Location
    Bangalore
    Posts
    659
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    116
    Thanked 42 Times in 41 Posts

    Default Re: how to make a button resets a slider to 0?

    which os u are using .. i compiled it in linux .... ok make clean then give make ...
    else qmake again the .pro file ...

    did u see what are the error u done .. ? in the code ...
    "Behind every great fortune lies a crime" - Balzac

  4. #4
    Join Date
    Apr 2007
    Location
    Rakovnik, Czech Republic
    Posts
    175
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    43
    Thanked 3 Times in 3 Posts

    Default Re: how to make a button resets a slider to 0?

    FYI- it worked for me, too. WinXP, Visual Studio 2005 Command Prompt:

    C:\prompt> qmake
    C:\prompt> nmake release

Similar Threads

  1. How to make dropdown button bigger
    By Vadi in forum Qt Programming
    Replies: 1
    Last Post: 13th November 2008, 23:54
  2. Window OS make distclean && qmake && make one line
    By patrik08 in forum General Programming
    Replies: 4
    Last Post: 22nd March 2007, 10:43
  3. Compiling with Qmake/Make
    By VireX in forum Newbie
    Replies: 25
    Last Post: 22nd February 2007, 05:57

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.