Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. 64bit apps using Qt
Forum Updated to NodeBB v4.3 + New Features

64bit apps using Qt

Scheduled Pinned Locked Moved General and Desktop
5 Posts 3 Posters 1.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    ArbolOne
    wrote on last edited by
    #1

    I would also know if there is a way to produce 64bit apps using Qt Creator.
    TIA

    This is not the first time you've been here, at the end you've always lost. You create viruses and we the cure, and in this battle you've always lost.

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Yes, just use a 64 bit compiler.

      (Z(:^

      1 Reply Last reply
      0
      • A Offline
        A Offline
        ArbolOne
        wrote on last edited by
        #3

        I added
        CONFIG += m64
        to my .pro file, but I am not sure if the compiler is actually producing 64bit executable. Is there a way to check if the application is a 64 or 32 bit?
        I know this has nothing to do with Qt, but if you kids don't know the answer to this question, chances are no one else does.

        TIA!!

        This is not the first time you've been here, at the end you've always lost. You create viruses and we the cure, and in this battle you've always lost.

        1 Reply Last reply
        0
        • A Offline
          A Offline
          ArbolOne
          wrote on last edited by
          #4

          I forgot to add the compiler output:
          21:24:04: Running steps for project guiTest...
          21:24:04: Configuration unchanged, skipping qmake step.
          21:24:04: Starting: "C:\Qt\Qt5.1.1\Tools\mingw48_32\bin\mingw32-make.exe"
          C:/Qt/Qt5.1.1/Tools/mingw48_32/bin/mingw32-make -f Makefile.Release
          mingw32-make[1]: Entering directory 'D:/Documents/dev/qt/build-guiTest-Desktop_Qt_5_1_1_MinGW_32bit-Release'
          g++ -c -pipe -fno-keep-inline-dllexport -O2 -std=c++0x -frtti -Wall -Wextra -fmyClass1s -mthreads -DUNICODE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I../../Qt/guiTest -I'../../../../Dev/c++/C++/abc/myClass1' -I'../../../../Dev/c++/C++/abc/gui/qt/msg' -I'../../../../Dev/c++/C++/abc/strtools' -I'C:/Qt/Qt5.1.1/5.1.1/mingw48_32/include' -I'C:/Qt/Qt5.1.1/5.1.1/mingw48_32/include/QtWidgets' -I'C:/Qt/Qt5.1.1/5.1.1/mingw48_32/include/QtGui' -I'C:/Qt/Qt5.1.1/5.1.1/mingw48_32/include/QtCore' -I'release' -I'.' -I'.' -I'C:/Qt/Qt5.1.1/5.1.1/mingw48_32/mkspecs/win32-g++' -o release/main.o ../../Qt/guiTest/main.cpp
          g++ -Wl,-s -Wl,-subsystem,windows -mthreads -o release/guiTest.exe release/main.o release/mainwindow.o release/myClass1.o release/strtools.o release/uimyClass1.o release/moc_mainwindow.o -lglu32 -lopengl32 -lgdi32 -luser32 -lmingw32 -lqtmain -LC:\Qt\Qt5.1.1\5.1.1\mingw48_32\lib -lQt5Widgets -lQt5Gui -lQt5Core
          mingw32-make[1]: Leaving directory 'D:/Documents/dev/qt/build-guiTest-Desktop_Qt_5_1_1_MinGW_32bit-Release'
          21:24:09: The process "C:\Qt\Qt5.1.1\Tools\mingw48_32\bin\mingw32-make.exe" exited normally.
          21:24:09: Elapsed time: 00:05.

          This is not the first time you've been here, at the end you've always lost. You create viruses and we the cure, and in this battle you've always lost.

          1 Reply Last reply
          0
          • JKSHJ Offline
            JKSHJ Offline
            JKSH
            Moderators
            wrote on last edited by
            #5

            [quote]C:\Qt\Qt5.1.1\Tools\mingw48_32[/quote]That's 32-bit MinGW. A 32-bit compiler will only produce 32-bit apps.

            You'll need to download a 64-bit compiler and a 64-bit version of the Qt libraries.

            Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved