Quantcast
Channel: Installation and Deployment
Viewing all 22112 articles
Browse latest View live

[[qanda:topic_unsolved]] Building examples on Ubuntu with Qt-5.13.0

$
0
0

I'm starting to work with Qt-5.13.0 on Ubuntu 16.04.
I installed Qt-5.13.0 in ~/Qt5.13.0.
Running Qt Creator, I click on Welcome then Examples, and select the Address Book Example.
Click Configure Project with Qt-5.13.0.
This generates these errors in General Messages:

/home/gib/Qt5.13.0/5.13.0/gcc_64/mkspecs/features/toolchain.prf(39): system(execute) requires one or two arguments.
Project ERROR: Cannot run compiler 'g++'. Output:

===================
Maybe you forgot to setup the environment?
/home/gib/Qt5.13.0/5.13.0/gcc_64/mkspecs/features/toolchain.prf(76): Variable QMAKE_CXX.COMPILER_MACROS is not defined.
/home/gib/Qt5.13.0/5.13.0/gcc_64/mkspecs/features/toolchain.prf(201): system(execute) requires one or two arguments.
Project ERROR: Cannot run compiler 'g++'. Output:

===================
Maybe you forgot to setup the environment?
Error while parsing file /home/gib/Qt5.13.0/Examples/Qt-5.13.0/widgets/itemviews/addressbook/addressbook.pro. Giving up.
/home/gib/Qt5.13.0/5.13.0/gcc_64/mkspecs/features/toolchain.prf(39): system(execute) requires one or two arguments.
Project ERROR: Cannot run compiler 'g++'. Output:

===================
Maybe you forgot to setup the environment?
/home/gib/Qt5.13.0/5.13.0/gcc_64/mkspecs/features/toolchain.prf(76): Variable QMAKE_CXX.COMPILER_MACROS is not defined.
/home/gib/Qt5.13.0/5.13.0/gcc_64/mkspecs/features/toolchain.prf(201): system(execute) requires one or two arguments.
Project ERROR: Cannot run compiler 'g++'. Output:

===================
Maybe you forgot to setup the environment?
Error while parsing file /home/gib/Qt5.13.0/Examples/Qt-5.13.0/widgets/itemviews/addressbook/addressbook.pro. Giving up.

Perhaps as a consequence, no Project Tree is displayed. With Project view selected, there is just the single title line "addressbook". (The project build is apparently successful, but it can't be run - there is a popup "Could not find the executable, please provide one" Presumably this problem is caused by the configure issues.)

I don't know what it means in this context to "setup the environment". My previous experience with Qt Creator has been mainly on Windows, and the examples have always built with no problems.

Advice will be much appreciated.

Thanks
Gib


[[qanda:topic_unsolved]] uic problem

$
0
0

@gibbogle said in uic problem:

/home/gib/Qt5.13.0/5.13.0/gcc_64/bin/uic: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version

It actually calls the correct uic, but wrong Qt libs are used.
Did you try to delete the build folder, run qmake and build again?

[[qanda:topic_unsolved]] Over and Over SQL Driver not loaded.. 1year with same problem..

$
0
0

Re: [SOLVED] QSqlDatabase: QMYSQL driver not loaded with QMYSQL driver available in OSX Mavericks

Hi All,

One year ago I somehow was influenced to use QT instead of Java, in order to create a SW that runs into any OS.
Since the argument was to avoid Java, I did not even blink :)

So I started doing na app to consult a DB remote, and 1 year ago, I had HUGE troubles because the driver was not loading.
I do this after hours at night only, so I remember I took almost 3 weeks until I make it work..was a real nightmare. I was so happy that it works that I did not documented...

Problem.. 1 year later, by accident I installed a new version of QT, updated my Labtop to a new MACos version, and puff... the annoying "Driver Not loaded" and is two weeks already passed...and me stuck in the most stupid thing on earth...

So, I follow all the theories seen in google and forums, and nothing .. can you help? what i did:

I follow the Topic on this forum and repeated the procedure, about checking otool, using "install_name_tool"..but nothing..

in the end I re-installed the Mysql drivers and did all steps as written here:
http://zrsite.com/detail.php?id=138

and nothing..

