3

I am trying to install LibQxT to use it with Qt5, so I downloaded the sources and as soon as I run the configure.bat there is an error:

LibQxt requires 4.3 or newer but Qt 5.2.1 was detected.

Searching on the web Ive found out that apparently it doesnt know the correct path to the qconfig.pri (as seen here (last post)) so it doesnt really detect the version.

I have tried adding the path to the variable QTDIR in the ways described in the post
(I tried to do it in the qmake cache located in the Libqxt folder and tried to define it as a environment variable). I havent found any clear solution to this problem, so I hope someone knows by now how to solve this issue.

Thankyou.

EDIT What @vahancho said its true, if its not detecting the version, why does it name it? Perhaps its not detecting it properly.
But if it is, why cant it see that my version is higher than the requested one?

I have located the error and it fails at some point betweeen the echos and the if: echo Configuration successful. echo Generating makefiles... cd %QXT_BUILD_TREE% %QMAKE_BIN% %MSVCMODE% -recursive %QXT_SOURCE_TREE%\libqxt.pro if errorlevel 1 goto mainqmakeERR

Nejat
  • 31,784
  • 12
  • 106
  • 138
Victor
  • 907
  • 2
  • 17
  • 42
  • But how it says `but Qt 5.2.1 was detected.`, if it cannot detect the version? – vahancho May 07 '14 at 10:01
  • @vahancho If it is detecting the version, how does it not realize that its a higher verison than 4.3? – Victor May 07 '14 at 10:02
  • I think it is simply not aware about Qt5 and its versions. Did you check the configure.bat file? What it does? – vahancho May 07 '14 at 10:09
  • @vahancho it has around 365 lines and basically sets a lot of variables and such needed for configuring the installation and preparing makefiles. It must be something else, this problem has happened to other people with 4.x as well, and it has worked for people with Qt 5. – Victor May 07 '14 at 10:15
  • Try to use the latest development branch which is libqxt 0.7 – Nejat May 07 '14 at 10:23
  • @Nejat I cannot seem to find a source for that branch, could you please provide one? – Victor May 07 '14 at 10:44
  • 1
    You can see the latest source code at http://dev.libqxt.org/libqxt/src – Nejat May 07 '14 at 10:50
  • 1
    You can just clone one for your self. – Nejat May 07 '14 at 10:51
  • @Nejat It worked! Thankyou very much! And sorry, I was not very aware of what git was (newbie programmer here) – Victor May 07 '14 at 11:12
  • @Nejat please post it as an answer so people with a similar problem can find help – Victor May 07 '14 at 11:15

1 Answers1

1

You can try to use the latest development branch of libqxt which could be found here. It will be compiled with Qt 5. You can just clone one copy of the source code by:

git clone https://bitbucket.org/libqxt/libqxt.git
Nejat
  • 31,784
  • 12
  • 106
  • 138