Results 1 to 5 of 5

Thread: New Debian, new Qt - and bags of problems

  1. #1
    Join Date
    Apr 2013
    Location
    Prague
    Posts
    258
    Thanks
    3
    Thanked 65 Times in 59 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default New Debian, new Qt - and bags of problems

    So, I went "up to date" finally. I installed Debian 8 KDE and got Qt5. Good, I wanted to compile some projects. I choose a small database thing, which I would like to run ASAP. After some wrestling, I made Creator run and compile the thing.

    (1) The app needs KZip, KArchiveEntry and some other zip-related classes. I know that this is the KArchive library now - but which library should I download and where shlould I get headers? Apper knows nothing about "KArchive". Google seems to be unusable here. I also have seen that I should add
    Qt Code:
    1. QT += KArchive
    To copy to clipboard, switch view to plain text mode 
    but my Qt Creator knows nothing about "KArchive". libkdecore seems to exist in Qt5 but there is no "libkdecore5-dev" package in sight. Where are the headers?

    (2) I also need "system fonts" (fixed and proportional fonts set by "system settings"). They were available at KGlobalSettings class from libkdeui in Wheezy. In Jessie, evil took libkdeui along with headers like kglobalsettings.h. How are system settings (fonts are enough) accesible now (in Jessie)?

    What to do?

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,230
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: New Debian, new Qt - and bags of problems

    Have you tried #inqlude.org?

  3. #3
    Join Date
    Apr 2013
    Location
    Prague
    Posts
    258
    Thanks
    3
    Thanked 65 Times in 59 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: New Debian, new Qt - and bags of problems

    Yes, I have found this repository. It contains source files which I can compile (I hope I can). But the problem is also about "standard places" - I wouldn't like to develop my own data structures incompatible with decisions of the "big ones". I would appreciate .deb packages which will install where they belong.

    KGlobalSetting has been detected in the depth of kdeui. The Jessie repository contains libkdeui5 and it is installed. The library seems to be the kdeui but where are headers? There used to be "dev" packages but they seem to be gone.

  4. #4
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: New Debian, new Qt - and bags of problems

    The development package for Qt4 based kdelibs is kdelibs5-dev

    The KDE Frameworks 5 module packages are still in experimental.

    Cheers,
    _

  5. #5
    Join Date
    Apr 2013
    Location
    Prague
    Posts
    258
    Thanks
    3
    Thanked 65 Times in 59 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: New Debian, new Qt - and bags of problems

    I installed kdelibs5-dev, got the needed headers - and then got a build which crashes immediately in QApplication ctor. I also tried a project independent of KDE - it compiled and run. So I commented out the zip support, hardcoded the fonts, and I got what I (almost) wanted. Oh, well ...

    I am going to compile KArchive to get the zip support back at least and then wait until the framework becomes more mature.

Similar Threads

  1. How to run Qt 5.1.0 application on Debian
    By Infinity in forum Installation and Deployment
    Replies: 4
    Last Post: 5th September 2013, 03:04
  2. Replies: 1
    Last Post: 3rd August 2013, 12:39
  3. QT 4.4 Package for Debian
    By Tavo92 in forum Installation and Deployment
    Replies: 3
    Last Post: 6th August 2008, 19:03
  4. Look and Feel on Debian Linux
    By Krish_ng in forum Qt Programming
    Replies: 1
    Last Post: 24th July 2007, 10:11
  5. KDE/QWT doubt on debian sarge
    By hildebrand in forum KDE Forum
    Replies: 13
    Last Post: 25th April 2007, 07:13

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.