[solved] Qxt installation problems
-
Hi,
New to the forum and quite new to QT, but not new in programming at all.I'm writing a project for my studies, and one of the functions it should do is to send email. I've found out that many of developers use Qxt library, so I decided to try with it.
Am using Qt 5 on Win 8 with newest Qxt libraries. I generally followed what is "here":http://qt-project.org/wiki/LibQxt_in_QtCreator. I had one problem: html directory is not included in zip I've downloaded so it couldn't be copied. All other steps went fine, i have additionally used mingw32-make install as found on "that page":http://dev.libqxt.org/libqxt/wiki/user_guide.
I've created completely new project in QtCreator and i've added that lines to the project file at the end of .pro file:
@win32:CONFIG(release, debug|release): LIBS += -LC:/Qt/libqxt/lib/ -lqxtcore
else:win32:CONFIG(debug, debug|release): LIBS += -LC:/Qt/libqxt/lib/ -lqxtcore
INCLUDEPATH += C:/Qt/libqxt/include/QxtCore
DEPENDPATH += C:/Qt/libqxt/include/QxtCore
CONFIG += qxt
QXT += core@Now, in my main.cpp i've added:
@#include <QxtCore>@
And finally, the errors i get:
:-1: error: cannot find -lQxtCored
collect2.exe:-1: error: error: ld returned 1 exit statusDoes anyone has an idea of what can be wrong here? Or maybe someone knows more detailed manual for installing Qxt? I have already spent two days for trying this to work and decided to ask you for help.
Feel free to ask any additional questions if needed.
Thanks in advance,Przemek
-
Hi,
is there a debug-version of the library in your lib-path?
Does the build work in release-mode?But even if you get your link-problem solved. Obey the hint from the website:
"Qxt will likely not work with newer Qt versions due to usage of internal api. We recommend that you pick out the parts you want instead of using the entire libqxt."Best regards Kai
-
Hi and welcome to devnet,
Did you build Qxt for both debug and release ?
-
You welcome !
Since you have Qxt working now, please update the thread title prepending [solved] so other forum users may know a solution has been found :)
-
Build Qxt for both debug and release
-
-
Thanks guys for all Your replies.
But I got one important question to [~SGaist]. As I found in http://dev.libqxt.org/libqxt/wiki/Home the LIBQXT IS NO LONGER MAINTAINED. Is it wise to include this library to currently started project? I really like QxtLogger class working mechanism. Maybe its better to seek for newer solutions? I check QMessageLogger but its completly different and its not what Im looking for. Could anybody give me some advice? -
The library itself is still working so there's nothing wrong using it. However if you find a bug you will have to fix it yourself (or get someone to help you)
-
That will depend on your OS, e.g. on linux you have system tools that handles that