Thread
:
mbarcode
View Single Post
Wikiwide
2010-08-09 , 01:08
Posts: 2,006 | Thanked: 3,351 times | Joined on Jun 2010 @ N900: Battery low. N950: torx 4 re-used once and fine; SIM port torn apart
#
414
I'm trying to create a plugin got mbarcode. I united all the four files of the example into one .cpp and compiled it:
g++ -Wall -c mb.cpp -o mb.so
No warnings, no errors.
The resulting file mb.so I put into
/usr/share/mbarcode/plugins
, nearby other plugins (the only difference is that other plugins have debug=false, and my mb.so has debug=true).
But I see no sign whatsoever that the new file is noticed; it doesn't add an entry into the list of results after scanning. Why is it so? Should I register my plugin somewhere? Should I use other options for g++?
I understand that it looks strange to use neither qmake nor make, but it's a small file, and I want to understand what is going on, instead of creating additional files: .pro, Makefile, etc.
Quote & Reply
|
Wikiwide
View Public Profile
Send a private message to Wikiwide
Find all posts by Wikiwide