Problem in QT Quick Test for QML application

I have a problem in QT Quick Test for QML application, when I add import in my file.qml like:

import QtQuick 2.3
import QtTest 1.0
import ValueField 1.0 <---
import "../myFile.qml" <---
TestCase{
myFile{
id:
}
}: 

When I execute my project, I have this problem:

module "ValueField" is not installed

1 Answer

There's no Ubuntu packages in the repositories providing ValueField.qml.

I'd just remove the import ValueField 1.0 line in your test file.

4

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like