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

Unsolved QLineEdit and position within QgridLayout

$
0
0

That's always the same layout with the same line edits at the same place ?


Unsolved Update Qt kits after the install + global questions about Qt installation

$
0
0

@Sillimon

How did you manage to get the current installation of Qt 5.9.2?

Online installer can be found the offical Qt page while answering all questions supporting you in finding the right license model. They can be found also in the archive

You fiind typically all officially pre-compiled Qt version through the online installer. It helps you alsoto find the right compilers.

MS compiler haveno compatibility between major compiler versions (exclusion are the tweo latest VS2015 and VS2017). Therefore you need to pay attention to what you choose as pre-compiled version. When you have only VS2013 it will not help to install Qt pre-compiled for VS2015 for instance.

The number of different pre-compiled versions has to be kept to a minimum. Therefore, it is very likely that there is no pre-compiled version for VS2013 and newer Qt versions available. Another issue is the difference between 64 and 32 bit. AFAIK the pre-compilation of 32 bit for VS compiler has been abandoned around Qt version 5.4.

Unsolved Executable deployment procedure.

$
0
0

Use linuxdeployqt :-) It produces AppImage by default, but you can also make a .deb and .rpm packages from it easily.

Unsolved Qt 5.9.4 OpenGL examples crash

$
0
0

Hello.

I have cross compiled qt 5.9.4 on my 64-bit Ubuntu 14.04 system for a 32-bit (Intel Atom Z520) ArchLinux based system with the following configuration:

./configure -opensource -confirm-license -debug \
    -reduce-relocations -no-rpath -nomake examples -optimized-qmake -no-use-gold-linker \
    -device linux-generic-g++ -device-option CROSS_COMPILE='/toolchain/bin/i686-pixy-linux-gnu-' -sysroot '/sysroot' \
    -prefix /usr -extprefix /sysroot/usr -hostprefix /toolchain \
    -bindir /usr/lib/qt/bin \
    -docdir /usr/share/doc/qt \
    -headerdir /usr/include/qt \
    -archdatadir /usr/lib/qt \
    -datadir /usr/share/qt \
    -sysconfdir /etc/xdg \
    -examplesdir /usr/share/doc/qt/examples \
    -journald -dbus-linked -openssl-linked -qpa xcb

The target 32-bit system runs Xorg X server on Intel's EMGD driver. The system has mesa 10.1.0 OpenGL libraries.

# glxinfo | grep OpenGL
pci id for fd 4: 8086:8108, driver (null)
OpenGL vendor string: Intel Corporation
OpenGL renderer string: EMGD on PowerVR SGX535
OpenGL version string: 2.1
OpenGL shading language version string: 1.20
 # qtdiag-qt5
pci id for fd 6: 8086:8108, driver (null)
Qt 5.9.4 (i386-little_endian-ilp32 shared (dynamic) debug build; by GCC 4.9.1) on "xcb"
OS: Arch Linux [linux version 3.4.108-rt136_pixy]

...

Screens: 1, High DPI scaling: inactive
# 0 "default" Depth: 24 Primary: yes
  Manufacturer:
  Model:
  Serial number:
  Geometry: 1024x768+0+0 Available: 1024x768+0+0
  Physical size: 271x203 mm  Refresh: 85 Hz Power state: 0
  Physical DPI: 95.9764,96.0946 Logical DPI: 95.9764,96.0946 Subpixel_None
  DevicePixelRatio: 1 Pixel density: 1
  Primary orientation: 2 Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0

LibGL Vendor: Intel Corporation
Renderer: EMGD on PowerVR SGX535
Version: 2.1
Shading language: 1.20
Format: Version: 2.1 Profile: 0 Swap behavior: 0 Buffer size (RGBA): 8,8,8,8

The mesa OpenGL demo applications such as glxgears run on the system. However, the Qt OpenGL example applications, such as cube and hellogl2 crash with the following output. Could you advise on what the problem could be?

