Reply
Thread Tools
Guest | Posts: n/a | Thanked: 0 times | Joined on
#1
I'm develping a program for editing id3 tags and stuff and wanted to use taglib for it.
I use Qt creator on Windows and Debian but I haven't figured out how to use taglib as externel resource so if taglib gets updated on maemo5 my program can use the new version without recompiling.

What are the steps needed to do this? I found out that I need to compile the taglib source so that I get the libTagLib.a file is that right?

And if I have this how can I use it?

Many questions and I hope someone has answers.
 
somebody's Avatar
Posts: 128 | Thanked: 487 times | Joined on Oct 2010 @ Novosibirsk, Russia
#2
I just use sources of TagLib in my project (compiled-in). Main problem as I think - how to compile your program with external TagLib in QtCreator (there are no taglib library in standard QtSDK).
As workaround: use scratchbox for compiling your program.
__________________
Donate for SomePlayer
 

The Following User Says Thank You to somebody For This Useful Post:
Guest | Posts: n/a | Thanked: 0 times | Joined on
#3
Originally Posted by somebody View Post
As workaround: use scratchbox for compiling your program.
I got the same idea but with that solution I loose the nice behaviour of Qt creator like press on play (build and run on N900) every 5 minutes.

There must be a solution. I found some windows guys who made something similar so this must be possible. I mean you can't compile in all the stuff you need. That's ok for small things like that, but for big projects?

I posted the same question to the mailing list of taglib. Maybe somebody there has answers.
Link: http://mail.kde.org/pipermail/taglib...ch/001876.html

I hope I made it right, I never used mailing lists.

When I try scratchbox for this how must I change my code? How do I include taglib and so on?
I'm relatively new to this so I have no idea how to do this.

EDIT[2011-03-30]:

I found a nice solution to use Qt Creator to write the code and then compile and run it inside scratchbox so that I can include the taglib-dev package from maemo with a simple "#include <taglib>" and use it in my code.
Here is the link to the forum.nokia post:
http://blogs.forum.nokia.com/blog/ka...and-scratchbox

But there is a problem. Qt Creator does'nt detect the given qmake and says it can't find a toolchain.
I really have no idea how to solve this, maybe somebody has an idea? As the comments tell it should work like described.

Last edited by XenGi; 2011-04-01 at 09:58.
 
Reply


 
Forum Jump


All times are GMT. The time now is 14:28.