Qt World Summit: Submit your Presentation

How to add the input path to QML editor and link it with a function?

  • Im doing a seminar for my oop class. The task is to make a Qt GUI program that can import and export a csv file. I cant find anywhere how to make the file selection e.g. when you select where to install something. If anybody could help, I'd be grateful.

    Thanks in advance

  • @ginca420
    Your title includes "QML", but you have posted in General and Desktop and you talk about "a Qt GUI program". So I'm mot sure if you are QML or widgets.

    But if you are widgets see QFileDialog Class for methods which prompt the user to choose file names/directories for opening/saving.

  • Exactly what I was looking for, thank you man!!

Log in to reply