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

[[qanda:topic_unsolved]] [Qt Installer Framework] Share a global variable among component scripts

$
0
0

Hi. My project has 3 components: compA, compB and compC. I have a variable var demo = 0 defined in compA. Now I want to access it in compB and compC. How can I do it?

Please help.


[[qanda:topic_unsolved]] Set QT_SYSROOT property

$
0
0

I'm trying to change the value of QT_SYSROOT because I moved the Qt5 installation.
According to the documentation I should be able to do that.

But here what happens:

$ ./qmake -query
QT_SYSROOT:
QT_INSTALL_PREFIX:/mnt/dev/qt5
QT_INSTALL_ARCHDATA:/mnt/dev/qt5
QT_INSTALL_DATA:/mnt/dev/qt5
...

$ ./qmake -set QT_SYSROOT /mnt/dev/sysroot

$ ./qmake -query
QT_SYSROOT:/mnt/dev/sysroot
QT_SYSROOT:
QT_INSTALL_PREFIX:/mnt/dev/qt5
QT_INSTALL_ARCHDATA:/mnt/dev/qt5
...

$ ./qmake -query QT_SYSROOT

What am I doing wrong?

[[qanda:topic_unsolved]] Error running app in Linux (static bulid)

$
0
0
Hi, I had same exact issue in Ubuntu 16.04, after successfull static build of Qt 5.15.2 my application built fine but was give the same error when tried to run it. I discovered that I didn't have xcb plugin in my plugin folder. So I reviewed the Qt build process and installed all the libraries listed here and here. I already had most of them, but something was now installed (can't say which one) and probably did the trick. Then these was my steps: git clone git://code.qt.io/qt/qt5.git cd qt5 git checkout 5.15.2 ./init-repository --module-subset=qtbase,qtwebsockets,qtdeclarative cd qtwebsockets git checkout -b 5.15.2 origin/5.15.2 cd .. ./configure -static -prefix "/home/rocco/static_libraries/qt-5.15.2" -qt-harfbuzz -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -qt-freetype -make libs -nomake tools -nomake examples -nomake tests -opensource -confirm-license make -j8 make install

[[qanda:topic_unsolved]] IFW 4 signal for wizard NextButton

$
0
0

I can not find in the IFW documentation how to capture the signal for the NextButton.
In short what I am trying to do is:
Create a custom page with an "All Users" and "User Only" radio buttons
When next is clicked check selection setting elevated permissions etc.

[[qanda:topic_unsolved]] IFW 4 installer.gainAdminRights()

$
0
0

Documentation states gainAdminRights() returns true when successful. However, when canceling the UAC dialog, I would expect it returns false but it displays a critical messageBox

fb724f24-e7b5-4f5b-bdd0-092882a8e5c7-image.png

Pressing OK delays for 30 sec before bringing up Windows exception debug dialog and closing installer.

I expect if a user clicks no on the UAC gainAdminRights() would return false so the developer can handle it. Is this a bug?

[[qanda:topic_unsolved]] Qt Installer Framework

$
0
0
  1. How does the installer remove the system frame (no frame)? It is convenient to maintain a consistent style under Windows 7 and Windows 10.
  2. In addition, the installer I built shows "Unable to retrieve remote tree" and it cannot continue. What is the situation?
  3. Does it support complete UI page customization? (Not including any default page)
  4. Does it support particle effects on a certain page of the dialog box? I don’t seem to see it in the help documentation

[[qanda:topic_solved]] QT opensource install error

$
0
0

Hi everyone,
I'm trying to install Qt 6.0.2 (default desktop install)
During the installation process I always get the following message:

Error during installation process (qt.tools.qtcreator):
Error while extracting archive "installer://qt.tools.qtcreator/4.14.1-0-202102230956qtcreator.7z":
Cannot open file "D:\Programok\Qt\Tools\QtCreator\bin\qtcreator_ctrlc_stub.exe" for writing:
Acces denied

I just can't figure out what's the problem...

[[qanda:topic_unsolved]] Static compile application with OpenSSL fails if both static and dinamic OpenSSL libraries are installed

$
0
0
Hi, From memory, if you want to link to the static version, when you have both in the same folder, you have to give the full path with the -l option.

[[qanda:topic_unsolved]] Qt Open Source Version License

$
0
0
Then check the documentation of the modules you are interested in, the license will be explained there as well.

[[qanda:topic_unsolved]] Pushing project to github

$
0
0

Hello,

When I try to push my project to github (Tools -> Git -> Remote repository -> Push) I receive the following message:

error: cannot run ssh-askpass: No such file or directory
fatal: could not read Username for 'https://github.com': No such device or address
The command "/usr/bin/git" terminated with exit code 128.

The command "ssh-askpass" is nowhere to be found, it is not installed and not in arch repos (using Manjaro KDE). Also, I wasn't able to find a way to setup my github credentials for QT Creator GIT tools. Please advice on how to handle this.

TIA

[[qanda:topic_unsolved]] Android manifest variable

$
0
0

Hi,
according to this post, which says:

-- %%INSERT_APP_NAME%% -- correspond to qmake setting TARGET

And the documentation here, which states:

TARGET
Specifies the name of the target file. Contains the base name of the project file by default.
For example:
[...]
TARGET = myapp
[...]
The project file above would produce an executable named myapp on unix and myapp.exe on Windows.

I have added the following in my .pro file:

TARGET = MahlZahl

When I use this, the application is being built and deployed to Android, but will stop with the error message

Your application encountered a fatal error and cannot continue

before any possibility to debug it. Using small letters only for the app name or changing "=" to "+=" doesn't change a thing.
Building and running the same project in Windows works well.

My application output shows (please note, that I am not using "containsKey" in my code!):

W System.err: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.os.Bundle.containsKey(java.lang.String)' on a null object reference
W System.err: 	at org.qtproject.qt5.android.QtNative$4.run(QtNative.java:495)
W System.err: 	at org.qtproject.qt5.android.QtThread$2.run(QtThread.java:87)
W System.err: 	at org.qtproject.qt5.android.QtThread$1.run(QtThread.java:61)
W System.err: 	at java.lang.Thread.run(Thread.java:764)
W System.err: java.lang.Exception:
W System.err: 	at org.qtproject.qt5.android.bindings.QtLoader.loadApplication(QtLoader.java:268)
W System.err: 	at org.qtproject.qt5.android.bindings.QtLoader.startApp(QtLoader.java:505)
W System.err: 	at org.qtproject.qt5.android.bindings.QtActivityLoader.onCreate(QtActivityLoader.java:166)
W System.err: 	at org.qtproject.qt5.android.bindings.QtActivity.onCreateHook(QtActivity.java:267)
W System.err: 	at org.qtproject.qt5.android.bindings.QtActivity.onCreate(QtActivity.java:274)
W System.err: 	at android.app.Activity.performCreate(Activity.java:7136)
W System.err: 	at android.app.Activity.performCreate(Activity.java:7127)
W System.err: 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1272)
W System.err: 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2908)
W System.err: 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3063)
W System.err: 	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
W System.err: 	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
W System.err: 	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
W System.err: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1823)
W System.err: 	at android.os.Handler.dispatchMessage(Handler.java:107)
W System.err: 	at android.os.Looper.loop(Looper.java:198)
W System.err: 	at android.app.ActivityThread.main(ActivityThread.java:6729)
W System.err: 	at java.lang.reflect.Method.invoke(Native Method)
W System.err: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
W System.err: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:876)

Developing on a Win10 machine with Qt 5.15.2 with Qt Creator 4.14.1., targeting a Nokia 8 with Android-Version 9

P.S.: This is a redefinition of an unanswered question from some 15hs before, that I've just deleted. As I have new information I didn't want the other thread to be unnecessarily cluttered.

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

$
0
0
Environment: Ubuntu20.10; Qt 5.15.2, VirtualBox VM: The solution provided by @Legendary no longer works, use this instead: $ sudo apt-get install libxcb-randr0-dev libxcb-xtest0-dev libxcb-xinerama0-dev libxcb-shape0-dev libxcb-xkb-dev

[[qanda:topic_unsolved]] The Importance of the Discovery Phase When Developing a New Project

$
0
0

A unique and outstanding idea is not the only key to success. According to statistics, almost half of all started projects go beyond the initially planned budget, and a significant part of them end up being frozen or unfinished.

Why does this happen? The reasons can be different:

  • the concept of the product goals and its place in the market was too vague;

  • the development team misunderstood the customer's requirements;

  • numerous alterations were made during the development phase, which cost a significant part of the budget and hence made completing the project impossible;

  • the developed product appeared to not be in demand, etc.

