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

Unsolved Error running camera example

$
0
0

Hi,

From the errors you should install the pulse dev package for your distribution (likely libpulse-dev).


Unsolved Issue with GUI after 5.9 update

$
0
0

@krobinson said in Issue with GUI after 5.9 update:

I have an application that I have been working with for a while. It has been on qt 5.6.2 and has been working great. It uses qmlvlc for video playback.

The issue I am having now is after I upgraded to 5.9. I also switched some controls to qt quick 2 controls. I used windeployqt to deploy all the resources. The application runs ok, but the video doesn't show up and the new material button acts strange. The actual body for the button shows up in the upper left corner of the window while the text shows up in the correct location. Whats strange is that if I run it as administrator, everything works fine. Any ideas on what could be causing this?

Hi @krobinson, that sounds very odd indeed. Is it possible for you to create a small example program that contains these issues?

Does this happen on one machine only, or on multiple machines?

Unsolved qtcreatorcdbext.dll cannot be found - Qt 5.10.0 (offline installer)

$
0
0

Nor sure if I should post in 'Tools' section or here 'Installation and Deployment' because it is not clear if Install&Deploy is about software crated with Qt or the Qt software intself - please feel free to move to the more appropriate section

Starting with Qt 5.10.0 (Offline Installer) I can't debug due to following error

Internal error: The extension C:\PROGRAMS\Qt\Qt5100\Tools\QtCreator\lib\qtcreatorcdbext64\qtcreatorcdbext.dll cannot be found.
If you have updated Qt Creator via Maintenance Tool, you may need to rerun the Tool and select "Add or remove components" and then select the
Qt > Tools > Qt Creator > Qt Creator CDB Debugger Support component.
If you build Qt Creator from sources and want to use a CDB executable with another bitness than your Qt Creator build,
you will need to build a separate CDB extension with the same bitness as the CDB you want to use.

MSVC2017 64 bit
When I check the above path - only C:\PROGRAMS\Qt\Qt5100\Tools\QtCreator\lib\ - exists but .\qtcreatorcdbext64\qtcreatorcdbext.dll is missing

I'm usign Offline Installer, checksum matches, no errors during installation
In Offline Installer 'Add or remove components' there's no such component - 'Qt > Tools > Qt Creator > Qt Creator CDB Debugger Support component'

Is 'Qt Creator CDB Debugger Support component' included in Qt 5.10.0 Offline installer or not? If not - from where to download?

IIRC ..in previous versions there was an option (a button in QtCreator settings) to rebuild certain debug plugins (IIRC it was the same plugin - anyway there's only one default debug plugin) ..maybe only for GDB

Unsolved QPSQL driver not loaded -> available drivers: QSQLITE QMYSQL QMYSQL3 QODBC QODBC3 QPSQL QPSQL7

$
0
0

Hello

I'm relatively new to QT and C++.

I've experience in PHP (OOP), Webdevelopement and C.
Just for imagine with whom you are working with ;).

I'm working on windows 7 64 Bit.
QT 5.10.0 and Visual Studio Community 2017 15.5.1.

I'm working here with somebody who created a program which connects to a PostgresSQL 9.3 all works fine for him. So now I just want to support him and installed everything (already multiply times).

But I always get the same error:
"QSqlDatabase: QPSQL driver not loaded
QSqlDatabase: available drivers: QSQLITE QMYSQL QMYSQL3 QODBC QODBC3 QPSQL QPSQL7"

I already tried to build the driver by my self but there are many things different to the instructions and got a lot of errors.
Then I loaded the books example (http://doc.qt.io/qt-5/qtsql-books-example.html) it just works fine.

Now I change this to QPSQL and I get the exactly same error.

QSqlError initDb()
{

       QSqlDatabase db = QSqlDatabase::addDatabase("QPSQL");
       db.setHostName("bigblue");
       db.setDatabaseName("flightdb");
       db.setUserName("acarlson");
       db.setPassword("1uTbSbAs");
       bool ok = db.open();
       ...

I don't know if I'm correct but i'm thinking I should get something like "Wrong username/password can't connect" or "Can't connect to database" instead of the driver....
=> Ok just tested.... my workmate (where it is working) get another message the one I would expect...

So I already tried everything I'm able to.

Anyone any idea what I should do?
I just want that the driver works!

Thank you very much

Unsolved Pure Debian-based Qt5.9.3 cross-builder for Raspberry Pi

$
0
0

Hi
Thank you. very nice and detailed guide.

Unsolved can anyone update theses patches qtwebkit (qt4) static build to qt 5

Solved How to install and use Qt 5.10 (for desktop) in Qt Creator 4.5.0?

$
0
0

@Wodzu
Np. We are here to help.
Exactly :)
Normally it will detect the new 2017 compiler and its ready for use but else yes just
add the kit by hand and you should be good to go :)

