Results 1 to 3 of 3

Thread: How to view QT source code? -- QT + Eclipse Integration

  1. #1

    Default How to view QT source code? -- QT + Eclipse Integration

    I am running linux. I have downloaded and compiled QT 4.6.2. It has been installedin /usr/local/Trolltech/QT-4.6.2/.

    Now, when I create a project, I can do something like this:

    QWebView

    I can click on the symbol and it will direct me to the QWebView header file. However, I can ONLY see function definitions for QT source code. I cannot see any of the actual function implementations (the .cpp file for said header file).

    Previously, on windows, I had the same setup except I could view the .cpp for the QT source. How do I view such files now? Why are there only header files?

  2. #2

    Default Re: How to view QT source code? -- QT + Eclipse Integration

    I cannot be the only one who views the QT source code. Can someone please tell me why only the header files are there?

  3. #3
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to view QT source code? -- QT + Eclipse Integration

    Only the header files are there because you only have those installed (you only need the header files and libraries to develop Qt applications, after all).

    You can of course download the source code from Nokia's website and store it wherever you see fit, or find the package which has the source code.

    It's a disk-space saving reason. A lot of other apps only install the header files and libraries too. The source code is typically in another package.

Similar Threads

  1. Replies: 7
    Last Post: 22nd December 2010, 08:13
  2. qt eclipse integration
    By abeinoe in forum Qt Tools
    Replies: 0
    Last Post: 3rd March 2010, 03:42
  3. Eclipse Integration sans Integration
    By ChrisW67 in forum Qt Tools
    Replies: 3
    Last Post: 17th March 2009, 07:29
  4. Qt integration with Eclipse
    By Dougie1610 in forum Newbie
    Replies: 8
    Last Post: 2nd April 2008, 23:37
  5. QT-Eclipse integration
    By LordQt in forum Qt Programming
    Replies: 11
    Last Post: 31st October 2007, 13:26

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.