Results 1 to 2 of 2

Thread: First time with QT: error: QQmlApplicationEngine: No such file or directory

  1. #1
    Join Date
    Dec 2018
    Location
    Peterborough, Ontario, Canada
    Posts
    1
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default First time with QT: error: QQmlApplicationEngine: No such file or directory

    Hi there everyone. I am new here.

    I am using a Raspberry Pi 3 B+ with the Raspbian Stretch version of Linux. I will be using QT 5.7.1. I am starting up a simple blank GUI application. I get the following issue:

    /home/pi/QTProgramming/QT_Test02/main.cpp:2: error: QQmlApplicationEngine: No such file or directory

    The red underlined portion of the main.cpp file is #include <QQmlApplicationEngine>

    I have searched for this error many times on the Google search engine and came up with no solution. It is probably because I just don't now this application yet. Please let me know what I can do to get past this.


    - daverzx1 ( Dave )

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: First time with QT: error: QQmlApplicationEngine: No such file or directory

    Quote Originally Posted by daverzx1 View Post
    /home/pi/QTProgramming/QT_Test02/main.cpp:2: error: QQmlApplicationEngine: No such file or directory
    Does your QMake PRO file contain this?
    Qt Code:
    1. QT += qml
    To copy to clipboard, switch view to plain text mode 
    In recent documentation every class has this information at the top of its page: QQmlApplicationEngine

Similar Threads

  1. No such file or directory error on Non QT Project
    By franbogaz in forum Qt Programming
    Replies: 3
    Last Post: 29th November 2016, 22:54
  2. Replies: 1
    Last Post: 8th October 2015, 16:27
  3. Replies: 3
    Last Post: 12th March 2015, 21:06
  4. QLocalSocket error: no such file or directory
    By foreball in forum Qt Programming
    Replies: 2
    Last Post: 17th May 2013, 14:17
  5. Replies: 4
    Last Post: 9th May 2010, 17:18

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.