qmake Questions
4
I've a strange phenomenom happening that I don't know how to investigate.
I hope someone already encountered this an can provide tips
I'm using gitlab CI to build some Qt based projects.
gitlab r...
Rehearse asked 14/3, 2019 at 7:56
4
I am trying to compile qGo, after installing qt5
git clone https://github.com/pzorin/qgo.git
cd qgo
qmake
make
sudo make install
Right now the latest error is saying it can't find multimedia
# ...
6
Solved
I have a file "settings.ini" which needs to reside next to the Qt executable.
I can add a custom build step for this in Qt Creator which calls something like this:
copy %{sourceDir}/settings.ini ...
Hipolitohipp asked 17/10, 2011 at 14:41
4
Solved
I am new to qmake and I am trying to build an existing application. Qt was originally installed in /usr/local/lib/Qt-4.3.5 and 'qmake -query QT_INSTALL_PREFIX' returns that path.
I have moved the ...
7
Solved
I am using Ubuntu 14.04. I'm trying to install a program which requires cmake. When I run cmake src/ I get:
qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such file or direct...
2
I tried to find the repository on Qt Project Git Repository Browser. I entered a message "qmake" in a search field. And I got a message "No repositories found".
Is QMake open source?
3
This is for setting up the application bundle of a MacOSX app. I have a script which copies a few files and does some other things. So I want to execute the script after the build (i.e. after the l...
11
Solved
I would like to divide my Qt project into several directories because it is growing pretty large. However, when I click on browse in QtCreator, there is no 'Add directory' and no such thing in 'Add...
Hocuspocus asked 24/7, 2009 at 9:44
4
Solved
There are several questions on SO regarding how to create a pre-build step for qmake, I can do that with this in my .pro file:
versionTarget.target = ../VersionData/versioning.h
versionTarget.depe...
2
Solved
I would like to use gcov with my unit test written using QTestLib. I have managed to generate some .gcno files along my object files by adding this to my .pro file :
QMAKE_CXXFLAGS += -fprofile-ar...
7
Solved
How do I add a define with qmake WITH a value:
For example, this does not work (as I expected) in my .pro file:
DEFINES += WINVER 0x0500
nor
DEFINES += "WINVER 0x0500"
How do I define WINVER...
4
Solved
I'm trying to make a qmake .pro file to compile in RaspberryPi (not for cross compile). Can I use conditionals definitions depending on the platform:
linux-g++-64: {
message(We are in Linux 64 bi...
Bagwig asked 26/4, 2016 at 17:4
8
Solved
Is there any way to get the version and vendor of the compiler used by the user through qmake? What I need is to disable building some targets of my project when g++ 3.x is used and enable them whe...
Odilo asked 29/4, 2009 at 7:38
1
Solved
I was trying to follow a Qt tutorial but I get this error:
Could not connect "org.freedesktop.IBus" to globalEngineChanged(QString)
which I don't understand, my code seems fine enough s...
Epicedium asked 10/4, 2023 at 17:33
5
Solved
I have a simple project created in Qt Creator (installed using Qt SDK 1.1.4). It runs just fine from within Qt Creator, but if I then browse to the output directory in Windows and double-click the ...
Stipple asked 5/12, 2011 at 21:14
2
Solved
I can see only one merit of the feauture: we are able to issue the make all commad.
Well, I do not call make in any point of my developer's life. I use Qt Creator and when I build the project I wa...
Spake asked 11/8, 2012 at 10:9
2
Solved
I read though HERE, yet I still don't understand the syntax of the qmake CONFIG variable. for example, if I have the following CONFIG settings in my .pro file:
CONFIG(debug, debug|release) {
mess...
Articulate asked 6/6, 2013 at 12:16
1
I want to implement GRPC on my qt project but first I try run a grpc example but I get undefined reference error.
main.cpp:
#include <helloworld.grpc.pb.h>
#include <grpc/grpc.h>
#incl...
2
8
Solved
I've done a lot of research and been unable to find an answer to this... how can I reliably find the target architecture I'm compiling for, using CMake? Basically, the equivalent to QMAKE_TARGET.ar...
Stogner asked 14/8, 2012 at 0:16
6
Solved
how can I change Qt install path after I building it ?
Example : qmake.exe search binaries to original install path, how can I change/redefine it ?
Thanks.
Edit : I finally found this patch to a...
Ailssa asked 25/5, 2010 at 15:1
3
Solved
In qmake based projects, it's possible to include OTHER_FILES to use them in QtCreator, e.g.
QT += core gui widgets
TARGET = example-program
TEMPLATE = app
HEADERS = mainwindow.h
SOURCES = main.c...
Lutestring asked 2/5, 2018 at 12:59
3
Solved
I have a .pro file on my project, but now I want to port it to a CMakeLists.txt file. How can I do this?
QT += core
QT -= gui
CONFIG += c++11
TARGET = test
CONFIG += console
CONFIG -= app_bundle
...
8
Solved
I'm using qmake and Visual Studio. In release build qmake adds /GL and /O2 flags to all projects, and I need to remove those two flags for certain libraries within my whole Qt project. Is there a w...
Equate asked 23/11, 2011 at 11:40
2
Solved
I am using a Qt .pro file using the SUBDIRS template (mainly following this answer).
Furthermore I am building my solution using qmake -recursive MyProject.pro and nmake Release.
Now I want to s...
1 Next >
© 2022 - 2025 — McMap. All rights reserved.