digitalmars.D.learn - Linking Tango + QtD under Ubuntu (with Rebuild)
- Michael Mittner (12/12) Aug 06 2009 I'm trying to evaluate QtD. First step is to link something against Tang...
- Thomas Brix Larsen (5/22) Aug 09 2009 Hello Mike.
- Michael Mittner (7/11) Aug 09 2009 Now it works too - problem was that I installed both Tango and QtD from ...
I'm trying to evaluate QtD. First step is to link something against Tango and Qt, but unfortunately I can't get it to work: rebuild main.d -debug -full -oqobj/ -I~/coding -llqtdcore -llqtdgui - llQtCore -llQtGui I have Tango installed via apt-get (and the Tango repository), as well as libqt4-dev and all its dependencies, but still the linker can resolve almost nothing. When I remove the QtD imports and simply link against Tango (with a test Stdout), it links and runs. Has anybody run into some similar problem? I've never been good at this linking business and I'm out of ideas :( so help would be much appreciated. Regards, Mike
Aug 06 2009
Michael Mittner wrote:I'm trying to evaluate QtD. First step is to link something against Tango and Qt, but unfortunately I can't get it to work: rebuild main.d -debug -full -oqobj/ -I~/coding -llqtdcore -llqtdgui - llQtCore -llQtGui I have Tango installed via apt-get (and the Tango repository), as well as libqt4-dev and all its dependencies, but still the linker can resolve almost nothing. When I remove the QtD imports and simply link against Tango (with a test Stdout), it links and runs. Has anybody run into some similar problem? I've never been good at this linking business and I'm out of ideas :( so help would be much appreciated. Regards, MikeHello Mike. This works well for me: rebuild -oq.build main.d -L-lqtdgui -L-lqtdcore -L-lQtCore -L-lQtGui /Brix
Aug 09 2009
Thomas Brix Larsen wrote:This works well for me: rebuild -oq.build main.d -L-lqtdgui -L-lqtdcore -L-lQtCore -L-lQtGui /BrixNow it works too - problem was that I installed both Tango and QtD from the repository; so I had Tango version 0.99.7, while QtD is compiled against 0.99.8 - so it didn't link. I eventually just downloaded the latest Tango tarball, pulled in QtD via svn and prayed a couple times to the FSM and got it running. Lesson learned: don't let apt-get handle the D stuff.
Aug 09 2009