Anyway, i thank you very much, i've got the GUI(s) running pretty fine now here
STi
]]>TIA
STi
This code was more than less of my own, a member of my company has written this piece of code (i'm not a GUI developer.. BMS is more interesting to me).
But how about the other way round? Getting a QString to a std::string?
I'll give it a shot. Thank you again,
STi
std::string tmp = "hello";
QString str(tmp.c_str()); // explicit QString ctor
or
void somefunc(QString str);
...
std::string my_str = "abcdefg";
somefunc(my_str.c_str()); // implicit QString ctor
b) rebuild Qt yourself, but keep in mind your code is going to depend on the STL enabled Qt version....
to do this:
run "abs" once, to build the tree.
goto /var/abs/lib/qt
edit PKGBUILD and remove the "--no-stl" configure flag
-----
I do think it's odd that Qt is built w/o stl support... I'd look into this if I were you.... there's probably a reason... Judd, you're the maintainer of Qt... any word?
]]>Any moderator, of course, i won't be sad if this or the other post gets deleted / edited / moved to hold the forum clean.
My problem is about compiling QT-Software depending not only on QT functions, so programs which need to interact with STL. What i've found out, this usually occurs of the packager used "QT_NO_STL" as compiling option. For further information read my post in "Arch Discussion".
http://bbs.archlinux.org/viewtopic.php?t=8998
Thank you,
STi