c++ - How Do I Configure Qmake for Cross Compilation? -


what have done far create 2 makefiles: project makefile , package makefile.the project makefile was,however, created using qmake. when compile package, x86-64 binary means makefile not cross compiling. how can fix this?

here's part believe source of problem:

cc            = gcc cxx           = g++ defines       = -dqt_no_debug -dqt_core_lib -dqt_shared cflags        = -m64 -pipe -o2 -wall -w -d_reentrant $(defines) cxxflags      = -m64 -pipe -o2 -wall -w -d_reentrant $(defines) incpath       = -i/usr/share/qt4/mkspecs/linux-g++-64 -i. -i/usr/include/qt4/qtcore -i/usr/include/qt4 -i. link          = g++ lflags        = -m64 -wl,-o1 libs          = $(sublibs)  -l/usr/lib/x86_64-linux-gnu -lcrypto -lssl -lqtcore -lpthread  ar            = ar cqs ranlib        =  qmake         = /usr/lib/x86_64-linux-gnu/qt4/bin/qmake tar           = tar -cf compress      = gzip -9f copy          = cp -f sed           = sed copy_file     = $(copy) copy_dir      = $(copy) -r strip         = strip install_file  = install -m 644 -p install_dir   = $(copy_dir) install_program = install -m 755 -p del_file      = rm -f symlink       = ln -f -s del_dir       = rmdir move          = mv -f chk_dir_exists= test -d mkdir         = mkdir -p 

i changed first line "cc = gcc" "cc ?=gcc" didn't fix problem.


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -