Skip to content

Qt Creator and other tools

Have a question about Qt Creator, our cross-platform IDE, or any of the other tools? Ask here!
7.6k Topics 35.3k Posts
  • vc redist files not found?

    Solved
    5
    0 Votes
    5 Posts
    1k Views
    D
    the above reply seems to be the answer, thanks!
  • Where to download the QT SDK?

    Unsolved
    2
    0 Votes
    2 Posts
    585 Views
    ?
    Hi! Please go to https://www.qt.io/download/. Qt does no longer belong to Nokia.
  • Linguist (lupdate Project Error)

    Moved Solved
    12
    0 Votes
    12 Posts
    13k Views
    L
    After try these solutions, it doesn't work for me. However I've changed the project from Android to Desktop and it works, so it's something related with the type project. I've opened an error bug: https://bugreports.qt.io/browse/QTCREATORBUG-18726
  • how to use expressions in debugger?

    Unsolved
    12
    0 Votes
    12 Posts
    5k Views
    mrjjM
    @davecotter Hi Been here for some years now. You are the first poster I saw about a custom debug script. I never tried myself and i have zero experience with macs and the dylib system. But since Creator itself utilizing such scripts, it does seem to work regardless of this case's issues.
  • can i specify a pre_build step in my .pro file?

    Solved
    19
    0 Votes
    19 Posts
    7k Views
    aha_1980A
    (Of course that is no official solution, but most likely will work nicely)
  • Photoshop question about locking the application when running Qt

    Unsolved
    1
    0 Votes
    1 Posts
    317 Views
    No one has replied
  • Qt Creator automatically creates a "Run configuration" that i don't and will never want

    Unsolved
    17
    0 Votes
    17 Posts
    4k Views
    D
    but it's not a "Custom Executable", which i require. it's literally useless clutter.
  • add path to PYTHON_PATH before calling script?

    Solved
    3
    0 Votes
    3 Posts
    2k Views
    D
    that might work! what i ended up doing was making a python file called "include.py", which looks like this: import os, sys def get_script_path_local(fileStr): scriptPath = fileStr if scriptPath.find(os.sep) == -1: scriptPath = os.getcwd() + os.sep + scriptPath return scriptPath def get_script_folder_local(): scriptFile = os.path.abspath(__file__) #debug_print("__file__: " + scriptFile) pathStr = get_script_path_local(scriptFile) #debug_print("script file: " + pathStr) pathStr = os.path.dirname(pathStr) #debug_print("script folder: " + pathStr) return os.path.abspath(pathStr) + '/' sys.path.append(os.path.abspath( \ get_script_folder_local() + "../../../..") \ + '/CF/python/') then in the python file(s) that i must run, just do this: import include and BOOM, i can subsequently import from that other python folder
  • QMAKE_POST_LINK failures don't re-try on the next build?

    Solved
    10
    0 Votes
    10 Posts
    3k Views
    D
    what i did was make a new build step, reordered it to come FIRST, which just deletes the .exe (or .app). that way, the app is ALWAYS linked, and ALWAYS runs the post link step
  • qmake: plat specific files show up in wrong platform?

    Solved
    5
    0 Votes
    5 Posts
    1k Views
    D
    seems like this is by design
  • modifying non-simple data types in Creator debugger

    Solved
    5
    0 Votes
    5 Posts
    1k Views
    mzimmersM
    Thank you for taking the trouble to get this resolved. Currently Creator 4.4 is a bit buggy for my uses (didn't auto-detect my desktop kit), so I'll probably wait for it to settle down a bit, but I do appreciate your work on this.
  • Internationalization with Qt VS Tools

    Solved
    5
    0 Votes
    5 Posts
    2k Views
    Pablo J. RoginaP
    @wasawi Glad you have solved your issue, and that you have replied with a good summary of applicable links, not a lot of people does that once their problem is gone. Please don't forget to mark the post as solved. Thanks.
  • Debugger fails to launch, no reason given?

    Solved
    3
    0 Votes
    3 Posts
    2k Views
    D
    wow, wow, wow, thank you so much! that's what i needed! JOY!
  • OpeningQt files in Visual Studio 2015

    Unsolved
    4
    0 Votes
    4 Posts
    1k Views
    sierdzioS
    @lucian123456789 said in OpeningQt files in Visual Studio 2015: I want to ask one more question : If i made the codes in window Qt creator, Can I still use the same code in Linux or Mac OS X Qt creator? Yes, Qt is a cross-platform framework. The same Qt code will work on all supported platforms.
  • Custom widget in Qt designer

    Unsolved qt designer custom widget
    2
    0 Votes
    2 Posts
    1k Views
    Pablo J. RoginaP
    @Ilan My question is what method of the widget does the Qt designer use for showing If you mean Qt Designer showing your custom widget in the toolbox along default widgets (i.e. QLabel, QLineEdit, etc.) I guess you may need to create a plugin for Qt Designer from your custom widget. Qt Designer used a plugin based approach, see here.
  • How to use Qt Creator's Debugger plugin to read memory directly?

    Unsolved qtcreator plugin
    1
    0 Votes
    1 Posts
    698 Views
    No one has replied
  • Home & End keyboard shortcut actions?

    Unsolved
    5
    0 Votes
    5 Posts
    1k Views
    SGaistS
    Except that Home and End are not shortcuts. You have to change that at the system level. I've seen an application for that named karabiner.
  • Using "build settings" (configuration? target?) to set DEFINEs doesn't work?

    Solved
    4
    0 Votes
    4 Posts
    1k Views
    D
    okay so "contains" is not a substring containment test. the test must be for the entire text of the variable. so this worked: if (contains(TARGET, "kJams Lite Debug") | contains(TARGET, "kJams Lite")) { message("KJAMS_PRO NOT set :(") } else { message("KJAMS_PRO SET! :)") DEFINES += KJAMS_PRO }
  • Problem with Visual Studio 2017 add-in and Qt 5.9.1

    Unsolved
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • QJsonObject: No such file or directory

    Unsolved
    2
    0 Votes
    2 Posts
    4k Views
    sierdzioS
    When NSJsonConvert is being compiled, the compiled does not have QJsonObject header included. Do you build using qmake? Can we see the .pro file?