Development environment

I have downloaded the source code for uqmi and modified it locally.
I can compile and install it manually without any problem. But I can´t get it to work together with Luci-proto-qmi.
I have compiled an image with my locally modified uqmi, Luci-proto-qmi and all dependencies, but when I shall add my wwan interface protocol qmi is not available.
How do I get Luci-proto-qmi to "understand" the my uqmi is valid?