logo
down
shadow

qmake match linux and mac separatly


qmake match linux and mac separatly

By : Kevin
Date : December 05 2020, 12:22 PM
help you fix your problem You can use the colon : to take a product (logical-and) of multiple conditions, some of which may be negated:
code :
unix:!mac {
  ...
}


Share : facebook icon twitter icon
which suits linux ? GNU make vs cmake vs codeblocks vs qmake

which suits linux ? GNU make vs cmake vs codeblocks vs qmake


By : user2415292
Date : March 29 2020, 07:55 AM
this will help CMake generates platform specific make files. So on Linux, it wil generate files for gnu make, on windows it can generate Visual Studio solutions.
There are some other good options to consider like scons and waf, they are both Python based, cross platform, and are much more pleasant to work with than GNU Make.
qmake -query internal settings in Linux - where are they?

qmake -query internal settings in Linux - where are they?


By : user3639028
Date : March 29 2020, 07:55 AM
will be helpful for those in need At configure time these paths are hardcoded in 'src/corelib/global/qconfig.cpp', and end up hardcoded into qmake when it is built. They are also hardcoded into many other files, like all the .la and .pc files, not to mention the Makefile install rules.
The only way to fix this is to figure out why configure keeps screwing up the prefix. configure is a big shell script, so it's easy to see where $QT_INSTALL_PREFIX is assigned from the '-prefix' argument, and then the different checks that are done on it (like running it through 'config.tests/unix/makeabs'). Try putting print statements before/after $QT_INSTALL_PREFIX is changed, and you should be able to find out where the path gets screwed up.
qmake using incorrect paths to Qt installation on linux

qmake using incorrect paths to Qt installation on linux


By : user3830856
Date : March 29 2020, 07:55 AM
this will help I compiled qt (qt-everywhere-opensource-src-4.7.4) using: , You can change that value with:
code :
# qmake -set VARIABLE VALUE
# qmake -set QT_INSTALL_PREFIX /edrive/local/qt
/edrive/local/qt/bin/qmake -query "QT_INSTALL_PREFIX"
Qmake - doesn't copy file in linux

Qmake - doesn't copy file in linux


By : empirical-irony
Date : March 29 2020, 07:55 AM
it helps some times The project which does not work is of TEMPLATE type "aux", which is used when no compiler and no linker is involved. Thus the link command is empty.
Looks like QMAKE_POST_LINK is written only if there is a link command.
code :
####### Build rules

$(TARGET):  $(OBJECTS)  
    @test -d ../../bin/ || mkdir -p ../../bin/
    $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)

Makefile: ../../projects/app_sandbox/app_sandbox.pro ../../../Qt/5.4/gcc_64/mkspecs/linux-g++/qmake.conf ../../../Qt/5.4/gcc_64/mkspecs/features/spec_pre.prf \
####### Build rules

$(TARGET): /home/simon/nobackup/app_sandbox/projects/Design/Controls/qmldir /home/simon/nobackup/app_sandbox/projects/Design/Controls/TreeView.qml $(OBJECTS)  


Makefile: ../../../projects/Design/Controls/Controls.pro ../../../../Qt/5.4/gcc_64/mkspecs/linux-g++/qmake.conf ../../../../Qt/5.4/gcc_64/mkspecs/features/spec_pre.prf \
building with qmake on Linux - how to prevent qmake from linking to QtCore and QtGui

building with qmake on Linux - how to prevent qmake from linking to QtCore and QtGui


By : Gabriel Grau
Date : March 29 2020, 07:55 AM
Any of those help I have a shared library (with no QT dependency) [library B] that links to another shared library (with no QT dependence as well) [library A]. , Put CONFIG -= qt in your .pro file.
Related Posts Related Posts :
  • Permission denied after visudo nopasswd set for port command
  • Unable to add default root no such device error in linux
  • grep with star symbol
  • Why is Plex Media Server not working for me on Ubuntu 16?
  • gcc: what's the difference between "-g" and "-ggdb"?
  • what does the number mean that prefix package name?
  • Cannot pass parameters to slaves with distributed JMeter setup with Maven and linux
  • Memory used by compiling a code
  • sudo: effective uid is not 0, is sudo installed setuid root? (on mac os x 10.12)
  • can linux run without an RTC present on an embedded platform?
  • What is the difference between nonpreemptive and preemptive kernels, when switching to user mode?
  • Customize SHELL in Makefile (set SHELL=my_shell.sh)
  • Storing awk manipulation in variable
  • What is the difference between a block of data and a page?
  • Simulate network latency on specific port using tc
  • How can I record that sound going out of my speakers (not what's coming into the mic)?
  • git clone GnuTLS recv error (-9): A TLS packet with unexpected length was received
  • Script does not execute simultaneously in Linux
  • Dirty CoW mitigation on CentOS 7.2 - semantic error: while resolving probe point
  • Dialog: Show menu after option has been executed
  • How permanently kill dockerd?
  • URL breaking of at space in my shell script
  • Can't mount flash drive
  • How to tell compiler to pad a specific amount of bytes on every C function?
  • Transfer files between raspberry pi and Multiple Linux OS computers?
  • How would I disable accounts that have been inactive for 90 days in Linux?
  • grep search with regex
  • Rename files with spaces to underscore in all subcategories
  • Is there a way to have a.out loaded in linux x86_64 "high memory"?
  • AWK / Linux script calculations from a text file
  • Raspbian (jessie) open new terminal window
  • When typing 'ls' command I get 'zsh: command not found: gls'
  • Centos 6.8 - Updates repo issues
  • Parse string using shell
  • execute one command in all open tabs in a terminal
  • Restoring terminal settings (termios) in signal handler
  • How is Stack memory allocated when using 'push' or 'sub' x86 instructions?
  • rsyncing git project folder
  • mimic linux grep -w in perl grep
  • Send Email If Filename Exists
  • How to create GUI in dotnet core in Linux?
  • Curl and check for 403 error code
  • (Bash) How to monitor file changes within a directory (Creation, Deletion, Renaming)
  • Counting the same lines from output
  • Why start a background process from a subshell / why parens in (someCommand &)?
  • Ideal puppet repository for centos 7 distribution
  • How to debug an upstart script that intermittently fails?
  • i want read another kernel when an error occurs
  • Unable to disasembly my app -- no debugging information found
  • How to use "tee" with "source" command in Linux?
  • Qt 5.5 not binding to port
  • rhash -M argument not working in zsh on macOS
  • How to manually download, compile and install the tiff5 library on ubuntu 16.04 without root permissions?
  • shadow
    Privacy Policy - Terms - Contact Us © soohba.com