Results 1 to 2 of 2

Thread: building packages with qt 4.5

  1. #1
    Join Date
    Dec 2008
    Location
    Warsaw, Poland
    Posts
    89

    Default building packages with qt 4.5

    In my home project I created a subproject "qt_apps" https://build.opensuse.org/project/s...etamPL:qt_apps

    meta for this project
    Code:
    <project name="home:etamPL:qt_apps">
      <title>Qt Apps</title>
      <description>Here are apps, that are compiled with qt from KDE:Qt</description>
      <person userid="etamPL" role="maintainer"/>
      <person userid="etamPL" role="bugowner"/>
      <repository name="openSUSE_11.0">
        <path repository="standard" project="openSUSE:11.0"/>
        <path repository="openSUSE_11.0" project="KDE:Qt"/>
        <arch>x86_64</arch>
        <arch>i586</arch>
      </repository>
      <repository name="openSUSE_11.1">
        <path repository="standard" project="openSUSE:11.1"/>
        <path repository="openSUSE_11.1" project="KDE:Qt"/>
        <path repository="openSUSE_11.1" project="home:RedDwarf:fakePackman"/>
        <arch>x86_64</arch>
        <arch>i586</arch>
      </repository>
    </project>
    and all my packages get there "expansion error: nothing provides libqt4-devel >= 4.5"

    When I remove ">= 4.5" from requirements in spec file and run "osc build" it uses libqt4 version 4.4.3 from openSUSE:11.1

    Am I doing something wrong or what?
    Kick Ass! https://web.archive.org/web/20130106180239/http://blog.hennevogel.de/kick-ass/

  2. #2
    Join Date
    Dec 2008
    Location
    Warsaw, Poland
    Posts
    89

    Default Re: building packages with qt 4.5

    Solved!

    I had to put KDE:Qt before openSUSE:11.1 standard:
    Code:
    <project name="home:etamPL:qt_apps">
      <title>Qt Apps</title>
      <description>Here are apps, that are compiled with qt from KDE:Qt</description>
      <person userid="etamPL" role="maintainer"/>
      <person userid="etamPL" role="bugowner"/>
      <repository name="openSUSE_11.0">
        <path repository="openSUSE_11.0" project="KDE:Qt"/>
        <path repository="standard" project="openSUSE:11.0"/>
        <arch>x86_64</arch>
        <arch>i586</arch>
      </repository>
      <repository name="openSUSE_11.1">
        <path repository="openSUSE_11.1" project="KDE:Qt"/>
        <path repository="standard" project="openSUSE:11.1"/>
        <path repository="openSUSE_11.1" project="home:RedDwarf:fakePackman"/>
        <arch>x86_64</arch>
        <arch>i586</arch>
      </repository>
    </project>
    Kick Ass! https://web.archive.org/web/20130106180239/http://blog.hennevogel.de/kick-ass/

Posting Permissions

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