Project ERROR: Unknown module(s) in QT: bluetooth

xiaoxiao2021-02-28  69

up vote 2 down vote favorite

I’ve just try to run my program, which use bluetooth and bluetooth modues. The program runs on Linux it gives an error:

Project ERROR: Unknown module(s) in QT: bluetooth

Can anybody help me, please? I tried to fix it for about a day, but i really do not know what to do.

(with QT creator 3.2.1 based on QT 5.3.1)

c++ qt bluetooth share improve this question edited Sep 1 '14 at 7:04 asked Sep 1 '14 at 6:52 Alper Tolga Gündüz Ay 23 6     Hi, did you add in your project file QT += bluetooth ? –  Martin Sep 1 '14 at 6:56   Yes. When I add "QT += core gui network xml bluetooth", it gives this error. –  Alper Tolga Gündüz Ay Sep 1 '14 at 7:03   can someone help me??? –  Alper Tolga Gündüz Ay Sep 1 '14 at 7:27   @AlperTolgaGündüzAy, on which operating system are you? –  vahancho Sep 1 '14 at 7:31   Linux Ubuntu 14.04 LTS –  Alper Tolga Gündüz Ay Sep 1 '14 at 7:54 add a comment

1 Answer

active oldest votes up vote 6 down vote accepted

You should install qtconnectivity5-dev

share improve this answer answered Sep 1 '14 at 8:10 trivelt 825 2 9 25     yes, but how can i install qtconnectivity5-dev to my project? –  Alper Tolga Gündüz Ay Sep 1 '14 at 8:25   apt-get install qtconnectivity5-dev. Its installed. Thank you. –  Alper Tolga Gündüz Ay Sep 1 '14 at 8:31 add a comment
转载请注明原文地址: https://www.6miu.com/read-68844.html

最新回复(0)