Giter VIP home page Giter VIP logo

qconf's People

Contributors

asamk avatar drizt avatar jannic avatar jirislaby avatar jkarneges avatar ri0n avatar tehnick avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

qconf's Issues

autodetection between qt 4 and qt 5 is pretty broken

I've seen two different kinds of errors when Qt 4 is not installed but Qt 5 is.

One where the configure script immediately fails while trying to locate qmake:

$ ./configure
Configuring Project ...
Verifying Qt build environment ... ./configure: 204: local: '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake':: bad variable name

And another where conf compilation fails:

$ ./configure
Configuring Project ...
Verifying Qt build environment ... fail

Reason: There was an error compiling 'conf'.  See conf.log for details.

Be sure you have a proper Qt 4.0+ build environment set up.  This means not
just Qt, but also a C++ compiler, a make tool, and any other packages
necessary for compiling C++ programs.

If you are certain everything is installed, then it could be that Qt is not
being recognized or that a different version of Qt is being detected by
mistake (for example, this could happen if $QTDIR is pointing to a Qt 3
installation).  At least one of the following conditions must be satisfied:

 1) --qtdir is set to the location of Qt
 2) $QTDIR is set to the location of Qt
 3) QtCore is in the pkg-config database
 4) qmake is in the $PATH

This script will use the first one it finds to be true, checked in the above
order.  #3 and #4 are the recommended options.  #1 and #2 are mainly for
overriding the system configuration.

$ cat conf.log
/usr/lib/x86_64-linux-gnu/qt4/bin/moc -DHAVE_MODULES -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I. conf4.cpp -o conf4.moc
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DHAVE_MODULES -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I. -o conf4.o conf4.cpp
In file included from conf4.cpp:9:0:
conf4.h:12:18: fatal error: QtCore: No such file or directory
compilation terminated.
Makefile:211: recipe for target 'conf4.o' failed
make: *** [conf4.o] Error 1

Running with --qtselect=5 works around both of these issues, but IMO this shouldn't be needed if only Qt 5 is installed.

fails with Qt 5.10

The version check in qmake_check uses ?.?.?, expecting a single digit for each version part.

Not working on windows with QT5

Hi,

I downloaded QConf (latest from git) and opened it in QT Creator (bundled with QT5).

I did a clean then a build and I got a qconf.exe

I execute this qconf.exe which produced the configure.exe file.

However, when I launch this configure.exe, I get the following error:

Configuring QConf ...
Verifying Qt 4 build environment ... fail

Reason: Unable to find the 'qmake' tool for Qt 4.

Be sure you have a proper Qt 4.0 build environment set up. This means not
just Qt, but also a C++ compiler, a make tool, and any other packages
necessary for compiling C++ programs.

If you are certain everything is installed, then it could be that Qt 4 is not
being recognized or that a different version of Qt is being detected by
mistake (for example, this could happen if %QTDIR% is pointing to a Qt 3
installation). At least one of the following conditions must be satisfied:

  1. --qtdir is set to the location of Qt
  2. %QTDIR% is set to the location of Qt

This program will use the first one it finds to be true, checked in the above
order.

The qmake is in the PATH and it works, when I type qmake -query, I get the following:

QT_SYSROOT:
QT_INSTALL_PREFIX:C:\Qt\Qt5.0.1\5.0.1\mingw47_32
QT_INSTALL_ARCHDATA:C:\Qt\Qt5.0.1\5.0.1\mingw47_32
QT_INSTALL_DATA:C:\Qt\Qt5.0.1\5.0.1\mingw47_32
QT_INSTALL_DOCS:C:\Qt\Qt5.0.1\5.0.1\mingw47_32\doc
QT_INSTALL_HEADERS:C:\Qt\Qt5.0.1\5.0.1\mingw47_32\include
QT_INSTALL_LIBS:C:\Qt\Qt5.0.1\5.0.1\mingw47_32\lib
QT_INSTALL_LIBEXECS:C:\Qt\Qt5.0.1\5.0.1\mingw47_32\libexec
QT_INSTALL_BINS:C:\Qt\Qt5.0.1\5.0.1\mingw47_32\bin
QT_INSTALL_TESTS:C:\Qt\Qt5.0.1\5.0.1\mingw47_32\tests
QT_INSTALL_PLUGINS:C:\Qt\Qt5.0.1\5.0.1\mingw47_32\plugins
QT_INSTALL_IMPORTS:C:\Qt\Qt5.0.1\5.0.1\mingw47_32\imports
QT_INSTALL_QML:C:\Qt\Qt5.0.1\5.0.1\mingw47_32\qml
QT_INSTALL_TRANSLATIONS:C:\Qt\Qt5.0.1\5.0.1\mingw47_32\translations
QT_INSTALL_CONFIGURATION:
QT_INSTALL_EXAMPLES:C:\Qt\Qt5.0.1\5.0.1\mingw47_32\examples
QT_INSTALL_DEMOS:C:\Qt\Qt5.0.1\5.0.1\mingw47_32\examples
QT_HOST_PREFIX:C:\Qt\Qt5.0.1\5.0.1\mingw47_32
QT_HOST_DATA:C:\Qt\Qt5.0.1\5.0.1\mingw47_32
QT_HOST_BINS:C:\Qt\Qt5.0.1\5.0.1\mingw47_32\bin
QMAKE_SPEC:win32-g++
QMAKE_XSPEC:win32-g++
QMAKE_VERSION:3.0
QT_VERSION:5.0.1

qconf cannot build qt6 project

qconf has dependencies qt5-base and qt5-translations, but If I need to compile a project with qt6 support, then I get an error:
Project ERROR: Qt 5.15.10 is not suited to compile PreviSat. Use Qt 6.4.3 in preference

And there is no option to specify to use qt6.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.