Results 1 to 20 of 25

Thread: KDevelop and Qt4

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: KDevelop and Qt4

    The compilation error is generated because in order to embed an image the Qt3 uic is used (I don't know why)
    Ok, I know now why.
    Qt4 has resource system.
    From the docs:
    The Qt resource system is a platform-independent mechanism for storing binary files in the application's executable. This is useful if your application always needs a certain set of files (icons, translation files, etc.) and you don't want to run the risk of losing the files.
    The resource system is based on tight cooperation between qmake, rcc (Qt's resource compiler), and QFile. It obsoletes Qt 3's qembed tool and the image collection mechanism.

  2. #2
    Join Date
    Mar 2006
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: KDevelop and Qt4

    Hello,

    I am using Suse 10 with KDevelop 3.3.1 and Qt 4. I can compile my app and run it fine but unfortunately I lost the ability to debug it with breakpoints since I integrated Qt :-( I found a post on the web with the exact same problem and description (see below), but unfortunately no answer... I use CONFIG += qt debug thread warn_on and in the generated Makefile I set -g and -O0.

    http://linux.derkeiler.com/Newsgroup...5-05/0253.html

    Any ideas ?


    best regards,


    Christobal

  3. #3
    Join Date
    Jul 2006
    Location
    Belgium
    Posts
    6
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: KDevelop and Qt4

    Quote Originally Posted by huet
    Hello,

    I am using Suse 10 with KDevelop 3.3.1 and Qt 4. I can compile my app and run it fine but unfortunately I lost the ability to debug it with breakpoints since I integrated Qt :-( I found a post on the web with the exact same problem and description (see below), but unfortunately no answer... I use CONFIG += qt debug thread warn_on and in the generated Makefile I set -g and -O0.
    It works on my system (Kdevelop 3.3.4 and Qt 4.1.4). In the .pro file, i have :
    QT = core gui debug
    CONFIG += debug warn_on
    Don't forget to clean the project, recompile it and run in debugger mode. If you modify settings in qmake manager it does not recompile by default.

    Cedric.

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.