Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. [solved] Qxt installation problems
Forum Updated to NodeBB v4.3 + New Features

[solved] Qxt installation problems

Scheduled Pinned Locked Moved Installation and Deployment
12 Posts 4 Posters 3.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    pkwiecien
    wrote on last edited by
    #1

    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 status

    Does 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

    1 Reply Last reply
    0
    • K Offline
      K Offline
      kaivolde
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi and welcome to devnet,

        Did you build Qxt for both debug and release ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • P Offline
          P Offline
          pkwiecien
          wrote on last edited by
          #4

          Hi

          Thanks for such quick replies.

          You're right, I haven't installed Qxt for debug, only for release. Did it and everything is working fine.

          Thanks a lot :)
          Przemek

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            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 :)

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • K Offline
              K Offline
              Kaluss
              wrote on last edited by
              #6

              How can I Install Qxt for debug? Could You tell me how Yod did that?

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                Build Qxt for both debug and release

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0
                • P Offline
                  P Offline
                  pkwiecien
                  wrote on last edited by
                  #8

                  When you have Qxt unzipped and run "configure.bat" it is installing Qxt in release mode. To enable debug mode run the command again, but with -debug option ("configure.bat -debug"). Than run mingw32-make & mingw32-make install again.
                  It worked for me.

                  1 Reply Last reply
                  0
                  • K Offline
                    K Offline
                    Kaluss
                    wrote on last edited by
                    #9

                    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?

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      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)

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      0
                      • K Offline
                        K Offline
                        Kaluss
                        wrote on last edited by
                        #11

                        Already implemented qxtLogger engine in my app and works very nice.

                        Does anybody heard about internal mechanism which control log files?
                        Delete old ones and e.t.c ?
                        Or maybe I have to implement it by myself?
                        Any tip will be precious.
                        BR
                        Tomek

                        1 Reply Last reply
                        0
                        • SGaistS Offline
                          SGaistS Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on last edited by
                          #12

                          That will depend on your OS, e.g. on linux you have system tools that handles that

                          Interested in AI ? www.idiap.ch
                          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                          1 Reply Last reply
                          0

                          • Login

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • Users
                          • Groups
                          • Search
                          • Get Qt Extensions
                          • Unsolved