# QT_QPA_PLATFORM=xcb LIBGL_DEBUG=verbose ./cube
pci id for fd 6: 8086:8108, driver (null)
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/tls/emgd_dri.so
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/emgd_dri.so
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: Searching for BusID PCI:00:02:00
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: drmOpenMinor returns 7
drmOpenByBusid: Interface 1.4 failed, trying 1.1
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: Searching for BusID PCI:00:02:00
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: drmOpenMinor returns 7
drmOpenByBusid: Interface 1.4 failed, trying 1.1
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
libGL: driver does not expose __driDriverGetExtensions_emgd(): /usr/lib/xorg/modules/dri/emgd_dri.so: undefined symbol: __driDriverGetExtensions_emgd
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: Searching for BusID PCI:00:02:00
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: drmOpenMinor returns 7
drmOpenByBusid: Interface 1.4 failed, trying 1.1
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: Searching for BusID PCI:00:02:00
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: drmOpenMinor returns 8
drmOpenByBusid: Interface 1.4 failed, trying 1.1
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: Searching for BusID PCI:00:02:00
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: drmOpenMinor returns 8
drmOpenByBusid: Interface 1.4 failed, trying 1.1
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: Searching for BusID PCI:00:02:00
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: drmOpenMinor returns 8
drmOpenByBusid: Interface 1.4 failed, trying 1.1
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
libGL: Can't open configuration file /root/.drirc: No such file or directory.
libGL: PVRDRIFlushBuffersGC: GLFlushBuffersGC failed (1)
libGL: PVRDRIFlushBuffersGC: GLFlushBuffersGC failed (1)
[/home/ferol/svn/PIXY-LINUX/trunk/3.3.0/sources/qt/5.9.4/sources/qtbase/src/gui/opengl/qopenglframebufferobject.cpp line 543] OpenGL Error: 1282
ASSERT: "funcs.glIsRenderbuffer(depth_buffer)" in file /home/ferol/svn/PIXY-LINUX/trunk/3.3.0/sources/qt/5.9.4/sources/qtbase/src/gui/opengl/qopenglframebufferobject.cpp, line 649
Aborted (core dumped)

Note that, and older Qt 5.3.2 installation is able to run the OpenGL examples, with a very similar output except the last few lines before crash:

# QT_QPA_PLATFORM=xcb LIBGL_DEBUG=verbose ./cube
pci id for fd 8: 8086:8108, driver (null)
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/tls/emgd_dri.so
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/emgd_dri.so
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenByBusid: Searching for BusID PCI:00:02:00
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenByBusid: drmOpenMinor returns 9
drmOpenByBusid: Interface 1.4 failed, trying 1.1
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenByBusid: Searching for BusID PCI:00:02:00
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenByBusid: drmOpenMinor returns 9
drmOpenByBusid: Interface 1.4 failed, trying 1.1
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
libGL: driver does not expose __driDriverGetExtensions_emgd(): /usr/lib/xorg/modules/dri/emgd_dri.so: undefined symbol: __driDriverGetExtensions_emgd
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenByBusid: Searching for BusID PCI:00:02:00
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenByBusid: drmOpenMinor returns 9
drmOpenByBusid: Interface 1.4 failed, trying 1.1
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 10, (OK)
drmOpenByBusid: Searching for BusID PCI:00:02:00
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 10, (OK)
drmOpenByBusid: drmOpenMinor returns 10
drmOpenByBusid: Interface 1.4 failed, trying 1.1
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 10, (OK)
drmOpenByBusid: Searching for BusID PCI:00:02:00
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 10, (OK)
drmOpenByBusid: drmOpenMinor returns 10
drmOpenByBusid: Interface 1.4 failed, trying 1.1
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 10, (OK)
drmOpenByBusid: Searching for BusID PCI:00:02:00
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 10, (OK)
drmOpenByBusid: drmOpenMinor returns 10
drmOpenByBusid: Interface 1.4 failed, trying 1.1
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
libGL: Can't open configuration file /root/.drirc: No such file or directory.
libGL: PVRDRIFlushBuffersGC: GLFlushBuffersGC failed (1)

Unsolved Qt 5.10.0 GCC64bit - No compiler can produce code for this qtversion - x86-linux

$
0
0

Hi and welcom @Kontiki,

So, do you have a compiler /usr/bin/gcc?

If not, please run sudo apt-get install build-essential in a terminal. This should set up at least the minimum needed tools for compiling.

Solved Application failed to start because it could not find or load the Qt platform plugin "windows" in ""

$
0
0

I have included every library I can imagine from the QT repository and I still get the "This application failed to start because it could not find or load the Qt platform plugin "windows" in "". The Windows dll is in the platform folder and for good measure I have included all the other dlls in that folder as well. I've included about everything imaginable and still get that error. Does anybody have a clue?

Unsolved Raspberry Zero W cross compile configuration

$
0
0

@Andreagugu you may need to follow a Qt cross-compile guide, as ARM7 for Android has nothing to do with Raspberry Pi devices.
Have you tried this tutorial from ICS? which is based on this guide as well.

Solved Error running default HelloWorld QML project on clean install. [Win10, Qt5.10]

$
0
0

Hey,

i solved the problem by reinstalling Qt and using the latest Visual Studio compiler instead of MinGW.. i think it somehow has conflicts with pre-installed versions of MinGW.

Well, at least it works. @mrjj Thanks a lot for your help! :)


Unsolved linuxdeployqt and licensing

$
0
0

Advice in posts talks about using linuxdeployqt, e.g. https://discourse.appimage.org/t/linuxdeployqt-new-linux-deployment-tool-for-qt/57

I don't think I can use/try this, as I am Python/PyQt, not C++ --- and so I don't know just what libraries/files it will package. But nonetheless I read its summary from there as:

linuxdeployqt takes an application as input and makes it self-contained by copying in the Qt libraries and plugins that the application uses into a bundle.

Now, although I respect it seems to be used by many third-party packages so I'm doubtless wrong, I'm struggling to understand how the whole concept can be used if one is using the non-commercial Qt with, say, the GPL licence (which is what i will have to use for whatever I adopt with my Python/PyQt package).

With GPL at least (as opposed to LGPL, I don't know what the case is there), I thought the whole point is that we must not package/distribute anything like dependent libraries with our application? Instead, end users must go fetch whatever versions of publicly-available shared library code are needed and install them, we must not supply them?

So how does the whole principle work, at least for the community edition of Qt?

Unsolved I run in the same paradigm

$
0
0

I run in the same paradigm when I try to create a static linked library with Qt targeting Android and latter to use it with JINI on Android Studio. Reading you post I see you have almost the same problem like me with one difference. To me are working as far I use only std library My problem appears when I use QString for example in the library. Looks the static build does not statically includes the Qt framework dependencies. Finally did you find a solution? Me I run with this issue past over one month. Thanks

Mac OSX 10.10 - Include a QT Static Library *.a into a Eclipse CDT JNI Shared Library *jnilib (Download of the projekts available)

$
0
0

@moozoom
I run in the same paradigm when I try to create a static linked library with Qt targeting Android and latter to use it with JINI on Android Studio.
Reading you post I see you have almost the same problem like me with one difference.
To me are working as far I use only std library
My problem appears when I use QString for example in the library.
Looks the static build does not statically includes the Qt framework dependencies.
Finally did you find a solution? Me I run with this issue past over one month.
Thanks

Unsolved How could we detect users vcredist installed when using Qt Installer Framework

$
0
0

I am using Qt Installer Framework. I use MSVC 2015 as compiler to build our product.
Then when installing on target machine, vcredist_x86.msi will be installed too, but I need to know whether client has installed vcredist bundle so that not to bother client.

Unsolved Would like to know latest version of Qt5 on raspberry pi3

$
0
0

I would like to know what's latest version of Qt5 there is and I'm interested in both native on raspberry pi3 and cross compiling also remote setup so I can use my tablet to code when downstairs new to Qt5

Unsolved Qt Maintenance Tool Failed to download metadata.

$
0
0

@flashmozzg said in Qt Maintenance Tool Failed to download metadata.:

Re: Maintenance Tool Fails to Update
My repo urls are filled with old garbage, like countless qt 5.1/5.2/5.3/5.4/5.5 etc. repos for all platforms previews and such.

...

And each time I have to spent 15+ minutes to manually uncheck hundreds of "temporary" and other garbage repos

Hi @flashmozzg, I haven't seen these symptoms before. Could you please share a screenshot that shows these "temporary"/"garbage" repos?

Which mirror do you normally choose in the Qt SDK Repo Chooser?

Unsolved Hash verification while downloading failed. This is a temporary error, please retry.

$
0
0

plz help me...

0_1517811232238_제목 없음.jpg

windows 10 Pro korean version.
visual studio 2017 enterprise.


Unsolved usdk-target autosetup fails

$
0
0

I am installing qtcreator according to the following procedure.

sudo add-apt-repository ppa:ubuntu-sdk-team/ppa
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install ubuntu-sdk-ide

source /opt/fslc-x11/2.4.1/environment-setup-armv7at2hf-neon-fslc-linux-gnueabi
qtcreator

The first thing qtcreator does is run usdk-target autosetup but it is failing with the following error message:

Stopping containers: All containers stopped.

Creating default network bridge ..... FAILED
error: Creating the bridge failed with : not implemented

I have tried running through sudo lxd init several ways but the results are the same.

Any ideas?
Thanks in advance,
Tim

Unsolved macdeployqt strips resources from deployed binary

$
0
0

Hey all,

I'm working on a project which needs to deploy to the macos and while everything compiles fine (through out cmake build system) and the binary runs fine on my development machine; when I run the macdeployqt binary on the app bundle the resources seem to get stripped out. I've played with all the options on macdeployqt, but nothing changes this behavior. Does anyone have any advice? The binary works otherwise, but all of our branding images are gone.

Unsolved QtEverywhere installation for 64bit

Unsolved Cross compile setup for TI processor

Unsolved Limited to 80gb for Qt?

$
0
0

What Qt 5.10 packages is needed to start on 32bit setup I downloaded the unfied installer but lost on what to add thank you in advanced

Viewing all 22112 articles
Browse latest View live