Page 5 of 7 FirstFirst ... 34567 LastLast
Results 41 to 50 of 69

Thread: Wireshark Is Being Ported From GTK+ To Qt

  1. #41
    Join Date
    Mar 2010
    Location
    Slovenia
    Posts
    391

    Default

    For those who prefer pure C there is also Tk.

  2. #42
    Join Date
    Nov 2012
    Posts
    639

    Default

    Quote Originally Posted by droidhacker View Post
    Your brain must be plugged in backwards.
    Really? Let's see:

    https://wiki.archlinux.org/index.php...K_Applications

    if you work in KDE 4 desktop environment then a GTK-Qt engine is available, which updates GTK+ configuration files automatically so that GTK+ appearance is similar to the Qt one
    And what this gtk-qt engine is?

    http://en.wikipedia.org/wiki/GTK-Qt

    it uses Qt to draw the widget into an offscreen buffer, then draws a copy of the contents of this buffer onscreen.
    It seems gtk doesn't look like shit in KDE, just because KDE developers were so nice and made gtk-qt engine which uses Qt! What about Qt in different environments now:

    if you work in other desktop environments, you can choose the QGtkStyle engine (built in Qt), which forces Qt apps to use your GTK+ 2.x theme.
    Last edited by Pawlerson; 10-17-2013 at 06:08 PM.

  3. #43
    Join Date
    Oct 2012
    Location
    Sweden
    Posts
    427

    Default

    I use GTK environments (Cinnamon, formelly Xfce), because I think Qt apps look better in a GTK environment than GTK apps do in a Qt environment.

  4. #44
    Join Date
    Feb 2013
    Posts
    89

    Default

    Quote Originally Posted by TheBlackCat View Post
    You obviously didn't look very hard:

    http://qt-project.org/doc/qt-4.8/gettingstartedqt.html
    To be fair, this is for Qt 4.8. On the other hand, there are no tutorials at all for gtk3.
    You obviously didn't look very hard:

    https://developer.gnome.org/gtk3/stable/

  5. #45
    Join Date
    Feb 2011
    Posts
    1,310

    Default

    Quote Originally Posted by Krejzi View Post
    You obviously didn't look very hard:

    https://developer.gnome.org/gtk3/stable/
    Yes, I am sure if you search other websites you can also find simple Qt tutorials. The question was about the official homepage.

  6. #46
    Join Date
    Apr 2010
    Posts
    820

    Default

    Quote Originally Posted by TheBlackCat View Post
    Yes, I am sure if you search other websites you can also find simple Qt tutorials. The question was about the official homepage.
    That *is* the official Gtk documentation. And if by "official homepage" you mean gtk.org, then you just go the the Documentation tab, and follow any of the links at the top, which take you to the developer.gnome.org pages that Krejzi referred to.

  7. #47
    Join Date
    Feb 2013
    Posts
    89

    Default

    Quote Originally Posted by TheBlackCat View Post
    Yes, I am sure if you search other websites you can also find simple Qt tutorials. The question was about the official homepage.
    Is this official enough?

    http://www.gtk.org/documentation.php

    Clicking on "GTK stable" will take you to the very same page I linked to in previous post.

    Also, if you look closely, you can find hyperlink "Documentation" that links to the very same page here

    http://www.gtk.org/

  8. #48
    Join Date
    Mar 2012
    Posts
    133

    Default

    For me the question is simple: Want portability? Try Qt. Want your program best for Linux? Use Gtk.
    Quote Originally Posted by LightBit View Post
    For those who prefer pure C there is also Tk.
    The value of pure C comes from its excellent ABI compatibility.
    You may use any modern C compiler to link a C library, but you have to build your own C++ library if you were using a different C++ compiler the one built the C++ library.

    I once tried to link my VS2008 program to a VS2005 C++ lib (it's also my own one but I was too lazy to rebuild it). I met many strange problems in debugging.
    After that, I would build Qt 4.x by myself as Qt's official buildings only (at that time) had VS 2008 version, while I was using VC 2010 Express.
    Last edited by zxy_thf; 10-17-2013 at 07:18 PM.

  9. #49
    Join Date
    Feb 2011
    Posts
    1,310

    Default

    Quote Originally Posted by Silverthorn View Post
    I tried to look through the official page for some simple example to get me started but I just ended up on the starting page again pointing me towards Qt creator. A bit frustrating after a while. You probably get a better experience once you get to know the page better.
    I am not at all familiar with the website, in fact I have never used it before. I just did:
    http://qt-project.org/ > Documentation > Examples and Tutorials. On the right side there was a pretty clear "select version" if that is what you want.

    Quote Originally Posted by Silverthorn View Post
    This page (plus the reference manual) was enough to get me started with gtk:
    https://developer.gnome.org/gtk3/sta...g-started.html
    So in other words you had to go to a completely separate web page from the official gtk page to find the resources you need. How would someone visiting the gtk website for the first time ever guess that they need to go to a completely different website to figure out how to use it?

  10. #50
    Join Date
    Feb 2011
    Posts
    1,310

    Default

    Quote Originally Posted by Krejzi View Post
    Is this official enough?

    http://www.gtk.org/documentation.php

    Clicking on "GTK stable" will take you to the very same page I linked to in previous post.
    I see. I never looked there because it never occurred to me that "Hello World" would be under "API Documentation", which on every other language or toolkit website I have been to has the documentation for the API, not "Hello World" examples. Usually such things are under "Examples" or "Tutorials".

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •