Bug 573301 - Qyoto (and other Qt# .pc files) are not recognised by MonoDevelop
Summary: Qyoto (and other Qt# .pc files) are not recognised by MonoDevelop
Status: RESOLVED FIXED
Alias: None
Product: openSUSE 11.2
Classification: openSUSE
Component: Mono (show other bugs)
Version: Final
Hardware: x86-64 openSUSE 11.2
: P5 - None : Normal with 5 votes (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-23 11:50 UTC by IB Board
Modified: 2010-11-23 13:46 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description IB Board 2010-01-23 11:50:32 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/532.8 (KHTML, like Gecko) Chrome/4.0.295.0 Safari/532.8

When using MonoDevelop 2.2 from the OBS and mono-qt-devel-4.3.1-3.7.x86_64 from the main openSUSE repos, MonoDevelop will not show Qyoto or any of the other Qt packages in the reference list ("Edit References" on a project, under the "References" tab). 

Reproducible: Always

Steps to Reproduce:
1. Install MonoDevelop and mono-qt/mono-qt-devel
2. Run MonoDevelop and create a new project
3. Right-click on the "References" pseudo-folder for the project and click "Edit References"
4. Scroll down the list of packages available as references from the "References" tab
Actual Results:  
qt-dotnet.dll and other Qt# bindings are not listed

Expected Results:  
qt-dotnet.dll and all other installed Qt# bindings should be listed and available to add as references for the project.

This appears to be because of invalid information in the .pc files. Changing /usr/lib64/pkgconfig/qyoto.pc from:

Name: Qyoto
Description: Qt .NET/Mono bindings
Version: 4.5.0
Libs: -r:qt-dotnet

to:

Name: Qyoto
Description: Qt .NET/Mono bindings
Version: 4.5.0
Libs: -r:/usr/lib/mono/2.0/qt-dotnet.dll

appears to resolve the problem and MonoDevelop now lists qt-dotnet in the references tab.
Comment 1 Miguel de Icaza 2010-11-22 02:05:36 UTC
Please file a bug with the maintainers of qt-dotnet.pc
Comment 2 IB Board 2010-11-23 13:46:27 UTC
I thought I had - I put it against openSUSE as the product, specifically the Mono component. AFAIK then Mono-Qt is a core package, maintained by the openSUSE team.

Incidentally, I'll have to check whether this is still an issue with 11.3, as I've upgraded now.