Maybe i should also try the new 2017 compiler :)

Unsolved how to install qt application manager

$
0
0

hi.
i have Qt5.9.1 installed on my ubuntu 16.04.
when i try to run the " qmake && make && make install " on terminal i get this error :
"qtapplicationmanager/application-manager.pro:3: Unknown test function: qtHaveModule
Project ERROR: The QtQml library is required for a non 'tools-only' build"
this is the line that contain this error in .pro file :
!tools-only:!qtHaveModule(qml):error("The QtQml library is required for a non 'tools-only' build")
what should i do?


Unsolved Qt 5.10.0 compile with clang on ubuntu 17.10

$
0
0

I use QMake and use things like:

CONFIG += c++17

Perhaps try c++17 instead of c++1z - https://clang.llvm.org/cxx_status.html

C++17 implementation status Clang 5 and later implement all the features of the C++ 2017 Draft International Standard. You can use Clang in C++17 mode with the -std=c++17 option (use -std=c++1z in Clang 4 and earlier).

Unsolved Unable to view QT example applications in QT 5.10 Creator 4.5.0

$
0
0

I've been having issues trying to even view the example applications, I downloaded in ubuntu they view just fine, in windows they fail to be visible. I have to export an exe file in windows so I need it in windows. Ever since I downloaded it, I am unable to view any of the example applications. I've uninstalled and re-downloaded it 2 times and I've tried to find the correct packages and I cannot find a solution to my problem. Please help.

Unsolved Unable to run Qt app in beagleboneblack

$
0
0

hi ,
i am getting the below errors when i try to run a qt application in beaglebone black.
ibEGL warning: DRI2: failed to authenticate
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
QEGLPlatformContext: Failed to make temporary surface current, format not updated (3000)
QXcbConnection: XCB error: 16 (BadLength), sequence: 467, resource id: 18874377, major code: 72 (PutImage), minor code: 0
QXcbConnection: XCB error: 16 (BadLength), sequence: 470, resource id: 18874377, major code: 72 (PutImage), minor code: 0
QXcbConnection: XCB error: 16 (BadLength), sequence: 473, resource id: 18874377, major code: 72 (PutImage), minor code: 0
QXcbConnection: XCB error: 16 (BadLength), sequence: 476, resource id: 18874377, major code: 72 (PutImage), minor code: 0
i have yocto build the qt source

Solved Cannot Run Compiler 'cl'

Unsolved How to compile for older versions of qt

$
0
0

Howdy! I'm pretty new to Qt, but I've written my first desktop app with it, and I'm having some trouble compiling for older versions. I'm running Qt 5.9 on Ubuntu, and when I compile, package, everything, it all works fantastically on my development machine. I have another test machine running Qt version 5.6, also on Ubuntu. Even if I copy over all the source files and build it there, it still requires version 5.9. How do I make it backwards compatible? Thanks!

Unsolved Newbie Windows installation problems

$
0
0

I ran offline installer "qt-opensource-windows-x86-5.10.0.exe" on my Win 7 Pro 64-bit system. I have Visual Studio Community 2017 installed already. The only checkbox I turned on in the Qt installer is "msvc2017 64-bit".

I ran Qt Creator, selected Examples, and picked "Qt Quick Controls 2 - Gallery". It popped up a help screen that suggested that I visit "Building and Running an Example", so that's what I did. That web page told me to do what I had already done, then said to click the Kit Selector, and select a kit for the device. Instead of popping up a choice of kits, though, it popped up an error message saying "The project gallery is not yet configured. You can configure it in the Projects mode." which of course is the mode I'm already in.

The web page doesn't say anything about "configuring" a project, so I try to figure out how to work the "Configure Project" page that I'm looking at. It has a checkbox that says "Select all kits", which is on, and an box under it that that says "Desktop Qt 5.10.0 MSVC2017 64bit" with a check next to it, and a Details box. Clicking Details gives me Debug, Release, and Profile choices. I know what Debug and Release mean, but have no idea what Profile means. If I turn off the "Select all kits" checkbox, then the choices are grayed out. The only way I can tell it just to build a debug kit is to turn ON "Select all kits" and then turn off Release and Profile. That doesn't make sense.

So I do that, and click "Configure Project", and it switches me to the Edit mode. Since I don't need to edit anything, I try the Run button with the green triangle. It compiles, and runs correctly, so it seems to have found my compiler alright.

