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

Unsolved Building Qt 5.10 debug on Windows Server 2012 R2 with VS2017

$
0
0

I ran into problems again when trying to compile QT 5.10 on windows server 2012 R2 with VS 2017.
-> I deleted the complete qt-everywhere-src-5.10.0 folder and unziped from scratch.
-> I removed following directories:
qtgamepad
qtmultimedia
qtvirtualkeyboard
qtwebglplugin
-> Ran : configure.bat -static -release -debug -no-opengl -platform win32-msvc -opensource -confirm-license -nomake tests -prefix d:\qt\qt5.10
-> nmake

Eror : Debug Assertion Failed!
Program: D:\QT\qt-everywhere-src-5.10.0\qtbase\bin\qlalr.exe
file: minkernel\crts\ucrt\src\heap\debug_heap.cpp
Line : 597
Expression : _CrtlsValiedHeapPointer(block)
(sorry if there are any typos I could not copy the text from the popup window.)
followed by a window Qt Look Ahead LR Parser has stoppped working
-> clicking close the program

call D:\QT\qt-everywhere-src-5.10.0\qtremoteobjects\tools\repc\qlalr_wrapper.bat ....\src\repparser\parser.g
NMAKE : fatal error U1077: 'call' : return code '0x80000003'
Stop.
NMAKE : fatal error U1077: '"D:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.10.25017\bin\HostX86\x86\nmake.exe"' : return cod
e '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.

I had similar errors earlier but could continue to build.
Is it possible that screen-lock has an impact on the compile process ?

Earlier I build qt only with -rlease which worked. followed by adding the -debug option to the configure.bat. I could build it like that. But the issue that I reported earlier with the missing Depentent 'd:\qt\qt5.10\lib\QT5PrintSupportd.lib does not exist did not get solved by that. That's why I tried to build it from scratch again.


Unsolved How connect QT to "Empty Project"(C++) in VS15

$
0
0

The project is launched, but there are problems:

-I can not add a Q_OBJECT (LNK2001)

-when creating a form (ui) by a template ("Object reference not set to an instance of an object")

Solved Unable to run any QML app (QGLXContext issue)

$
0
0

I fixed this issue by my nvidia driver to recent version from this PPA

ppa:graphics-drivers/ppa

Unsolved Cross compiling QtSerialBus for raspberry pi 3 complains that QtSerialPort is not available

$
0
0

Hi and welcome to devnet,

Are you sure you are invoking the correct version of qmake.exec ?

Solved Can I develop a Qt Quick app without using the qt resource system (qrc)?

Unsolved There is no libqsqlodbc.so in qt-opensource-linux-x64-5.10.0.run

$
0
0

I've downloaded most recent offline installer the qt-opensource-linux-x64-5.10.0.run and there's no libqsqlodbc.so there. i'm using odbc for connection to ms sql. What should i do?

Unsolved How to properly include openssl for a windows deployment when using mingw?

$
0
0

Include a copy of the .dlls with your application like you do for the Qt .dlls that you need.

There's this Wiki page about building OpenSSL with MinGW that might be of interest.

Unsolved Cross Compiling for BeagleBone Black libm.so.6 not found, but it is there.

$
0
0

You should use -sysroot, and add several links
ln -sf /mnt/bbb-rootfs/lib/arm-linux-gnueabihf/librt.so.1 /mnt/bbb-rootfs/usr/lib/arm-linux-gnueabihf/librt.so
ln -sf /mnt/bbb-rootfs/lib/arm-linux-gnueabihf/libdl.so.2 /mnt/bbb-rootfs/usr/lib/arm-linux-gnueabihf/libdl.so
ln -sf /mnt/bbb-rootfs/lib/arm-linux-gnueabihf/libglib-2.0.so.0 /mnt/bbb-rootfs/usr/lib/arm-linux-gnueabihf/libglib-2.0.so
ln -sf /mnt/bbb-rootfs/lib/arm-linux-gnueabihf/libm.so.6 /mnt/bbb-rootfs/usr/lib/arm-linux-gnueabihf/libm.so

See https://wiki.qt.io/BeagleBone_Black_Beginners_Guide


Unsolved Difficulty with static builds

$
0
0

Is there a list of packages that are required for the various distributions?
Is it really unusual to create 100% static builds? It seems like a poorly documented use case so perhaps it's just not common. But it also seems like it would be the most reliable and simplest for the end user so I didn't expect it to be rare or unusual.

Solved xcb platform plugin missing with a Qt kit compiled from Qt sources

$
0
0

Hi and thank you for your quick answer,

Actually this was not a silly question at all because I did not call any make install... The reason is that I only wanted to compile Qt, not install it. But it seems that everything works like a charm after the make install. My application can now launch and I have the whole stack tree. That is all that matters to me.
Again, thank you for the answer that solved my issue.

Florian

Unsolved Statically linking shared libraries for cross compilation

$
0
0

IIRC, if the linker finds both the static and dynamic version in the same folder, it will use the dynamic.

You can try to pass -Bstatic -lstdc++ or use the full path. You'll have to modify the mkspec you are using to build Qt. You should even consider copying it and give it a new name so you ensure that you can still choose the original when needed.

Unsolved Install for home use fails with network error

Unsolved PyQt4 installation process (Error)

$
0
0

Hi