My (and from 36'500 Developers as we can see in forum) Standard error:
QSqlDatabase: QMYSQL driver not loaded
QSqlDatabase: available drivers: QSQLITE QMYSQL QMYSQL3 QODBC QODBC3 QPSQL QPSQL7
"Driver not loaded Driver not loaded"

My lib file:

Marios-MacBook-Pro-2:sqldrivers marioalmeida$ otool -L libqsqlmysql.dylib
libqsqlmysql.dylib:
libqsqlmysql.dylib (compatibility version 0.0.0, current version 0.0.0)
@rpath/QtSql.framework/Versions/5/QtSql (compatibility version 5.10.0, current version 5.10.0)
@rpath/QtCore.framework/Versions/5/QtCore (compatibility version 5.10.0, current version 5.10.0)
/System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration (compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (compatibility version 1.0.0, current version 275.0.0)
@executable_path/../Frameworks/libmysqlclient.20.dylib (compatibility version 20.0.0, current version 20.0.0)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 307.5.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1238.50.2)

[[qanda:topic_unsolved]] Print logs while installing Qt program?

$
0
0

Hello,
I am creating a Qt Installer project based on QtIFW example . I want to output some log through console.log() in controller.qs and installscript.qs respectively,but running installation through Qt Creator only gets output like below. Is there any wrong during using console.log?

Tks!

[[qanda:topic_unsolved]] usage of QT_SCALE_FACTOR decreases performance of the application

$
0
0

we have developped a QT application, which allows users to create plots.
On a standard screen, the application works perfectly.
But on a 4K Screen, the font sizes are very small. So we used QT_SCALE_FACTOR=1.5 and QT_AUTO_SCREEN_SCALE_FACTOR=0. The application looks very nice, text is OK and icons are rendered properly. However whenever we try to plot data, it is much slower. In some cases it takes minutes (case where the 2 signals don't share the same Y axis.) The CPU of the application is 100% during that time and a little bit of debugging shows that drawPolyline in libQtGUI is taking time...
When instead we use QT_FONT_DPI=160 and QT_AUTO_SCREEN_SCALE_FACTOR=1, text is Ok, performance is OK (back to normal) but icons are very small.

Env. is Red hat 7.6 or 7.4, we try with QT 5.6 and 5.9.
Any hints, feedback on this issue would be highly appreciated

[[qanda:topic_unsolved]] Error during uninstallation process

$
0
0

QT 5.12.2 was installed some time ago on KDE Neon 5.16 via the online install into /usr/bin.
Now I run the maintenance tool and added Qt 5.13.1

Downloading the files was without error.
However, during install I received these errors:

Error during uninstallation process: Cannot copy file "/usr/bin/Qt/Tools/Qt3DStudio/bin/imageformats/libqjpeg.so" to "/usr/bin/Qt/Tools/Qt3DStudio/plugins/imageformats/libqjpeg.so": Cannot open /usr/bin/Qt/Tools/Qt3DStudio/bin/imageformats/libqjpeg.so for input

Error during uninstallation process:
Cannot copy file "/usr/bin/Qt/Tools/Qt3DStudio/bin/platforms/libqxcb.so" to "/usr/bin/Qt/Tools/Qt3DStudio/plugins/platforms/libqxcb.so": Cannot open /usr/bin/Qt/Tools/Qt3DStudio/bin/platforms/libqxcb.so for input

Error during installation process (qt.qt5.5131.src):
Error while extracting archive "installer://qt.qt5.5131.src/5.13.1-0-201909031251qtdeclarative-everywhere-src-5.13.1.7z": Cannot open file "/usr/bin/Qt/5.13.1/Src/qtdeclarative/tests/auto/qml/ecmascripttests/test262/test/language/expressions/tagged-template/cache-differing-raw-strings.js" for writing: Permission denied

To the first error: there is no such directory "imageformats". There is only one file Qt3Dviewer in the dir.

To the second error: there is no"platforms" directory there.

To the third error: "Permission denied" makes no sense. The /usr/bin/Qt/5.13.1/... path was just created by the installation. After the install, there are four files in this dir:

  • cache-different-functions-same-site.js
  • cache-differing-expressions-eval.js
  • cache-differing-expressions-new-function.js
  • cache-differing-expressions.js

When these error messages came up, I clicked 'ignore' thus the process could 'complete'.

I don't know how serious these errors are.
However, trying to run a "Example" project generates a "GL/gl.h file not found" error. This is regardless if i set the kit to 5.13.1 or 5.12.2.

Anybody? How to go from here?
THNX
Bill

[[qanda:topic_solved]] qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.

[[qanda:topic_unsolved]] Fireird IBase Connection

$
0
0

I compiled the ibase driver for firebird. Now I would like to know how do I use the plugin and where do I put these files:
ibase.dll
ibase.lib
ibase.pdb


[[qanda:topic_unsolved]] Configuring build of Qt for VS 2017 from source keeps failing

$
0
0

I'm having issues trying to build Qt such that I can get the debug symbols to figure out why the application crashes every few days or so. This is for a 64 bit qml application with c++ feeding data from a worker thread. This is a full screen (with on screen keyboard) application that runs on windows. Below is the output from config.log with the command given in the first line. I've X'ed all personal info. What would cause the error shown in the last 2 lines?

> Command line: -platform win32-msvc2017 -commercial -prefix win32-msvc2017 -confirm-license -debug-and-release -force-debug-info -nomake examples -nomake tests -skip qtwebengine -skip qt3d
> + C:/Qt/5.12.1/Src/qtbase/bin/licheck.exe  yes  C:/Qt/5.12.1/Src/qtbase C:/Qt/5.12.1/Src/qtbase  win32-msvc win32-msvc
> > Licensee="Zaatri Jerry"
> > Edition="Device Creation"
> > ReleaseDate="2019-01-29"
> executing config test verifyspec
> + cd /d C:\Qt\5.12.1\Src\config.tests\verifyspec && C:\Qt\5.12.1\Src\qtbase\bin\qmake.exe "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared warn_off console single_arch" C:/Qt/5.12.1/Src/qtbase/config.tests/verifyspec
> + cd /d C:\Qt\5.12.1\Src\config.tests\verifyspec && set MAKEFLAGS=& jom clean && set MAKEFLAGS=& jom
> > jom 1.1.3 - empower your cores
> > 	del verifyspec.obj
> > 	del verifyspec.exp
> > Could Not Find C:\Qt\5.12.1\Src\config.tests\verifyspec\verifyspec.exp
> > jom 1.1.3 - empower your cores
> > 	cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -O2 -MD -W0 -EHsc -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DNDEBUG -IC:\Qt\5.12.1\Src\qtbase\config.tests\verifyspec -I. -IC:\Qt\5.12.1\Src\qtbase\mkspecs\win32-msvc -Fo @C:\Users\JERRY~1.ZAA\AppData\Local\Temp\verifyspec.obj.6760.0.jom
> > verifyspec.cpp
> > 	link /NOLOGO /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO /SUBSYSTEM:CONSOLE "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'" /MANIFEST:embed /OUT:verifyspec.exe @C:\Users\JERRY~1.ZAA\AppData\Local\Temp\verifyspec.exe.6760.94.jom
> > LINK : fatal error LNK1158: cannot run 'rc.exe'
> > jom: C:\Qt\5.12.1\Src\config.tests\verifyspec\Makefile [verifyspec.exe] Error 1158

[[qanda:topic_unsolved]] How to clear caches of Qt Online Installer (Maintenance tool)

$
0
0

My Qt online installer always attempts to remove components which I have long manually cleaned away both from file system and components.xml (after they had been left half-uninstalled after a crash).
It seems the online installer has some kind of cache, because it still remembers these components. What do I need to remove so it only depends on the content of components.xml?

[[qanda:topic_unsolved]] Cross Compilation of qt 5.13.0 for raspberry pi

$
0
0

Hi,
One of my project I am cross compiling the code done on qt for raspberry pi. I am new to qt and first time I am doing cross compilation. I followed the steps for cross compilation given in the below mentioned link.
https://forum.qt.io/topic/68381/cross-compile-qt-windows-to-raspberry-3. I am getting errors at step12. The below attached image is showing the error when trying run the configuration script at step 12. The error I am getting are given below and also attached the image of the error,0_1568626970416_Capture.PNG
c:/SysGCC/qt-everywhere-src-5.13.0/qtbase/qmake/library/qmakebuiltins.cpp:542:104: error: '_popen' was not declared in this scope
+ QLatin1String(" && ") + args).toLocal8Bit().constData(), QT_POPEN_READ)) {
^
c:/SysGCC/qt-everywhere-src-5.13.0/qtbase/qmake/library/qmakebuiltins.cpp:550:32: error: '_pclose' was not declared in this scope
int ec = QT_PCLOSE(proc);
^
make.exe: *** [qmakebuiltins.o] Error 1

I am new to qt and cross compilation I don't know why that error is coming and how I can solve the issue.
I hope somebody in this forum can help me to solve the issue.
Thank you,
Alphy

[[qanda:topic_unsolved]] Qt installer framework: installer change license html file from utf-8 to windows-1252

$
0
0

Hi Qt Team

J have problem with installer framework, and the license file in html format (utf-8 encoded).

my package.xml contains license, ex:
<Licenses>
<License name="My license" file="license.html" />
</Licenses>

license.html is write in utf-8 and has header:
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>

After instalation license.html file located in Licenses subdirectory has
changed the encoding from utf8 to windows-1252.

J loook to source code and I found someting that in licenseoperation.cpp

bool LicenseOperation::performOperation(){
...
for (QVariantMap::const_iterator it = licenses.constBegin(); it != licenses.constEnd(); ++it) {
        QFile file(targetDir + QLatin1Char('/') + it.key());
        ....
        QTextStream stream(&file);
        stream << it.value().toString();
    }
}

Text is converted to default encoding system in this palce:

QTextStream stream(&file);
stream << it.value().toString();

but my license is in html format, it can not be converted to default
system text encoding.

[[qanda:topic_unsolved]] Qt installer framework: 3.1.1 no Quit button translation on IntroductionPage

$
0
0

Please change in packagemanagergui.cpp (line:1635)

setButtonText(QWizard::CancelButton, tr("&Quit"));
to
setButtonText(QWizard::CancelButton, gui()->defaultButtonText(QWizard::CancelButton)

[[qanda:topic_unsolved]] QtInstaler framework 3.1.1, missing translation "Instaling component %1" or "Instaling component %1..."

$
0
0

Some translations files (es,it,fr,ja,pl,zh)
has wrong soruce string <source>Installing component %1</source>

but translations (da,dt,ru)
has good source string <source>Installing component %1...</source>

and pt_BR has correnct and uncorrect source string
<source>Installing component %1...</source> and
<source>Installing component %1</source>

[[qanda:topic_unsolved]] How to cross compile qt code from x64 linux to linux ARM

$
0
0

Hi,

I am trying to cross compile my qt code to be deploy in linux ARM machine.

I have searched online how to cross compile but I am not sure at one step which is load the qmake of the arm qt. When I load that it prompt "Exec format error". I have added gcc and g++ compiler for ARM inside qt and I am left with the qmake step which I am confuse about.

0_1568712765654_Screenshot from 2019-09-17 17-30-45.png

Does anyone know?

Thanks!


[[qanda:topic_unsolved]] Qtknx

$
0
0

@sgaist
Platform is windows 10
QT version is 5.13.1
I don't have commercial license.

[[qanda:topic_unsolved]] Perl English module not found even if it's installed

$
0
0

Under Ubuntu Stretch/sid I want to cross-compile Qt5 from source for an ARM target.
I have Perl installed:

$ perl -v
This is perl 5, version 24, subversion 4 (v5.24.4) built for x86_64-linux
  1. when I issued perl init-repository it said I didn't have the English module installed. So using cpan I forced install English. And then I was able to run the script

  2. now I need to run the configuration. It returns again the same error saying the English module is not installed. Well, it is available here:

    $ perldoc -l English
    /usr/local/lib/perl5/5.30.0/English.pm

but in the error message ("Can't locate English.pm in @INC (you may need to install the English module) (@INC contains: [...]") shows a lot of directories that are about the cross-compile environment, not the host one (i.e. /usr/local/lib).

Any idea?

[[qanda:topic_unsolved]] QMake mkspecs ignore the hard/soft settings

$
0
0

To manually cross-compile an hello-world source file I have to issue:

$ source /local/STM32MP15-Ecosystem-v1.0.0/Developer-Package/SDK/environment-setup-cortexa7t2hf-neon-vfpv4-openstlinux_weston-linux-gnueabi
$ echo $CC arm-openstlinux_weston-linux-gnueabi-gcc -march=armv7ve -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/local/STM32MP15-Ecosystem-v1.0.0/Developer-Package/SDK/sysroots/cortexa7t2hf-neon-vfpv4-openstlinux_weston-linux-gnueabi
$ $CC helloworld.cpp -o helloworld

So I created this device mkspec:

include(../common/linux_device_pre.conf)

SDKTARGETSYSROOT	= /local/STM32MP15-Ecosystem-v1.0.0/Developer-Package/SDK/sysroots/cortexa7t2hf-neon-vfpv4-openstlinux_weston-linux-gnueabi
SDKHOSTSYSROOT		= /local/STM32MP15-Ecosystem-v1.0.0/Developer-Package/SDK/sysroots/x86_64-openstlinux_weston_sdk-linux/usr/bin/arm-openstlinux_weston-linux-gnueabi

QMAKE_CC		= $${SDKHOSTSYSROOT}/arm-openstlinux_weston-linux-gnueabi-gcc -march=armv7ve -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=$${SDKTARGETSYSROOT}
QMAKE_CXX		= $${SDKHOSTSYSROOT}/arm-openstlinux_weston-linux-gnueabi-g++ -march=armv7ve -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=$${SDKTARGETSYSROOT}
QMAKE_CFLAGS		= -O2 -pipe -g -feliminate-unused-debug-types 
QMAKE_CXXFLAGS		= -O2 -pipe -g -feliminate-unused-debug-types 
QMAKE_LDFLAGS		= -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed

include(../common/linux_arm_device_post.conf)
load(qt_config)

But when I try to configure:

$ ./configure -release -device linux-arm-generic-g++ -device-option CROSS_COMPILE=/local/STM32MP15-Ecosystem-v1.0.0/Developer-Package/SDK/sysroots/x86_64-openstlinux_weston_sdk-linux/usr/bin/arm-openstlinux_weston-linux-gnueabi/arm-openstlinux_weston-linux-gnueabi- -sysroot /local/STM32MP15-Ecosystem-v1.0.0/Developer-Package/SDK/sysroots/cortexa7t2hf-neon-vfpv4-openstlinux_weston-linux-gnueabi -opensource -confirm-license -make libs -prefix /usr/local/qt5-STM32MP1 -extprefix ~/qt5-STM32MP1 -hostprefix ~/qt5-STM32MP1 -v -nomake examples -nomake tests -reduce-exports -no-pch -no-use-gold-linker

it fails:

Running configuration tests...

+ arm-openstlinux_weston-linux-gnueabi-g++ -march=armv7ve -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/local/STM32MP15-Ecosystem-v1.0.0/Developer-Package/SDK/sysroots/cortexa7t2hf-neon-vfpv4-openstlinux_weston-linux-gnueabi -dumpmachine
> sh: 1: arm-openstlinux_weston-linux-gnueabi-g++: not found
Checking for valid makespec... 
+ cd /home/osboxes/qt5/config.tests/verifyspec && /home/osboxes/qt5/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared warn_off console single_arch" "QMAKE_CFLAGS += --sysroot=/local/STM32MP15-Ecosystem-v1.0.0/Developer-Package/SDK/sysroots/cortexa7t2hf-neon-vfpv4-openstlinux_weston-linux-gnueabi" "QMAKE_CXXFLAGS += --sysroot=/local/STM32MP15-Ecosystem-v1.0.0/Developer-Package/SDK/sysroots/cortexa7t2hf-neon-vfpv4-openstlinux_weston-linux-gnueabi" "QMAKE_LFLAGS += --sysroot=/local/STM32MP15-Ecosystem-v1.0.0/Developer-Package/SDK/sysroots/cortexa7t2hf-neon-vfpv4-openstlinux_weston-linux-gnueabi" -early "CONFIG += cross_compile" /home/osboxes/qt5/qtbase/config.tests/verifyspec
+ cd /home/osboxes/qt5/config.tests/verifyspec && MAKEFLAGS= /usr/bin/make clean && MAKEFLAGS= /usr/bin/make
> rm -f verifyspec.o
> rm -f *~ core *.core
> /local/STM32MP15-Ecosystem-v1.0.0/Developer-Package/SDK/sysroots/x86_64-openstlinux_weston_sdk-linux/usr/bin/arm-openstlinux_weston-linux-gnueabi/arm-openstlinux_weston-linux-gnueabi-g++ -march=armv7ve -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/local/STM32MP15-Ecosystem-v1.0.0/Developer-Package/SDK/sysroots/cortexa7t2hf-neon-vfpv4-openstlinux_weston-linux-gnueabi -c -O2 -pipe -g -feliminate-unused-debug-types -mfloat-abi=softfp --sysroot=/local/STM32MP15-Ecosystem-v1.0.0/Developer-Package/SDK/sysroots/cortexa7t2hf-neon-vfpv4-openstlinux_weston-linux-gnueabi -O2 -w -fPIC  -I/home/osboxes/qt5/qtbase/config.tests/verifyspec -I. -I/home/osboxes/qt5/qtbase/mkspecs/devices/linux-arm-stm32mp1-g++ -o verifyspec.o /home/osboxes/qt5/qtbase/config.tests/verifyspec/verifyspec.cpp
> /local/STM32MP15-Ecosystem-v1.0.0/Developer-Package/SDK/sysroots/x86_64-openstlinux_weston_sdk-linux/usr/bin/arm-openstlinux_weston-linux-gnueabi/arm-openstlinux_weston-linux-gnueabi-g++ -mfloat-abi=softfp --sysroot=/local/STM32MP15-Ecosystem-v1.0.0/Developer-Package/SDK/sysroots/cortexa7t2hf-neon-vfpv4-openstlinux_weston-linux-gnueabi -Wl,-O1 -o verifyspec verifyspec.o      
> /local/STM32MP15-Ecosystem-v1.0.0/Developer-Package/SDK/sysroots/x86_64-openstlinux_weston_sdk-linux/usr/libexec/arm-openstlinux_weston-linux-gnueabi/gcc/arm-openstlinux_weston-linux-gnueabi/8.2.0/real-ld: error: verifyspec uses VFP register arguments, verifyspec.o does not
> /local/STM32MP15-Ecosystem-v1.0.0/Developer-Package/SDK/sysroots/x86_64-openstlinux_weston_sdk-linux/usr/libexec/arm-openstlinux_weston-linux-gnueabi/gcc/arm-openstlinux_weston-linux-gnueabi/8.2.0/real-ld: failed to merge target specific data of file verifyspec.o
> collect2: error: ld returned 1 exit status
> Makefile:68: recipe for target 'verifyspec' failed
> make: *** [verifyspec] Error 1
Note: Also available for Linux: linux-clang linux-icc

ERROR: Cannot compile a minimal program. The toolchain or QMakeSpec is broken.

Why sometimes it passes -mfloat-abi=softfp and others -mfloat-abi=hard as I set in my device mkspec?

[[qanda:topic_unsolved]] release mode build creates only debug dlls

$
0
0

Hi,

I'm trying to build qt 5.12.2 in release mode using the commands:

  1. configure -nomake examples -nomake tests -opensource -qt-libpng -release
    2.. nmake install

It seems that debug mode is built, but not release.
I can see only dlls that their names end with d on the target folder.
Are you familiar with this issue? How can I overcome that?

Thank you,
Gal

[[qanda:topic_unsolved]] make install builds everything

$
0
0

I'm cross-compiling Qt5.13 for an ARM target.
I setup the toolchain, downloaded the sources, configured and built the only modules I need:

$ ./configure -release -device linux-arm-stm32mp1-g++ -device-option CROSS_COMPILE=/local/STM32MP15-Ecosystem-v1.0.0/Developer-Package/SDK/sysroots/x86_64-openstlinux_weston_sdk-linux/usr/bin/arm-openstlinux_weston-linux-gnueabi/arm-openstlinux_weston-linux-gnueabi- -sysroot /local/STM32MP15-Ecosystem-v1.0.0/Developer-Package/SDK/sysroots/cortexa7t2hf-neon-vfpv4-openstlinux_weston-linux-gnueabi -opensource -confirm-license -make libs -prefix /usr/local/qt5-STM32MP1 -extprefix ~/qt5-STM32MP1 -hostprefix ~/qt5-STM32MP1 -v -nomake examples -nomake tests -reduce-exports -no-pch -no-use-gold-linker

$ make module-qtbase
$ make module-qtserialport
$ make module-qtserialbus
$ make module-qtwebsockets

Then I typed make install to copy the binaries to the "extprefix" path. Instead, it built everything (ran for several hours) and of course it failed on some modules.... but I don't want them!

Should not make install just copy the built files to the defined output directory?

Viewing all 22112 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>