All these problems could have been avoided if a clear action plan had been drawn up before the development began, which would provide answers to all questions and help to establish communication between all participants. Such a plan can be created when the project includes a discovery phase.

What is the discovery phase?
The discovery phase is the collection and analysis of data about a project, its commercial focus, and target audience. This is the very key element of the development process, which allows a team to plan a correct clear sequence of actions and evolve the initial idea of the customer most successfully. This stage takes relatively little time (usually from a week to a month, depending on the complexity of the project) but significantly reduces the time required for the product to be finished.

The discovery phase includes:

  • Analysis of the customer's request: their ideas, requirements, and wishes regarding the future project. Analysts must be able to correctly ask questions to the customer and collect as much detailed information as possible to better understand the essence of the product.

  • Setting the goal of the project, forming a clear view of the product for all development participants. The team will better understand the result to be achieved and will be able to suggest alternative solutions that the customer might have no idea about.

  • Market research, analysis of competitors and users. User behavior models are created and the uniqueness of the product is studied.

  • Preparation of a common document containing technical requirements for the product. This document is usually provided in the format of a specification (the so-called SRS - software requirements specification) that takes into account all the proposals and wishes of the customer.

  • Defining a clear time framework and budget for the project. The final documents detail the costs and deadlines for each task within the development.

alt text

Who conducts research during the discovery phase?
An important role in planning during the discovery phase is played by a Business Analyst who draws up an objective picture of the commercial environment of the product, its uniqueness in the market, and competitiveness. This specialist also studies the target audience and end user by conducting ad hoc surveys or using the existing research data.

Designers, cloud engineers, solution architects, and experts in various fields can be involved in the work at the discovery phase.

Specialists also analyze the organization, immediately planning what functions the team members will perform and whether it is necessary to add more resources.

The discovery phase creates the basis for project success, as it provides all the necessary conditions for a productive development process by:

  1. Involving the whole team in the process in order to explore the project from different angles and immediately make it clear to all participants.
  2. Maintaining constant communication so that all parties get a complete picture of the project.
  3. Studying the user as much as possible to ensure the developed product is as in-demand and successful as possible.

The discovery phase should not be underestimated, as it is the most important development stage to the fate of the project. Learn more about the discovery phase in an article that describes in detail the capabilities and benefits of this approach.

[[qanda:topic_unsolved]] Packaging a desktop application

$
0
0

Hey,

I'm writing a project using Qt and CMake. I'm left wondering how and what people do for packaging the applications.

I'm looking for an example that:

1.Uses CMake
2. Uses Qt
3. Uses shared-lib dependencies other than Qt
4. Is cross-platform

I have preference for integrated solutions with CMake, like CPack..

Do you know open source repositories I can take a look at?

[[qanda:topic_unsolved]] Why does windeployqt copy *all* qml files for all themes

$
0
0

So, I did the very basic hello world Qt quick application. New project -> Qt Quick (empty) -> qmake (also tested with cmake). Then I compiled it, fine.

Then I decided to try windeploy qt:
windeployqt --qmldir {path/source/main.qml is} helloworld.exe
Exact command:
C:\Repos\build-helloworld-Desktop_Qt_6_0_2_MSVC2019_64bit-Release\release>"C:\Programas_user\Qt\6.0.2\msvc2019_64\bin\windeployqt.exe" --qmldir "C:\Repos\helloworld" .\helloworld.exe

And it copied lots of stuff, including all the qml files for all the themes (full log at the end).

Is this normal? Why does it happen?

Anyway, here is the code, in case if you want to be reminded:

main.qml

import QtQuick 2.15
import QtQuick.Window 2.15

Window {
    width: 640
    height: 480
    visible: true
    title: qsTr("Hello World")
}

main.cpp

#include <QGuiApplication>
#include <QQmlApplicationEngine>

int main(int argc, char *argv[])
{
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
    QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
#endif

    QGuiApplication app(argc, argv);

    QQmlApplicationEngine engine;
    const QUrl url(QStringLiteral("qrc:/main.qml"));
    QObject::connect(&engine, &QQmlApplicationEngine::objectCreated,
        &app, [url](QObject *obj, const QUrl &objUrl) {
            if (!obj && url == objUrl)
                QCoreApplication::exit(-1);
        }, Qt::QueuedConnection);
    engine.load(url);

    return app.exec();
}

helloworld.pro

QT += quick

CONFIG += c++11

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
        main.cpp

RESOURCES += qml.qrc

# Additional import path used to resolve QML modules in Qt Creator's code model
QML_IMPORT_PATH =

# Additional import path used to resolve QML modules just for Qt Quick Designer
QML_DESIGNER_IMPORT_PATH =

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

And this is what windeployqt generated (tree /f on Windows):

│   D3Dcompiler_47.dll
│   helloworld.exe
│   opengl32sw.dll
│   Qt6Core.dll
│   Qt6Gui.dll
│   Qt6Network.dll
│   Qt6OpenGL.dll
│   Qt6Qml.dll
│   Qt6QmlModels.dll
│   Qt6QmlWorkerScript.dll
│   Qt6Quick.dll
│   Qt6QuickControls2.dll
│   Qt6QuickControls2Impl.dll
│   Qt6QuickParticles.dll
│   Qt6QuickShapes.dll
│   Qt6QuickTemplates2.dll
│   Qt6Sql.dll
│   Qt6Svg.dll
│
├───iconengines
│       qsvgicon.dll
│
├───imageformats
│       qgif.dll
│       qico.dll
│       qjpeg.dll
│       qsvg.dll
│
├───platforms
│       qwindows.dll
│
├───qmltooling
│       qmldbg_debugger.dll
│       qmldbg_inspector.dll
│       qmldbg_local.dll
│       qmldbg_messages.dll
│       qmldbg_native.dll
│       qmldbg_nativedebugger.dll
│       qmldbg_preview.dll
│       qmldbg_profiler.dll
│       qmldbg_quickprofiler.dll
│       qmldbg_server.dll
│       qmldbg_tcp.dll
│
├───QtQml
│   │   plugins.qmltypes
│   │   qmldir
│   │   qmlplugin.dll
│   │
│   ├───Models
│   │       modelsplugin.dll
│   │       plugins.qmltypes
│   │       qmldir
│   │
│   └───WorkerScript
│           plugins.qmltypes
│           qmldir
│           workerscriptplugin.dll
│
├───QtQuick
│   │   plugins.qmltypes
│   │   qmldir
│   │   qtquick2plugin.dll
│   │
│   ├───Controls
│   │   │   plugins.qmltypes
│   │   │   qmldir
│   │   │   qtquickcontrols2plugin.dll
│   │   │
│   │   ├───Basic
│   │   │   │   AbstractButton.qml
│   │   │   │   Action.qml
│   │   │   │   ActionGroup.qml
│   │   │   │   ApplicationWindow.qml
│   │   │   │   BusyIndicator.qml
│   │   │   │   Button.qml
│   │   │   │   ButtonGroup.qml
│   │   │   │   CheckBox.qml
│   │   │   │   CheckDelegate.qml
│   │   │   │   ComboBox.qml
│   │   │   │   Container.qml
│   │   │   │   Control.qml
│   │   │   │   DelayButton.qml
│   │   │   │   Dial.qml
│   │   │   │   Dialog.qml
│   │   │   │   DialogButtonBox.qml
│   │   │   │   Drawer.qml
│   │   │   │   Frame.qml
│   │   │   │   GroupBox.qml
│   │   │   │   HorizontalHeaderView.qml
│   │   │   │   ItemDelegate.qml
│   │   │   │   Label.qml
│   │   │   │   Menu.qml
│   │   │   │   MenuBar.qml
│   │   │   │   MenuBarItem.qml
│   │   │   │   MenuItem.qml
│   │   │   │   MenuSeparator.qml
│   │   │   │   Page.qml
│   │   │   │   PageIndicator.qml
│   │   │   │   Pane.qml
│   │   │   │   Popup.qml
│   │   │   │   ProgressBar.qml
│   │   │   │   qmldir
│   │   │   │   qtquickcontrols2basicstyleplugin.dll
│   │   │   │   RadioButton.qml
│   │   │   │   RadioDelegate.qml
│   │   │   │   RangeSlider.qml
│   │   │   │   RoundButton.qml
│   │   │   │   ScrollBar.qml
│   │   │   │   ScrollIndicator.qml
│   │   │   │   ScrollView.qml
│   │   │   │   Slider.qml
│   │   │   │   SpinBox.qml
│   │   │   │   SplitView.qml
│   │   │   │   StackView.qml
│   │   │   │   SwipeDelegate.qml
│   │   │   │   SwipeView.qml
│   │   │   │   Switch.qml
│   │   │   │   SwitchDelegate.qml
│   │   │   │   TabBar.qml
│   │   │   │   TabButton.qml
│   │   │   │   TextArea.qml
│   │   │   │   TextField.qml
│   │   │   │   ToolBar.qml
│   │   │   │   ToolButton.qml
│   │   │   │   ToolSeparator.qml
│   │   │   │   ToolTip.qml
│   │   │   │   Tumbler.qml
│   │   │   │   VerticalHeaderView.qml
│   │   │   │
│   │   │   └───impl
│   │   │           plugins.qmltypes
│   │   │           qmldir
│   │   │           qtquickcontrols2basicstyleimplplugin.dll
│   │   │
│   │   ├───Fusion
│   │   │   │   ApplicationWindow.qml
│   │   │   │   BusyIndicator.qml
│   │   │   │   Button.qml
│   │   │   │   CheckBox.qml
│   │   │   │   CheckDelegate.qml
│   │   │   │   ComboBox.qml
│   │   │   │   DelayButton.qml
│   │   │   │   Dial.qml
│   │   │   │   Dialog.qml
│   │   │   │   DialogButtonBox.qml
│   │   │   │   Drawer.qml
│   │   │   │   Frame.qml
│   │   │   │   GroupBox.qml
│   │   │   │   HorizontalHeaderView.qml
│   │   │   │   ItemDelegate.qml
│   │   │   │   Label.qml
│   │   │   │   Menu.qml
│   │   │   │   MenuBar.qml
│   │   │   │   MenuBarItem.qml
│   │   │   │   MenuItem.qml
│   │   │   │   MenuSeparator.qml
│   │   │   │   Page.qml
│   │   │   │   PageIndicator.qml
│   │   │   │   Pane.qml
│   │   │   │   Popup.qml
│   │   │   │   ProgressBar.qml
│   │   │   │   qmldir
│   │   │   │   qtquickcontrols2fusionstyleplugin.dll
│   │   │   │   RadioButton.qml
│   │   │   │   RadioDelegate.qml
│   │   │   │   RangeSlider.qml
│   │   │   │   RoundButton.qml
│   │   │   │   ScrollBar.qml
│   │   │   │   ScrollIndicator.qml
│   │   │   │   ScrollView.qml
│   │   │   │   Slider.qml
│   │   │   │   SpinBox.qml
│   │   │   │   SplitView.qml
│   │   │   │   SwipeDelegate.qml
│   │   │   │   Switch.qml
│   │   │   │   SwitchDelegate.qml
│   │   │   │   TabBar.qml
│   │   │   │   TabButton.qml
│   │   │   │   TextArea.qml
│   │   │   │   TextField.qml
│   │   │   │   ToolBar.qml
│   │   │   │   ToolButton.qml
│   │   │   │   ToolSeparator.qml
│   │   │   │   ToolTip.qml
│   │   │   │   Tumbler.qml
│   │   │   │   VerticalHeaderView.qml
│   │   │   │
│   │   │   └───impl
│   │   │           ButtonPanel.qml
│   │   │           CheckIndicator.qml
│   │   │           plugins.qmltypes
│   │   │           qmldir
│   │   │           qtquickcontrols2fusionstyleimplplugin.dll
│   │   │           RadioIndicator.qml
│   │   │           SliderGroove.qml
│   │   │           SliderHandle.qml
│   │   │           SwitchIndicator.qml
│   │   │
│   │   ├───Imagine
│   │   │   │   ApplicationWindow.qml
│   │   │   │   BusyIndicator.qml
│   │   │   │   Button.qml
│   │   │   │   CheckBox.qml
│   │   │   │   CheckDelegate.qml
│   │   │   │   ComboBox.qml
│   │   │   │   DelayButton.qml
│   │   │   │   Dial.qml
│   │   │   │   Dialog.qml
│   │   │   │   DialogButtonBox.qml
│   │   │   │   Drawer.qml
│   │   │   │   Frame.qml
│   │   │   │   GroupBox.qml
│   │   │   │   HorizontalHeaderView.qml
│   │   │   │   ItemDelegate.qml
│   │   │   │   Label.qml
│   │   │   │   Menu.qml
│   │   │   │   MenuItem.qml
│   │   │   │   MenuSeparator.qml
│   │   │   │   Page.qml
│   │   │   │   PageIndicator.qml
│   │   │   │   Pane.qml
│   │   │   │   Popup.qml
│   │   │   │   ProgressBar.qml
│   │   │   │   qmldir
│   │   │   │   qtquickcontrols2imaginestyleplugin.dll
│   │   │   │   RadioButton.qml
│   │   │   │   RadioDelegate.qml
│   │   │   │   RangeSlider.qml
│   │   │   │   RoundButton.qml
│   │   │   │   ScrollBar.qml
│   │   │   │   ScrollIndicator.qml
│   │   │   │   ScrollView.qml
│   │   │   │   Slider.qml
│   │   │   │   SpinBox.qml
│   │   │   │   SplitView.qml
│   │   │   │   StackView.qml
│   │   │   │   SwipeDelegate.qml
│   │   │   │   SwipeView.qml
│   │   │   │   Switch.qml
│   │   │   │   SwitchDelegate.qml
│   │   │   │   TabBar.qml
│   │   │   │   TabButton.qml
│   │   │   │   TextArea.qml
│   │   │   │   TextField.qml
│   │   │   │   ToolBar.qml
│   │   │   │   ToolButton.qml
│   │   │   │   ToolSeparator.qml
│   │   │   │   ToolTip.qml
│   │   │   │   Tumbler.qml
│   │   │   │   VerticalHeaderView.qml
│   │   │   │
│   │   │   └───impl
│   │   │           OpacityMask.qml
│   │   │           plugins.qmltypes
│   │   │           qmldir
│   │   │           qtquickcontrols2imaginestyleimplplugin.dll
│   │   │
│   │   ├───impl
│   │   │       plugins.qmltypes
│   │   │       qmldir
│   │   │       qtquickcontrols2implplugin.dll
│   │   │
│   │   ├───Material
│   │   │   │   ApplicationWindow.qml
│   │   │   │   BusyIndicator.qml
│   │   │   │   Button.qml
│   │   │   │   CheckBox.qml
│   │   │   │   CheckDelegate.qml
│   │   │   │   ComboBox.qml
│   │   │   │   DelayButton.qml
│   │   │   │   Dial.qml
│   │   │   │   Dialog.qml
│   │   │   │   DialogButtonBox.qml
│   │   │   │   Drawer.qml
│   │   │   │   Frame.qml
│   │   │   │   GroupBox.qml
│   │   │   │   HorizontalHeaderView.qml
│   │   │   │   ItemDelegate.qml
│   │   │   │   Label.qml
│   │   │   │   Menu.qml
│   │   │   │   MenuBar.qml
│   │   │   │   MenuBarItem.qml
│   │   │   │   MenuItem.qml
│   │   │   │   MenuSeparator.qml
│   │   │   │   Page.qml
│   │   │   │   PageIndicator.qml
│   │   │   │   Pane.qml
│   │   │   │   Popup.qml
│   │   │   │   ProgressBar.qml
│   │   │   │   qmldir
│   │   │   │   qtquickcontrols2materialstyleplugin.dll
│   │   │   │   RadioButton.qml
│   │   │   │   RadioDelegate.qml
│   │   │   │   RangeSlider.qml
│   │   │   │   RoundButton.qml
│   │   │   │   ScrollBar.qml
│   │   │   │   ScrollIndicator.qml
│   │   │   │   ScrollView.qml
│   │   │   │   Slider.qml
│   │   │   │   SpinBox.qml
│   │   │   │   SplitView.qml
│   │   │   │   StackView.qml
│   │   │   │   SwipeDelegate.qml
│   │   │   │   SwipeView.qml
│   │   │   │   Switch.qml
│   │   │   │   SwitchDelegate.qml
│   │   │   │   TabBar.qml
│   │   │   │   TabButton.qml
│   │   │   │   TextArea.qml
│   │   │   │   TextField.qml
│   │   │   │   ToolBar.qml
│   │   │   │   ToolButton.qml
│   │   │   │   ToolSeparator.qml
│   │   │   │   ToolTip.qml
│   │   │   │   Tumbler.qml
│   │   │   │   VerticalHeaderView.qml
│   │   │   │
│   │   │   └───impl
│   │   │           BoxShadow.qml
│   │   │           CheckIndicator.qml
│   │   │           CursorDelegate.qml
│   │   │           ElevationEffect.qml
│   │   │           plugins.qmltypes
│   │   │           qmldir
│   │   │           qtquickcontrols2materialstyleimplplugin.dll
│   │   │           RadioIndicator.qml
│   │   │           RectangularGlow.qml
│   │   │           SliderHandle.qml
│   │   │           SwitchIndicator.qml
│   │   │
│   │   ├───Universal
│   │   │   │   ApplicationWindow.qml
│   │   │   │   BusyIndicator.qml
│   │   │   │   Button.qml
│   │   │   │   CheckBox.qml
│   │   │   │   CheckDelegate.qml
│   │   │   │   ComboBox.qml
│   │   │   │   DelayButton.qml
│   │   │   │   Dial.qml
│   │   │   │   Dialog.qml
│   │   │   │   DialogButtonBox.qml
│   │   │   │   Drawer.qml
│   │   │   │   Frame.qml
│   │   │   │   GroupBox.qml
│   │   │   │   HorizontalHeaderView.qml
│   │   │   │   ItemDelegate.qml
│   │   │   │   Label.qml
│   │   │   │   Menu.qml
│   │   │   │   MenuBar.qml
│   │   │   │   MenuBarItem.qml
│   │   │   │   MenuItem.qml
│   │   │   │   MenuSeparator.qml
│   │   │   │   Page.qml
│   │   │   │   PageIndicator.qml
│   │   │   │   Pane.qml
│   │   │   │   Popup.qml
│   │   │   │   ProgressBar.qml
│   │   │   │   qmldir
│   │   │   │   qtquickcontrols2universalstyleplugin.dll
│   │   │   │   RadioButton.qml
│   │   │   │   RadioDelegate.qml
│   │   │   │   RangeSlider.qml
│   │   │   │   RoundButton.qml
│   │   │   │   ScrollBar.qml
│   │   │   │   ScrollIndicator.qml
│   │   │   │   ScrollView.qml
│   │   │   │   Slider.qml
│   │   │   │   SpinBox.qml
│   │   │   │   SplitView.qml
│   │   │   │   StackView.qml
│   │   │   │   SwipeDelegate.qml
│   │   │   │   Switch.qml
│   │   │   │   SwitchDelegate.qml
│   │   │   │   TabBar.qml
│   │   │   │   TabButton.qml
│   │   │   │   TextArea.qml
│   │   │   │   TextField.qml
│   │   │   │   ToolBar.qml
│   │   │   │   ToolButton.qml
│   │   │   │   ToolSeparator.qml
│   │   │   │   ToolTip.qml
│   │   │   │   Tumbler.qml
│   │   │   │   VerticalHeaderView.qml
│   │   │   │
│   │   │   └───impl
│   │   │           CheckIndicator.qml
│   │   │           plugins.qmltypes
│   │   │           qmldir
│   │   │           qtquickcontrols2universalstyleimplplugin.dll
│   │   │           RadioIndicator.qml
│   │   │           SwitchIndicator.qml
│   │   │
│   │   └───Windows
│   │           Button.qml
│   │           CheckBox.qml
│   │           ComboBox.qml
│   │           Frame.qml
│   │           GroupBox.qml
│   │           plugins.qmltypes
│   │           ProgressBar.qml
│   │           qmldir
│   │           qtquickcontrols2windowsstyleplugin.dll
│   │           RadioButton.qml
│   │           ScrollBar.qml
│   │           ScrollView.qml
│   │           Slider.qml
│   │           SpinBox.qml
│   │           TextArea.qml
│   │           TextField.qml
│   │
│   ├───Layouts
│   │       plugins.qmltypes
│   │       qmldir
│   │       qquicklayoutsplugin.dll
│   │
│   ├───LocalStorage
│   │       plugins.qmltypes
│   │       qmldir
│   │       qmllocalstorageplugin.dll
│   │
│   ├───NativeStyle
│   │   │   plugins.qmltypes
│   │   │   qmldir
│   │   │   qtquickcontrols2nativestyleplugin.dll
│   │   │
│   │   └───controls
│   │           DefaultButton.qml
│   │           DefaultCheckBox.qml
│   │           DefaultComboBox.qml
│   │           DefaultDial.qml
│   │           DefaultFrame.qml
│   │           DefaultGroupBox.qml
│   │           DefaultProgressBar.qml
│   │           DefaultRadioButton.qml
│   │           DefaultScrollBar.qml
│   │           DefaultSlider.qml
│   │           DefaultSpinBox.qml
│   │           DefaultTextArea.qml
│   │           DefaultTextField.qml
│   │
│   ├───Particles
│   │       particlesplugin.dll
│   │       plugins.qmltypes
│   │       qmldir
│   │
│   ├───Shapes
│   │       plugins.qmltypes
│   │       qmldir
│   │       qmlshapesplugin.dll
│   │
│   ├───Templates
│   │       plugins.qmltypes
│   │       qmldir
│   │       qtquicktemplates2plugin.dll
│   │
│   ├───tooling
│   │       Component.qml
│   │       Enum.qml
│   │       Member.qml
│   │       Method.qml
│   │       Module.qml
│   │       Parameter.qml
│   │       plugins.qmltypes
│   │       Property.qml
│   │       qmldir
│   │       quicktooling.dll
│   │       Signal.qml
│   │
│   └───Window
│           plugins.qmltypes
│           qmldir
│           quickwindow.dll
│
├───sqldrivers
│       qsqlite.dll
│       qsqlodbc.dll
│       qsqlpsql.dll
│
└───translations
        qt_ar.qm
        qt_bg.qm
        qt_ca.qm
        qt_cs.qm
        qt_da.qm
        qt_de.qm
        qt_en.qm
        qt_es.qm
        qt_fa.qm
        qt_fi.qm
        qt_fr.qm
        qt_gd.qm
        qt_he.qm
        qt_hr.qm
        qt_hu.qm
        qt_it.qm
        qt_ja.qm
        qt_ko.qm
        qt_lv.qm
        qt_nl.qm
        qt_nn.qm
        qt_pl.qm
        qt_pt_BR.qm
        qt_ru.qm
        qt_sk.qm
        qt_tr.qm
        qt_uk.qm
        qt_zh_CN.qm
        qt_zh_TW.qm

