Registered Member
|
well first of all, thx for the hard work in kde4.x i love it
now to the grain i know that masters of cmake should find that sytem awesome but for me is a trully real pain in the ****. aka im trying to develop a Qt/KDE app for linux and QT only for the other OSes that my app have to support (since im a kde fanboy i want to show in linux a trully integraded app and well the other OSes i dont really care is just for compatibility ****) but cmake is creeping me out already, it fails me in any other unix like OS, in linux it self is random if it works or not, not really cool to compile with many threads (make -jx) and well not really comfortable to use another projects inside dunno like lzo. so for compatibility issues i droped Kdevelop/qdevelop/Qtcreator as an option here (i dont wanna use cmake is too unstable for a multi paltaform real work) so the champ was netbeans and the old trusty makefile system but now i cant find a way to pass kde 4.4 libraries to the linker , so as you imagine all my compilation is like 5m of undefined reference to kde functions, so my question here can someone plz give me the exact way to pass the libraries to the linker like a normal makefile (again i dont plan to waste 1 more minute trying with cmake, i know is probably my fault etc, etc, etc but im behind schedule so i just need the makefile routes only, maybe in a near future ill trying again but for now is out of question) thx in advance |
Registered Member
|
Hi
I think I have the exact same problem so I didn't start new topic, just bump it;). I want to start write programs in KDE using NetBeans, but i just cannot compile (link?) my program. Anyway I cannot run it. When I create a new project i choose C/C++ QT Application, and then clear main.cpp and star creating my application. Maybe that is the problem? Do you guys use some project template for KDE? I cannot seem to find any on the internet . The program I try to run is just a copy of very simple program so I really doubt, that there are any errors. So anyone can help me (us) here? I(we) would really appreciate any answer:). Thanks in advance. |
Registered Member
|
Well... I think I solved the problem. I just added needed libs for linker manually and it worked. But I really don't know If this is just a workaround or is it suppose to be that way. I mean, I have to add every single one lib instead of just passing directory with libs.
Anyway I am glad I worked it out and can start learning to code for KDE. Maybe one day we will meet in the development team?:)) |
Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell