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

Unsolved Deploying on other PC's doesn't work

$
0
0

@Chris-Kawa
Hi Chris-Kawa,

thanks for the qucik reply. I've used the Dependency Walker but I cannot figure out what to do know with the result.

If I'm right the List in the bottom left tells me whats missing, but these arn't Qt Libraries, are they?
And I don't think I can look for all of them Oo. So what to do next?

Greetings Lukas


Unsolved Building Qt from source on Windows failed with "-silent" option

$
0
0

Hi and welcome to devnet,

You may have found something. Can you run the build process using only one thread ? That will help find what failed exactly.

Unsolved [Mapbox GL behind a corporate proxy] Host api.mapbox.com not found

$
0
0

Thanks for your replies guys!
Just to give some news about this issue...

I tried both of your solutions during these 2 weeks:

The proxy does not seem to disturb the SSL certificates I talked a lot with the IT guys and it resulted as a dead end... There is no chance for me to do a manual configuration of the SSL certificates for security reasons.

I think it might work if we could re-use the system's SSL configuration into the application but I'm not sure if it's possible and I don't have plenty of time to spend on that anymore.

I'll be happy if you guys have another awesome idea on that but if not, I'll mark this issue as solved since this is a very specific problem that very few people will encounter.

Anyway, thanks a lot for your help on that!
Best regards

Unsolved Virtual keyboard ignoring configured languages

$
0
0

Hi,

I am building virtual keyboard 2.0.0 for Qt 5.6 with Visual Studio 2015. I can compile it on the command line, and the run the 'basic' example. But no matter what I try, I only have an english keyboard layout.

Here are my commands, which I execute in the src folder of the virtual keyboard:

nmake clean
qmake CONFIG+=lang-de virtualkeyboard.pro
nnake
nmake install

After that sequence, I build the examples in the examples/virtualkeyboard subfolder with

nmake clean
qmake CONFIG+=debug virtualkeyboard.pro
nmake

...and directly execute basic.exe within the debug folder.

The example works, the keyboard is displayed, but the german keyboard layout is not available.

Any ideas?

Update an installation with an offline installer setup of Qt installer framework

$
0
0

@Mostafa88

Thanks for your suggestion.

In the eman time I have found out that there was a problem with creation of online and offline installer at once. Therefore, I had opted for using only the offline installer.

Unsolved Debian 9 QT Program Compile

$
0
0

Hi and welcome to devnet,

Can you share your .pro file ?

Unsolved Qt 5.8.0 embedded, LinuxFB, integrate mouse

$
0
0

I have an ARM board with embedded linux and Qt5.8.0 with linuxfb. I'm using the following script to run the QtQuick2 app:

export QML2_IMPORT_PATH=/usr/lib/qt/qml
export QT_QPA_FONTDIR=/usr/lib/fonts

export QT_QPA_PLATFORM=linuxfb:fb=/dev/fb0
export QT_QPA_EGLFS_DEBUG=1
export QT_QPA_EGLFS_NO_LIBINPUT=1
export QT_QPA_FB_HIDECURSOR=0

export QT_LOGGING_RULES=qt.qpa.input=true

./qmlplot -platform linuxfb -plugin tslib:/dev/input/mice

I also has Qt4.8.6 on that target board and I was able to integrate mouse with the following script:

export GCONV_PATH=/lib/gconv
export TSLIB_TSDEVICE=/dev/input/mice
export TSLIB_FBDEVICE=/dev/fb0
export QWS_MOUSE_PROTO=IntelliMouse:/dev/input/mice
export TSLIB_CONFFILE=/etc/ts.conf
export TSLIB_PLUGINDIR=/usr/lib/ts
export TSLIB_CONSOLEDEVICE=none
export TSLIB_CALIBFILE=/etc/pointercal

/var/bacs/data/gui -qws -display linuxfb:/dev/fb0

I suggest that the key difference in the "QWS_MOUSE_PROTO=IntelliMouse:/dev/input/mice", to be more specific, I believe that "IntelliMouse" describes protocol that input device (e.g. mouse) implementing. I've tried to pass this parameter in Qt5 script by different approaches, but so far it doesn't helped.

Does anyone knows equivalent for "QWS_MOUSE_PROTO=IntelliMouse:/dev/input/mice" in Qt5?

Unsolved Package Qt Creator (based on Qt 5.9.0) for 32 bit Linux

$
0
0

@jsulm I still have one final question. Do you have any reference that explains the instructions to package a 32-bit Qt Creator for Linux in form of .run file so that I can build it on my machine for the Qt version that I need, and I can generate a setup file that can be used to install the same qt creator on any other machine.


Unsolved Include QChart in 5.9

$
0
0

@MarcoGirard Hello, which license do you use ? It seems that QChart is available for commercial license only.

Solved [SOLVED] Debian 9 QT Program Compile

Unsolved Simple program won't run in Linux [Could not start process "make" ]

$
0
0

Hi. :)

I installed Manjaro Linux, downloaded the GNU compiler throught "store" and then Qt Creator 4.3 from Qt's website.
When I try to run a simple "Hello World" program, some erros appears. Those are in the image set down below...

http://imgur.com/a/QG2GI

If that doens't give you much work, I would like to put the Debuugger to work as well. :)
I would be usefull to finish my 2048 game copy with ncurses. :D

Thanks for the help!
Thanks!

Unsolved Cross Compile Ubuntu 16.04 and BBB running Debian 8.8 w/ Touchscreen

$
0
0

Hello,
I am new to Qt and the BeagleBone and have been trying to get Qt 5.9 to work on the BBB for a while now and keep running into issues (libraries not being found or cannot find platform plugins). I have been able to get Qt 4.8 to work with tslib, but have been trying to get an updated version.

System Information:
Windows 10 running a VM of Ubuntu 16.04.2 LTS
BeagleBone Black running Debian 8.8 with a 4D cape 7” Touchscreen
arm-linux-gnueabihf-gcc (Debian 4.9.2-10) 4.9.2

I started following the tutorial here: https://wiki.qt.io/BeagleBone_Black_Beginners_Guide

The link for step 4 (the cross compile tools) is dead so I have tried:
https://github.com/plexydesk/cross-compile-tools.git
and
wget https://raw.githubusercontent.com/ri...lativelinks.py
./sysroot-relativelinks.py /mnt/bbb-rootfs
(from https://wiki.qt.io/RaspberryPi2EGLFS )
I’m not sure if either of these are even the correct tools needed anymore.

I have tried the toolchains:
gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf
gcc-linaro-4.9-2016.02-x86_64_arm-linux-gnueabihf

After reading this post here I even tried:
gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf
sysroot-glibc-linaro-2.23-2016.11-arm-linux-gnueabihf

I downloaded all of Qt 5.9 including sources using the online installer: qt-unified-linux-x64-3.0.0-online.run

The configure I’m using is:
~/Qt/5.9/Src/qtbase/configure -release -shared -device linux-beagleboard-g++ -device-option CROSS_COMPILE=~/opt/gcc-linaro-4.9-2016.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -sysroot /mnt/bbb-rootfs -opensource -confirm-license -make libs -prefix /usr/local/Qt-5.9 -extprefix /mnt/bbb-rootfs/usr/local/Qt-5.9 -hostprefix /usr/local/Qt-5.9 -nomake examples -qt-zlib -qt-libpng -no-opengl -no-icu -v

I have also tried with the flag -no-eglfs or getting rid of the -no-icu and either way I still get different types of errors at either build or run depending on which arguments I used in configure. The most recent error using the configure above gave me:
This application failed to start because it could not find or load the Qt platform plugin "eglfs"
in "".
Available platform plugins are: linuxfb, minimal, offscreen, vnc.
Reinstalling the application may fix this problem.
Process killed by signal

What am I missing to be able to get Qt to work on the BBB with the touchscreen?
I appreciate any help!

Unsolved Segmentation fault: 11 when running Qt Creator 4.2.2

$
0
0

I'm on Mac OS X running Qt Creator 4.2.2 based on Qt 5.8.0. Whenever I launch Qt Creator, I receive the following error messages:

qt.network.ssl: Error receiving trust for a CA certificate
qt.network.ssl: Error receiving trust for a CA certificate
qt.network.ssl: Error receiving trust for a CA certificate
qt.network.ssl: Error receiving trust for a CA certificate
qt.network.ssl: Error receiving trust for a CA certificate
qt.network.ssl: Error receiving trust for a CA certificate
qt.network.ssl: Error receiving trust for a CA certificate
qt.network.ssl: Error receiving trust for a CA certificate
qt.network.ssl: Error receiving trust for a CA certificate
qt.network.ssl: Error receiving trust for a CA certificate
qt.network.ssl: Error receiving trust for a CA certificate
qt.network.ssl: Error receiving trust for a CA certificate
qt.network.ssl: Error receiving trust for a CA certificate
qt.network.ssl: Error receiving trust for a CA certificate
qt.network.ssl: Error receiving trust for a CA certificate
Reading Qt Account settings from disk: "/Users/jonathancunningham/Library/Application Support/Qt/qtaccount.ini"
Reading licenses from file: "/Users/jonathancunningham/Library/Application Support/Qt/qtlicenses.ini"
License added. License id [ 10275946 ] License schema [ "Full Commercial" ] Licensed products [ "Application Development" ] Licensed platforms [ ("X11", "Windows", "Mac", "Android", "iOS", "WinRT") ] License expiry date [ QDate("2018-05-25") ]
Valid licenses found: 1
Sending license download request..
Segmentation fault: 11

Looking at the crash dump that Apple generates, the following line seems to be relevant:

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000010

Qt Creator runs fine when I use sudo. Any ideas? Thank you in advance!

Unsolved Qmake: License could not be found using Jenkins as windows service with Qt5.9 where 5.6 does

$
0
0

We switched building from Qt5.6 to Qt5.9. This works fine using QtCreator or console on Developer Machines.

Now switching our Build-System based on Jenkins as System Service with 5.9 always fails to find the qt license.

We installed Qt using my credentials and we can install and update fine using the user account. Just the service user cannot find the license, which is a mandatory for running jenkins in this configuration. We already tried placing the .qt-license file to the system home directory but this did not help at all.

How can we achive the system user's qmake calls can find a valid license?

BuildConfig:

echo CD
echo %CD%
echo USERPROFILE
echo %USERPROFILE%
echo USERNAME
echo %USERNAME%
echo.
echo.
echo Content of userprofile directory
echo.
echo.
dir %USERPROFILE%
echo.
echo.
echo --------------- Running QMake ---------------
echo.
mkdir build
cd build
set BUILDDIR=%CD%
call C:\Qt\5.9\msvc2015\bin\qtenv2.bat
cd %BUILDDIR%
qmake.exe ..\source\TestBuild.pro "CONFIG+=release" && nmake qmake_all

BuildLog:

C:\Jenkins\Testbuild>echo CD
CD

C:\Jenkins\Testbuild>echo C:\Jenkins\Testbuild
C:\Jenkins\Testbuild

C:\Jenkins\Testbuild>echo USERPROFILE
USERPROFILE

C:\Jenkins\Testbuild>echo C:\Windows\system32\config\systemprofile
C:\Windows\system32\config\systemprofile

C:\Jenkins\Testbuild>echo USERNAME
USERNAME

C:\Jenkins\Testbuild>echo TESTBUILD$
TESTBUILD$

C:\Jenkins\Testbuild>echo.


C:\Jenkins\Testbuild>echo.


C:\Jenkins\Testbuild>echo Content of userprofile directory
Content of userprofile directory

C:\Jenkins\Testbuild>echo.


C:\Jenkins\Testbuild>echo.


C:\Jenkins\Testbuild>dir C:\Windows\system32\config\systemprofile
 Volume in Laufwerk C: hat keine Bezeichnung.
 Volumeseriennummer: ---------

 Verzeichnis von C:\Windows\system32\config\systemprofile

10.02.2016  16:34    <DIR>          .
10.02.2016  16:34    <DIR>          ..
10.02.2016  15:35    <DIR>          .oracle_jre_usage
10.02.2016  14:35               251 .qt-license
               1 Datei(en),            251 Bytes
               3 Verzeichnis(se), 10.672.287.744 Bytes frei

C:\Jenkins\Testbuild>echo.


C:\Jenkins\Testbuild>exit 0
[Testbuild] $ cmd /c call C:\Windows\TEMP\hudson3453996140933717738.bat

C:\Jenkins\Testbuild>echo.


C:\Jenkins\Testbuild>echo --------------- Running QMake ---------------
--------------- Running QMake ---------------

C:\Jenkins\Testbuild>echo.


C:\Jenkins\Testbuild>mkdir build
Ein Unterverzeichnis oder eine Datei mit dem Namen "build" existiert bereits.

C:\Jenkins\Testbuild>cd build

C:\Jenkins\Testbuild\build>set BUILDDIR=C:\Jenkins\Testbuild\build

C:\Jenkins\Testbuild\build>call C:\Qt\5.9\msvc2015\bin\qtenv2.bat
Setting up environment for Qt usage...
Remember to call vcvarsall.bat to complete environment setup!
Calling vcvarsall.bat now
**********************************************************************
** Visual Studio 2017 Developer Command Prompt v15.0.26430.12
** Copyright (c) 2017 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x86'


NOTICE  NOTICE  NOTICE  NOTICE

  You are not licensed to use this version of Qt.

  Please log into your Qt Account at https://account.qt.io/
  to renew your license.

  Refer to Qt Support FAQ for known resolutions in license issues:
  https://wiki.qt.io/index.php?title=KnowledgeBase:SupportFAQ

NOTICE  NOTICE  NOTICE  NOTICE

Project ERROR: License check failed! Giving up ...
Build step 'Windows Batch-Datei ausführen' marked build as failure
Finished: FAILURE

Unsolved Error "no version information available"

$
0
0

Hi,
I want to execute a "Qt Quick Controls Application" from windows to Raspberry pi3.
I use this link:
https://visualgdb.com/tutorials/raspberry/qt/embedded/

I can run "Qt Widgets Application" but I can not run "Qt Quick Controls Application" and I have this error:

/home/pi/untitled4: /usr/lib/arm-linux-gnueabihf/libQt5Qml.so.5: no version information available (required by /home/pi/untitled4)
/home/pi/untitled4: /usr/lib/arm-linux-gnueabihf/libQt5Gui.so.5: no version information available (required by /home/pi/untitled4)
/home/pi/untitled4: /usr/lib/arm-linux-gnueabihf/libQt5Core.so.5: no version information available (required by /home/pi/untitled4)
QML debugging is enabled. Only use this in a safe environment.
QQmlApplicationEngine failed to load component
qrc:/main.qml:2 module "QtQuick" is not installed


Unsolved Reconfiguring QT setup after using online installer

$
0
0

When I installed QT5.9.1, I overlooked the fact that I was installing it into my user's folder structure. Since things aren't going so smoothly for me, I would also like to change some of my original install options.

  1. Is it possible to move the install to another folder, such as /opt?
  2. I would like to now download the sources.
  3. I would also now like to download the Qt Installer Framework.

Is it possible to do the above without installing another QT5 version, and downloading a further 1G+ of data?

Qmake creating a .pc file.

$
0
0

Just awakening this old thread to add a note: To get the actual pc file, add create_pc as well to the CONFIG (needs the create_prl statement as well).
It will install the .pc file in the SYSROOT/usr/lib/pkgconfig folder upon make install.

For those with an SDK built using The Yocto Project or alike, I use the following command to install into the correct SDK target sysroot after having sourced the SDK environment script:

sudo INSTALL_ROOT=$SDKTARGETSYSROOT make install

Unsolved .png images don't show when deploy

$
0
0

@m.sue
If I try to run the release version outside the Qt it will crash saying:

This application failed to start because it could not find or load the Qt plataform plugin "windows" in "". Reinstall the application may fix the problem.

Unsolved First API test, error 127.

Unsolved Qt build failed at declarative examples, looking for workaround

$
0
0

Dear people,

I was building Qt 5.3.2 from sources with TDM-GCC-64. This includes gcc 5.1.0 and mingw-w64, on a Windows 7 64bit SP1 computer.

The command I entered was:
configure –opensource –opengl desktop –debug-and-release –static –platform win32-g++
and then: mingw32-make

It then builds fine for something like 5 hours. But ultimately fails at the example code in the

…\qtdeclarative\examples\quick\demos folder.

It starts with the samegame example and the gcc linker (ld.exe) claims it cannot find the qsqlited library.

I don’t think I need Qt quick after all. I primary would like to build Windows GUI applications in C++ with Qt. So, what would be a good workaround in this case? Would it be possible somehow to reconfigure without Qt quick while keeping everything else that was build fine intact?

I would appreciate your suggestions.

Best regards,
Maarten Verhage

Viewing all 22112 articles
Browse latest View live


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