[[qanda:topic_unsolved]] Windows SDK path

$
0
0

I want to build Qt 5.15.2 where a copy of the Windows SDK is stored in C:\packages\WindowsSDK\10.0.18362.
The Windows SDK was never installed directly on my Windows machine. How do I configure Qt so it uses
this path during the build?

[[qanda:topic_unsolved]] How can we set the setup executable details / properties using QtIFW

$
0
0

Hi All , I need your Help ,
.........QtifwRelease/bin/binarycreator.exe -v --offline-only -c Config/config.xml -p packages myinstaller.exe

I'm using above command on command prompt ,i need to set some property variable , for example ProductVersion or ProductName like that

thx

Changing qmake -query variables

$
0
0
I have the same issue, qmake -set QT_SYSROOT heh inserts a row to the beginning of qmake -query list, but original QT_SYSROOT follows my config. qmake -query QT_SYSROOT returns with the original path and message(Sysroot dir $$[QT_SYSROOT]) prints out the original one too. See my topic for details: https://forum.qt.io/topic/125004/cross-compile-to-rpi-without-re-compile-qt-from-source Unfortunately other property sets have no real effect too.

[[qanda:topic_unsolved]] Qt BLE Discovery Can't Find Some Devices On Windows

$
0
0
Here is my debug low; I know it doesn't say much without the entire code. But it show which functions are called and which signals are fired by BLE Controller. Service Scan Finished. (QLowEnergyController::discoveryFinished) Available Services List : ("{**00001523-1212-efde-1523-785feabcd123**}", "{00001800-0000-1000-8000-00805f9b34fb}", "{00001801-0000-1000-8000-00805f9b34fb}", "{0000180d-0000-1000-8000-00805f9b34fb}") QLowEnergyService Service Name : "Unknown Service" QLowEnergyService Service UUID : "{**00001523-1212-efde-1523-785feabcd123**}" Calling discoverDetails() ServiceState Changed : DiscoveringServices ServiceState Changed : DiscoveryRequired ServiceState does not become ServiceDiscovered for some reason. 00001523-1212-efde-1523-785feabcd123 is the service that I want to use by the way.

[[qanda:topic_unsolved]] QT on mac, cmake problem?

Viewing all 22112 articles
Browse latest View live


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