Page 2 of 2 FirstFirst 12
Results 21 to 28 of 28

Thread: Discovery of printers in the network?

  1. #21
    Join Date
    May 2011
    Posts
    19
    Thanks
    6
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Bonjour service for printer

    Quote Originally Posted by squidge View Post
    There are examples included in the link. If you do not understand the examples, which part are you having problems with? Saying "can't able to understand" is too vague.
    Hi ,
    Good morning to all!

    I have gone through this link http://doc.qt.nokia.com/qq/qq23-bonjour.html (topic:Storing a Bonjour Entry).

    Can anybody tell me why they have use Q_DECLARE_METATYPE(BonjourRecord)?The explaination given by them is not understandable.

    Also why they have use reply domain?what does it mean?what is use of that?

    Please guide me.
    Reagds,
    Sumit

  2. #22
    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: Bonjour service for printer

    Quote Originally Posted by surwassu View Post
    Can anybody tell me why they have use Q_DECLARE_METATYPE(BonjourRecord)?
    Because it allows to store objects of BonjourRecord class into QVariant.

    Also why they have use reply domain?what does it mean?what is use of that?
    Read about how zeroconf works and you'll understand that.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #23
    Join Date
    May 2011
    Posts
    19
    Thanks
    6
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Bonjour service for printer

    Quote Originally Posted by wysota View Post
    Because it allows to store objects of BonjourRecord class into QVariant.


    Read about how zeroconf works and you'll understand that.
    Hi Master,
    I have gone through that code n downloaded source file it contails three folder .
    Do you have any idea about how to should I proceed to execute it on unix ?
    Thanks.
    Regards,
    Sumit

  4. #24
    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: Bonjour service for printer

    Come on. Read the readme file.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #25
    Join Date
    May 2011
    Posts
    19
    Thanks
    6
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Bonjour service for printer

    Quote Originally Posted by wysota View Post
    Come on. Read the readme file.
    Do you have any idea from where i can get QPrintDialog class's Source code?

  6. #26
    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: Bonjour service for printer

    Right along the source code of the rest of Qt. Look on the front page of this site.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  7. #27
    Join Date
    May 2011
    Posts
    19
    Thanks
    6
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Bonjour service for printer

    Quote Originally Posted by surwassu View Post
    Do you have any idea from where i can get QPrintDialog class's Source code?
    My dear friend
    i have read that file but nothing is mention about how to run it..They mentioned following things

    <Readme>These are provided with qmake project files which
    can be used to configure and build the source code.</Readme>

    I have run make command for fortuneserver it gives me error

    <error >
    In file included from bonjourserviceregister.cpp:29:
    bonjourserviceregister.h:37: fatal error: dns_sd.h: No such file or directory
    compilation terminated.
    </error>

    can u help me please.
    regards,
    Sumit

  8. #28
    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: Bonjour service for printer

    Did you even bother to try and understand what bonjour is, how it works and what is required to use it?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. QPrintDialog lists no printers
    By TMan in forum Qt Programming
    Replies: 6
    Last Post: 9th June 2009, 15:33
  2. Discovery correct Language on all OS
    By patrik08 in forum Qt Programming
    Replies: 5
    Last Post: 25th February 2007, 19:27
  3. QSqlField discovery auto_increment int value
    By patrik08 in forum Qt Programming
    Replies: 6
    Last Post: 3rd December 2006, 11:19

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.