Bug 573301

Summary: Qyoto (and other Qt# .pc files) are not recognised by MonoDevelop
Product: [openSUSE] openSUSE 11.2 Reporter: IB Board <ibboard>
Component: MonoAssignee: E-mail List <bnc-team-mono>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 11.2   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

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.