I try closing the program, and use Windows explorer to navigate to the program it just ran, and run the program directly. It pops up a System Error: "The program can't start because Qt5QuickControls2d.dll is missing from your computer. Try reinstalling the program to fix this problem."

I think, maybe the Debug version isn't supposed to be runnable outside the IDE, so I manage to figure out how to add the missing Release build. There's an Add pulldown that lists Clone Selected, Debug, Release, and Profile, so I choose Release, and it asks me for a name. Why does it do that? Isn't "Release" the name? So I type in Release, and it seems to do the right thing. I build that, and it runs, but when I go to the directory it's in to try to run it outside the IDE, I notice that I have a directory called "build-gallery-Desktop_Qt_5_10_0_MSVC2017_64bit-Debug" that has a "debug" subdirectory with stuff in it, and a nearly empty "release" subdirectory, plus a "build-gallery-Desktop_Qt_5_10_0_MSVC2017_64bit-Release" directory with a "release" subdirectory with stuff in it, and a nearly empty "debug" subdirectory. That seems wrong. And the release executable gives me the same error as the debug executable.

I give up on that experiment and decide to see what the debugger looks like. I click the "Start Debugging" button. I get a "Failed to Start the Debugger" error, saying: "Internal error: The extension C:\Qt\Qt5.10.0\Tools\QtCreator\lib\qtcreatorcdbext64\qtcreatorcdbext.dll cannot be found." plus a bunch of stuff about a "Maintenance Tool". I glance at my directory tree, and notice that the lib directory only has a qtcreator subdirectory, no qtcreatorcdbext64 subdirectory.

I wonder if I left something out of the install, so I try to run the original offline installer again, but it refuses to run because the directory already exists.

So I go into Control Panel -> Programs and Features, find the Qt 5.10.0 entry, right click it, and choose "change". It pops up a program called "Maintain Qt 5.10.0". I'm guessing that's the "Maintenance Tool" the previous error message referred to. I select "Add or remove components", click "Next>", and it gives me an error message "At least one valid and enabled repository required for this action to succeed." Wondering what that could mean, I click Settings (the only thing available other than Quit), and click on the Repositories tab, and there's nothing listed. Selecting the :Temporary repositories: branch or the "User defined repositories" enables the Add button, which I click to see what it looks like, and it gives me places to type in a username, password, and repository, but I have no idea what repository it wants.

So the point is this: I did a very vanilla installation of the latest stuff, it doesn't work as documented, and gives me error messages that I can't get past. There are about six questions in what I just wrote, some of which are mere curiosities, but a couple of which are stymieing me, keeping me from moving forward. Can anyone tell me how to run the example program outside the IDE, and can anyone tell me how I can run the debugger?

Unsolved How to use libssh in a project

$
0
0

@mrjj
When I downloaded the libssh files from their website it doesn't include a .dll or an .SO file. Where should I be getting these?


Unsolved Unable to install QT using online installer

$
0
0

@md612 You can try to change the used repository: go to Settings/Repositories

Solved Build QT 5.4.2 with OpenSSL statically linked

$
0
0

For the people googleing this issue. There is documentation abut this in
qtbase/src/network/ssl/ssl.pri:

Add optional SSL libs # Static linking of OpenSSL with msvc: # - Binaries http://slproweb.com/products/Win32OpenSSL.html # - also needs -lUser32 -lAdvapi32 -lGdi32 -lCrypt32 # - libs in <OPENSSL_DIR>\lib\VC\static # - configure: -openssl -openssl-linked -I <OPENSSL_DIR>\include -L <OPENSSL_DIR>\lib\VC\static OPENSSL_LIBS="-lUser32 -lAdvapi32 -lGdi32" OPENSSL_LIBS_DEBUG="-lssleay32MDd -llibeay32MDd" OPENSSL_LIBS_RELEASE="-lssleay32MD -llibeay32MD"

Unsolved Install Qt5 on Virtualbox, segmentation fault

Solved QXcbConnection: Could not connect to display

$
0
0

Hi,
Maybe that can help.

Cross-compiling Qt-5.10 on Raspberry Pi 3 running Raspbian Stretch
In Qt Creator, the Run parameters for the device are:
Use System Environment and
Set DISPLAY to :0
Set XAUTHORITY to /home/pi/.Xauthority

Note that I have also set the run argument as -platform xcb

Unsolved Can't start my first project. Keeps telling me 'No valid kits found'. Not sure what to do.

$
0
0

Can't start my first project. Keeps telling me 'No valid kits found'. Not sure what to do.

Viewing all 22112 articles
Browse latest View live


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