I am having trouble with installing PyQt4 on Windows 10. I have tried to solve the problem for many days now, but still haven't figured it out.
So I downloaded PyQt4 zip and extracted it to the drive. When I try to run a command "python configure-ng.py" in PS it gives me an error "Error: Make sure you have a working Qt qmake on your PATH." although I have QT installed. I have tried to copy "qmake.exe" to the folder where I am running the "python configure-ng.py", but still the same error.

I also tried the second option, running "python configure.py", but then I get an error "No module named 'sipconfig'" I have Googeled that it is caused, cause SIP isn't installed. So I downloaded SIP zip and tried to install SIP from PS. First I executed a command "python configure.py --platform win32-g++" from the folder where I extracted the SIP files. Then I executed a command "C:\MinGW\bin\mingw32-make.exe" cause just command "make" does not work. But then I got an error

PS G:\Programmeerimine\uus\Lib\site-packages\PyQt4_gpl_win-4.12.1\sip 4.19.7> C:\MinGW\bin\make.exe
make[1]: Entering directory 'G:/Programmeerimine/uus/Lib/site-packages/PyQt4_gpl_win-4.12.1/sip-4.19.7/sipgen'
gcc -c -O2 -Wall -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. -o main.o main.c
gcc: error: CreateProcess: No such file or directory
Makefile:29: recipe for target 'main.o' failed
make[1]: *** [main.o] Error 1
make[1]: Leaving directory 'G:/Programmeerimine/uus/Lib/site-
packages/PyQt4_gpl_win-4.12.1/sip-4.19.7/sipgen'
Makefile:3: recipe for target 'all' failed
make: *** [all] Error 2

Really looking forward hearing your answers. Thank you in advance!

Unsolved SSL handshake failed error during installation

$
0
0

when starting to install qt in ubuntu, I faced the ssl handshake issue at logging step. I skip this test and can proceed to install.

Solved Cannot Run Compiler 'cl'

$
0
0

@webzoid

Thanks for your post! MySQL was also the culprit on my Qt build. I also installed all MySQL software and then I could build the Qt application without problems!


Unsolved qmake fails to find libraries

$
0
0

I have cross-compiled qt 5.9.4 on a 64-bit Ubuntu host for a 32-bit ArchLinux target. I can use the cross-compilation toolchain to build a Qt application using CMAKE on the 64-bit Ubuntu host and run on the 32-bit target.

I can build and run the same application also natively on 32-bit target using CMAKE.

However, when I try to build the application natively with QMAKE, it gives the following error:

Project ERROR: Unknown module(s) in QT: core gui widgets

The QMAKE on the target device was generated by building qtbase natively on the 32-bit target, and copying the executables under /usr/lib/qt/bin. The qt.conf file is under the same directory and contains the following. How can I make sure QMAKE finds the qt libraries which are installed in /usr/lib? I have already tried adding Libraries=lib to the qt.conf file.

[EffectivePaths]
Prefix=..
[DevicePaths]
Prefix=/usr
Documentation=share/doc/qt
Headers=include/qt
LibraryExecutables=lib/qt/libexec
Plugins=lib/qt/plugins
Imports=lib/qt/imports
Qml2Imports=lib/qt/qml
ArchData=lib/qt
Data=share/qt
Translations=share/qt/translations
Examples=share/doc/qt/examples
[Paths]
Prefix=/usr
Documentation=share/doc/qt
Headers=include/qt
LibraryExecutables=lib/qt/libexec
Plugins=lib/qt/plugins
Imports=lib/qt/imports
Qml2Imports=lib/qt/qml
ArchData=lib/qt
Data=share/qt
Translations=share/qt/translations
Examples=share/doc/qt/examples
HostPrefix=/usr
HostData=lib/qt
Sysroot=
SysrootifyPrefix=false
TargetSpec=linux-g++
HostSpec=linux-g++
[EffectiveSourcePaths]
Prefix=/home/root/qt/sources

Unsolved How to build project with QT

$
0
0

Hi! i just want to build project from github - https://github.com/DreamSworK/UDP-Logger.
I have installed VS2015 and QT creator (5.10.0) also i install cmake (3.10.2) utility.
But if i load project in creator i got errors: The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:2 (project):
The CMAKE_C_COMPILER:

cl

is not a full path and was not found in the PATH.

i run vcvarsall.bat but this not resolve the problem. I did not see CC or CL in environment variables.

Unsolved Command "python setup.py egg_info" failed with error code 1

Unsolved C1083 - Visual Studio 2015 standard headers aren't detected

$
0
0

I have installed the Qt Creator with MSVC2015 - 64bits with VS2015 Community.

The project refuses to compile and I added pretty much every directory that I can think of to the system environment variables to make it work but it refuses to detect headers like type_traits, math.h, vector, etc.

I know that those headers are in the Windows SDK and some in the VS 14.0 VC includes and i've added all those paths. I've installed and uninstalled everything and yet it still doesn't find headers.

0_1517329962024_ErreursCompilation2.PNG
0_1517330073769_Environnement.PNG

0_1517330289598_Kit.PNG

I should point out that i'm using Qt 5.9.1 and I should also point out that the Qt version and Visual Studio version can't be changed(not that they should) because they were mandated from the dev team for this project, so I can't really divert.

I have tried to fix this for several days now and I would appreciate any help that you could provide.

Thank you very much.

Unsolved Unable to find an x11 visual that matches egl config 20.(Raspberry Pi 3 Mobdel B)

$
0
0

Hi,

Please don't post the same message in multiple sub-forums. One is enough.

Duplicate.

Closing this one.

Viewing all 22112 articles
Browse latest View live


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